Skip to content

Commit

Permalink
typo fix: LIBCRYTO_VERSION -> LIBCRYPTO_VERSION
Browse files Browse the repository at this point in the history
Signed-off-by: Balazs Nadasdi <[email protected]>
  • Loading branch information
yitsushi committed Oct 11, 2023
1 parent 39c4f77 commit bd7c54c
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

env:
CONTROLLER: ${{ github.event.repository.name }}
LIBCRYTO_VERSION: "3.1.3-r0"
LIBCRYPTO_VERSION: "3.1.3-r0"

jobs:
test:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
context: .
file: ./Dockerfile
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v7
tags: |
ghcr.io/weaveworks/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
Expand All @@ -93,7 +93,7 @@ jobs:
context: .
file: ./runner-base.Dockerfile
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v7
tags: |
ghcr.io/weaveworks/tf-runner:${{ steps.prep.outputs.VERSION }}-base
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
file: ./planner.Dockerfile
platforms: linux/amd64,linux/arm64 #,linux/arm/v7
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
tags: |
ghcr.io/weaveworks/branch-planner:${{ steps.prep.outputs.VERSION }}
labels: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-runners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions:
env:
VERSION: ${{ github.event.inputs.version }}
BUILD_DATE: ${{ github.event.inputs.build_date }}
LIBCRYTO_VERSION: "3.1.3-r0"
LIBCRYPTO_VERSION: "3.1.3-r0"

jobs:
release-base:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
context: .
file: ./runner-base.Dockerfile
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v7
tags: |
ghcr.io/weaveworks/tf-runner:${{ env.VERSION }}-base
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
build-args: |
BASE_IMAGE=ghcr.io/weaveworks/tf-runner:${{ env.VERSION }}-base
TF_VERSION=${{ matrix.tf_version }}
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
tags: |
ghcr.io/weaveworks/tf-runner:${{ env.VERSION }}-tf-${{ matrix.tf_version }}
labels: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

permissions:
contents: read # for actions/checkout to fetch code
LIBCRYTO_VERSION: "3.1.3-r0"
LIBCRYPTO_VERSION: "3.1.3-r0"

env:
CONTROLLER: ${{ github.event.repository.name }}
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
context: .
file: ./Dockerfile
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v7
tags: |
ghcr.io/weaveworks/${{ env.CONTROLLER }}:${{ steps.prep.outputs.VERSION }}
Expand All @@ -90,7 +90,7 @@ jobs:
context: .
file: ./runner-base.Dockerfile
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v7
tags: |
ghcr.io/weaveworks/tf-runner:${{ steps.prep.outputs.VERSION }}-base
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
context: .
file: ./planner.Dockerfile
build-args: |
LIBCRYTO_VERSION=${{ env.LIBCRYTO_VERSION }}
LIBCRYPTO_VERSION=${{ env.LIBCRYPTO_VERSION }}
platforms: linux/amd64,linux/arm64 #,linux/arm/v7 - azure-cli does not install correctly on 32 bit arm
tags: |
ghcr.io/weaveworks/branch-planner:${{ steps.prep.outputs.VERSION }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ FROM alpine:3.18

LABEL org.opencontainers.image.source="https://github.com/weaveworks/tf-controller"

ARG LIBCRYTO_VERSION
ARG LIBCRYPTO_VERSION

RUN apk update && \
apk add --no-cache \
libcrypto3=${LIBCRYTO_VERSION} \
libssl3=${LIBCRYTO_VERSION} \
libcrypto3=${LIBCRYPTO_VERSION} \
libssl3=${LIBCRYPTO_VERSION} \
ca-certificates tini git openssh-client gnupg \
libretls \
busybox
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BUILD_VERSION ?= $(shell git describe --tags $$(git rev-list --tags --max-count=
# - .github/workflows/release-runners.yaml
# - .github/workflows/release.yaml
# - Tiltfile
LIBCRYTO_VERSION ?= 3.1.3-r0
LIBCRYPTO_VERSION ?= 3.1.3-r0

# source controller version
SOURCE_VER ?= v1.0.0-rc.1
Expand Down Expand Up @@ -146,19 +146,19 @@ run-planner: manifests generate fmt vet ## Run a branch planner from your host.

.PHONY: docker-build
docker-build: ## Build docker
docker build -t ${MANAGER_IMG}:${TAG} --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker build -t ${RUNNER_IMG}:${TAG}-base -f runner-base.Dockerfile --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker build -t ${MANAGER_IMG}:${TAG} --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .
docker build -t ${RUNNER_IMG}:${TAG}-base -f runner-base.Dockerfile --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .
docker build -t ${RUNNER_IMG}:${TAG} -f runner.Dockerfile --build-arg BASE_IMAGE=${RUNNER_IMG}:${TAG}-base ${BUILD_ARGS} .
docker build -t ${RUNNER_AZURE_IMAGE}:${TAG} -f runner-azure.Dockerfile --build-arg BASE_IMAGE=${RUNNER_IMG}:${TAG}-base ${BUILD_ARGS} .
docker build -t ${BRANCH_PLANNER_IMAGE}:${TAG} -f planner.Dockerfile --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker build -t ${BRANCH_PLANNER_IMAGE}:${TAG} -f planner.Dockerfile --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .

.PHONY: docker-buildx
docker-buildx: ## Build docker
docker buildx build --load -t ${MANAGER_IMG}:${TAG} --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${RUNNER_IMG}:${TAG}-base -f runner-base.Dockerfile --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${MANAGER_IMG}:${TAG} --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${RUNNER_IMG}:${TAG}-base -f runner-base.Dockerfile --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${RUNNER_IMG}:${TAG} -f runner.Dockerfile --build-arg BASE_IMAGE=${RUNNER_IMG}:${TAG}-base ${BUILD_ARGS} .
docker buildx build --load -t ${RUNNER_AZURE_IMAGE}:${TAG} -f runner-azure.Dockerfile --build-arg BASE_IMAGE=${RUNNER_IMG}:${TAG}-base ${BUILD_ARGS} .
docker buildx build --load -t ${BRANCH_PLANNER_IMAGE}:${TAG} -f planner.Dockerfile --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${BRANCH_PLANNER_IMAGE}:${TAG} -f planner.Dockerfile --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .

.PHONY: docker-push
docker-push: ## Push docker image with the manager.
Expand All @@ -169,7 +169,7 @@ docker-push: ## Push docker image with the manager.
docker push ${BRANCH_PLANNER_IMAGE}:${TAG}

docker-dev-runner:
docker buildx build --load -t ${RUNNER_IMG}:${TAG}-base -f runner-base.Dockerfile --build-arg LIBCRYTO_VERSION=${LIBCRYTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${RUNNER_IMG}:${TAG}-base -f runner-base.Dockerfile --build-arg LIBCRYPTO_VERSION=${LIBCRYPTO_VERSION} ${BUILD_ARGS} .
docker buildx build --load -t ${RUNNER_IMG}:${TAG} -f runner.Dockerfile --build-arg BASE_IMAGE=${RUNNER_IMG}:${TAG}-base ${BUILD_ARGS} .
docker push ${RUNNER_IMG}:${TAG}

Expand Down
8 changes: 4 additions & 4 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tfNamespace = "terraform"
buildSHA = str(local('git rev-parse --short HEAD')).rstrip('\n')
buildVersionRef = str(local('git rev-list --tags --max-count=1')).rstrip('\n')
buildVersion = str(local("git describe --tags ${buildVersionRef}")).rstrip('\n')
LIBCRYTO_VERSION = "3.1.3-r0"
LIBCRYPTO_VERSION = "3.1.3-r0"

if os.path.exists('Tiltfile.local'):
include('Tiltfile.local')
Expand Down Expand Up @@ -66,7 +66,7 @@ docker_build(
build_args={
'BUILD_SHA': buildSHA,
'BUILD_VERSION': buildVersion,
'LIBCRYTO_VERSION': LIBCRYTO_VERSION,
'LIBCRYPTO_VERSION': LIBCRYPTO_VERSION,
})

docker_build(
Expand All @@ -76,7 +76,7 @@ docker_build(
build_args={
'BUILD_SHA': buildSHA,
'BUILD_VERSION': buildVersion,
'LIBCRYTO_VERSION': LIBCRYTO_VERSION,
'LIBCRYPTO_VERSION': LIBCRYPTO_VERSION,
})

# There are no resources using this image when tilt starts, but we still need
Expand All @@ -89,5 +89,5 @@ docker_build(
build_args={
'BUILD_SHA': buildSHA,
'BUILD_VERSION': buildVersion,
'LIBCRYTO_VERSION': LIBCRYTO_VERSION,
'LIBCRYPTO_VERSION': LIBCRYPTO_VERSION,
})
6 changes: 3 additions & 3 deletions planner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ FROM alpine:3.18

LABEL org.opencontainers.image.source="https://github.com/weaveworks/tf-controller"

ARG LIBCRYTO_VERSION
ARG LIBCRYPTO_VERSION

RUN apk update && \
apk add --no-cache \
libcrypto3=${LIBCRYTO_VERSION} \
libssl3=${LIBCRYTO_VERSION} \
libcrypto3=${LIBCRYPTO_VERSION} \
libssl3=${LIBCRYPTO_VERSION} \
ca-certificates tini git openssh-client gnupg \
libretls \
busybox
Expand Down
6 changes: 3 additions & 3 deletions runner-base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ FROM alpine:3.18

LABEL org.opencontainers.image.source="https://github.com/weaveworks/tf-controller"

ARG LIBCRYTO_VERSION
ARG LIBCRYPTO_VERSION

RUN apk update && \
apk add --no-cache \
busybox \
ca-certificates \
git \
gnupg \
libcrypto3=${LIBCRYTO_VERSION} \
libssl3=${LIBCRYTO_VERSION} \
libcrypto3=${LIBCRYPTO_VERSION} \
libssl3=${LIBCRYPTO_VERSION} \
libretls \
openssh-client \
tini
Expand Down

0 comments on commit bd7c54c

Please sign in to comment.