Skip to content

Commit

Permalink
Remove latest capi from being deployed
Browse files Browse the repository at this point in the history
- the latest capi being deployed was from the capi job [create-capi-release](https://ci.capi.land/teams/main/pipelines/capi/jobs/create-capi-release/builds/1531) which is untested
- this has previously led to issues where the capi version was failing
- this change will just use whatever is in cf-d as that is the capi that has been tested and passing
  • Loading branch information
moleske committed Feb 2, 2024
1 parent 9125cc1 commit a61e160
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/tests-integration-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,14 @@ jobs:
env:
CF_INT_CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
run: |
# find latest capi
FILENAME="$(aws s3 ls capi-releases-app-runtime-interfaces --no-sign-request --recursive --region us-east-1 | sort | tail -n 1 | awk '{print $4}')"
aws s3 cp s3://capi-releases-app-runtime-interfaces/$FILENAME $FILENAME --no-sign-request --region us-east-1 --no-progress
eval "$(bbl print-env --metadata-file metadata.json)"
bosh upload-release --sha2 "$FILENAME"
rm $FILENAME
# deploy
bosh -d cf manifest > /tmp/manifest.yml
bosh interpolate /tmp/manifest.yml \
-o cf-deployment/operations/add-persistent-isolation-segment-diego-cell.yml \
-o cli-ci/ci/infrastructure/operations/add-oidc-provider.yml \
-o cli-ci/ci/infrastructure/operations/add-uaa-client-credentials.yml \
-o cli-ci/ci/infrastructure/operations/use-latest-capi.yml \
-o cli-ci/ci/infrastructure/operations/diego-cell-instances.yml \
-v client-secret="${CF_INT_CLIENT_SECRET}" \
> ./director.yml
Expand Down

0 comments on commit a61e160

Please sign in to comment.