Skip to content

Commit

Permalink
Use latest CAPI (#3028)
Browse files Browse the repository at this point in the history
  • Loading branch information
gururajsh authored Jul 16, 2024
1 parent 416fcb1 commit df3d91c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/tests-integration-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,17 @@ jobs:
apt-get update
apt-get install -y build-essential
- name: Upload latest CAPI release
if: ${{ inputs.capi-version == 'edge' }}
run: |
capi_release_version=$(curl -s https://api.github.com/repos/cloudfoundry/capi-release/releases/latest | jq -r .tag_name)
echo "Latest CAPI release is $capi_release_version"
eval "$(bbl print-env --metadata-file metadata.json)"
env_name=$(jq -r .name metadata.json)
jq -r .bosh.jumpbox_private_key metadata.json > /tmp/${env_name}.priv
bosh upload-release "https://bosh.io/d/github.com/cloudfoundry/capi-release?v=$capi_release_version"
- name: Deploy Isolation Segment and OIDC Provider
if: ${{ inputs.capi-version == 'edge' }}
run: |
Expand All @@ -152,6 +163,7 @@ jobs:
bosh interpolate /tmp/manifest.yml \
-o .github/ops-files/use-cflinuxfs3.yml \
-o cf-deployment/operations/add-persistent-isolation-segment-diego-cell.yml \
-o cli-ci/ci/infrastructure/operations/use-latest-capi.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/diego-cell-instances.yml \
Expand Down
2 changes: 1 addition & 1 deletion integration/shared/isolated/error_handling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var _ = Describe("curl command", func() {
It("returns the expected request with verbose output", func() {
session := helpers.CF("curl", "-v", "/v2/banana")
Eventually(session).Should(Say("GET /v2/banana HTTP/1.1"))
Eventually(session).Should(Say(`"error_code": "CF-NotFound"`))
Eventually(session).Should(Say(`"error_code":"CF-NotFound"`))
Eventually(session).Should(Exit(0))
})
})
Expand Down

0 comments on commit df3d91c

Please sign in to comment.