Skip to content

Commit

Permalink
naming tf-controller to tofu-controller in CI pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ilithanos committed Mar 24, 2024
1 parent a87bfa8 commit 976cda8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish Helm OCI
run: |
VERSION=$(yq e '.version' charts/tf-controller/Chart.yaml)
VERSION=$(yq e '.version' charts/tofu-controller/Chart.yaml)
mkdir helm-release
helm package charts/tf-controller/ -d helm-release
helm push helm-release/tf-controller-${VERSION}.tgz oci://ghcr.io/flux-iac/charts
helm package charts/tofu-controller/ -d helm-release
helm push helm-release/tofu-controller-${VERSION}.tgz oci://ghcr.io/flux-iac/charts
8 changes: 4 additions & 4 deletions .github/workflows/helm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
- 'main'
paths:
- 'charts/tf-controller/**'
- 'charts/tofu-controller/**'
- '.github/workflows/helm-test.yaml'

permissions: read-all
Expand Down Expand Up @@ -55,9 +55,9 @@ jobs:
run: ct lint --check-version-increment=false --config ct.yaml
if: steps.list-changed.outputs.changed == 'true'

- name: Build the tf-controller container image
- name: Build the tofu-controller container image
run: |
make docker-buildx MANAGER_IMG=test/tf-controller RUNNER_IMG=test/tf-runner TAG=ct \
make docker-buildx MANAGER_IMG=test/tofu-controller RUNNER_IMG=test/tf-runner TAG=ct \
BUILD_ARGS="--load"
if: steps.list-changed.outputs.changed == 'true'

Expand All @@ -67,7 +67,7 @@ jobs:

- name: Load test images into KIND
run: |
kind load docker-image --name=chart-testing test/tf-controller:ct
kind load docker-image --name=chart-testing test/tofu-controller:ct
kind load docker-image --name=chart-testing test/tf-runner:ct
if: steps.list-changed.outputs.changed == 'true'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish multi-arch tf-controller container image
- name: Publish multi-arch tofu-controller container image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
push: true
Expand Down

0 comments on commit 976cda8

Please sign in to comment.