Skip to content

Commit

Permalink
Do not apply ops files to the existing lease
Browse files Browse the repository at this point in the history
  • Loading branch information
a-b committed Oct 18, 2024
1 parent ff61c04 commit 54af094
Showing 1 changed file with 11 additions and 26 deletions.
37 changes: 11 additions & 26 deletions .github/workflows/tests-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,6 @@ env:

jobs:

playground:
runs-on: ubuntu-latest
steps:
- run: |
echo Hi
echo $SHEPHERD_LEASE_ID
if [[ -z $SHEPHERD_LEASE_ID ]]; then
echo "true is empty $SHEPHERD_LEASE_ID "
else
echo "false $SHEPHERD_LEASE_ID "
fi
get-sha:
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -230,19 +216,18 @@ jobs:
jq -r .bosh.jumpbox_private_key metadata.json > /tmp/${env_name}.priv
eval "$(bbl print-env --metadata-file metadata.json)"
# deploy
bosh -d cf manifest > /tmp/manifest.yml
bosh interpolate /tmp/manifest.yml \
-o cf-deployment/operations/use-internal-lookup-for-route-services.yml \
-o cf-deployment/operations/add-persistent-isolation-segment-diego-cell.yml \
-o .github/ops-files/use-latest-capi.yml \
-o .github/ops-files/add-oidc-provider.yml \
-o .github/ops-files/add-uaa-client-credentials.yml \
-o .github/ops-files/diego-cell-instances.yml \
-v client-secret="${{ secrets.CLIENT_SECRET }}" \
> ./director.yml
if [[ -z $SHEPHERD_LEASE_ID ]]; then
bosh -d cf manifest > /tmp/manifest.yml
bosh interpolate /tmp/manifest.yml \
-o cf-deployment/operations/use-internal-lookup-for-route-services.yml \
-o cf-deployment/operations/add-persistent-isolation-segment-diego-cell.yml \
-o .github/ops-files/use-latest-capi.yml \
-o .github/ops-files/add-oidc-provider.yml \
-o .github/ops-files/add-uaa-client-credentials.yml \
-o .github/ops-files/diego-cell-instances.yml \
-v client-secret="${{ secrets.CLIENT_SECRET }}" \
> ./director.yml
bosh -d cf deploy director.yml -n
fi
echo "Deployed CAPI version:"
Expand Down

0 comments on commit 54af094

Please sign in to comment.