Skip to content

Commit

Permalink
chore(images): Remove -test and -deploy images (#2756)
Browse files Browse the repository at this point in the history
* chore(images): Remove `-test` and `-deploy` images

Both were already being phased out, and are longer needed, but required
double/triple-maintenance.

* fixup! chore(images): Remove `-test` and `-deploy` images
  • Loading branch information
silvestre authored Mar 13, 2024
1 parent 7245afa commit a474724
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 196 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
id-token: write
strategy:
matrix:
image_suffix: ["deploy", "test", "tools"]
name: Build and Push app-autoscaler-ci-${{ matrix.image_suffix }}
image_suffix: ["tools"]
name: Build and Push app-autoscaler-release-${{ matrix.image_suffix }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -52,14 +52,14 @@ jobs:
run: |
version=$(grep "ginkgo " .tool-versions| cut -f 2 -d " ")
echo "GINKGO version from .tool-versions: \'${version}\'"
echo "::set-output name=version::${version}"
echo "version=${version}" >> "$GITHUB_OUTPUT"
- id: get-golang-version
shell: bash
run: |
version=$(grep "golang " .tool-versions| cut -f 2 -d " ")
echo "Go version from .tool-versions: \'${version}\'"
echo "::set-output name=version::${version}"
echo "version=${version}" >> "$GITHUB_OUTPUT"
- name: Build and push
id: build-and-push
Expand Down
2 changes: 1 addition & 1 deletion ci/autoscaler/tasks/check-diego-cell-count.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

inputs:
Expand Down
2 changes: 1 addition & 1 deletion ci/autoscaler/tasks/cleanup-autoscaler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

params:
Expand Down
4 changes: 2 additions & 2 deletions ci/autoscaler/tasks/deploy-previous-autoscaler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

params:
# Optional: override the user to access bosh
BOSH_USERNAME: admin

# Optional: relative to the root of the release input. The files will be
# Optional: relative to the root of the release input. The files will be
# checked to see if they exist, if not they will be excluded from the list
OPS_FILES: |
example/operation/loggregator-certs-from-cf.yml
Expand Down
2 changes: 1 addition & 1 deletion ci/autoscaler/tasks/register-broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

params:
Expand Down
2 changes: 1 addition & 1 deletion ci/autoscaler/tasks/release-autoscaler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

params:
Expand Down
2 changes: 1 addition & 1 deletion ci/autoscaler/tasks/update-sdk/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

inputs:
Expand Down
104 changes: 0 additions & 104 deletions ci/dockerfiles/autoscaler-deploy/Dockerfile

This file was deleted.

78 changes: 0 additions & 78 deletions ci/dockerfiles/autoscaler-test/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion ci/infrastructure/tasks/check-for-existing-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

params:
Expand Down
2 changes: 1 addition & 1 deletion ci/infrastructure/tasks/combine-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main
inputs:
- name: cf-deployment
Expand Down
2 changes: 1 addition & 1 deletion ci/infrastructure/tasks/deploy-prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ platform: linux
image_resource:
type: registry-image
source:
repository: ghcr.io/cloudfoundry/app-autoscaler-release-deploy
repository: ghcr.io/cloudfoundry/app-autoscaler-release-tools
tag: main

params:
Expand Down

0 comments on commit a474724

Please sign in to comment.