Skip to content

Commit e3f4600

Browse files
moleskea-b
andauthored
Remove latest capi from being deployed (#2768)
* Remove latest capi from being deployed - 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 * Remove phrase edge capi Co-authored-by: Al Berez <[email protected]> --------- Co-authored-by: Al Berez <[email protected]>
1 parent 234371c commit e3f4600

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

.github/workflows/tests-integration-reusable.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,25 +141,19 @@ jobs:
141141
chmod +x $install_location/credhub
142142
credhub --version
143143
144-
- name: Deploy edge CAPI with Isolation Segment and OIDC Provider
144+
- name: Deploy Isolation Segment and OIDC Provider
145145
if: ${{ inputs.capi-version == 'edge' }}
146146
env:
147147
CF_INT_CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
148148
run: |
149-
# find latest capi
150-
FILENAME="$(aws s3 ls capi-releases-app-runtime-interfaces --no-sign-request --recursive --region us-east-1 | sort | tail -n 1 | awk '{print $4}')"
151-
aws s3 cp s3://capi-releases-app-runtime-interfaces/$FILENAME $FILENAME --no-sign-request --region us-east-1 --no-progress
152149
eval "$(bbl print-env --metadata-file metadata.json)"
153-
bosh upload-release --sha2 "$FILENAME"
154-
rm $FILENAME
155150
156151
# deploy
157152
bosh -d cf manifest > /tmp/manifest.yml
158153
bosh interpolate /tmp/manifest.yml \
159154
-o cf-deployment/operations/add-persistent-isolation-segment-diego-cell.yml \
160155
-o cli-ci/ci/infrastructure/operations/add-oidc-provider.yml \
161156
-o cli-ci/ci/infrastructure/operations/add-uaa-client-credentials.yml \
162-
-o cli-ci/ci/infrastructure/operations/use-latest-capi.yml \
163157
-o cli-ci/ci/infrastructure/operations/diego-cell-instances.yml \
164158
-v client-secret="${CF_INT_CLIENT_SECRET}" \
165159
> ./director.yml

.github/workflows/tests-integration.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ on:
1111
- completed
1212

1313
jobs:
14-
run-integration-tests-cf-env-with-edge-capi:
15-
name: Integration tests with EDGE CAPI
14+
run-integration-tests-cf-env:
15+
name: Integration tests
1616
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
1717
uses: ./.github/workflows/tests-integration-reusable.yml
1818
with:
1919
capi-version: edge
2020
run-with-client-creds: false
2121
os: ubuntu-latest
22-
name: Integration EDGE CAPI
22+
name: Integration
2323
secrets: inherit
2424

25-
run-integration-tests-cf-env-with-edge-capi-with-client-creds:
26-
name: EDGE CAPI and client creds
25+
run-integration-tests-cf-env-with-client-creds:
26+
name: client creds
2727
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
2828
uses: ./.github/workflows/tests-integration-reusable.yml
2929
with:
3030
capi-version: edge
3131
run-with-client-creds: true
3232
os: ubuntu-latest
33-
name: Integration EDGE CAPI client creds
33+
name: Integration client creds
3434
secrets: inherit
3535

3636
run-integration-tests-cf-env-with-min-capi:

0 commit comments

Comments
 (0)