|
81 | 81 | cp ${GITHUB_WORKSPACE}/cli/.github/bosh-lite-files/bosh-lite-dns.tf terraform/ |
82 | 82 | cp ${GITHUB_WORKSPACE}/cli/.github/bosh-lite-files/bosh-lite.tfvars vars/ |
83 | 83 | cp ${GITHUB_WORKSPACE}/cli/.github/ops-files/bosh-lite-vm-type.yml bosh-deployment/gcp/ |
| 84 | + cp ${GITHUB_WORKSPACE}/cli/.github/ops-files/director-inotify.yml bosh-deployment/gcp/ |
| 85 | + # Overwrite the plan-patch's stock create-director-override.sh with ours |
| 86 | + # (bbl runs *-override.sh in preference to the generated create-director.sh) |
| 87 | + # so the director gets director-inotify.yml during bosh create-env. |
| 88 | + cp ${GITHUB_WORKSPACE}/cli/.github/bosh-lite-files/create-director-override.sh create-director-override.sh |
| 89 | + chmod +x create-director-override.sh |
84 | 90 | bbl up |
85 | 91 |
|
86 | 92 | - name: Authenticate to Google Cloud |
@@ -131,7 +137,9 @@ jobs: |
131 | 137 | cd $env_name/bbl-state |
132 | 138 | eval "$(bbl print-env --shell-type posix)" |
133 | 139 |
|
134 | | - bosh update-runtime-config ${GITHUB_WORKSPACE}/bosh-deployment/runtime-configs/dns.yml --name dns |
| 140 | + bosh update-runtime-config ${GITHUB_WORKSPACE}/bosh-deployment/runtime-configs/dns.yml \ |
| 141 | + -o ${GITHUB_WORKSPACE}/cli/.github/ops-files/bosh-dns-noble-bosh-lite.yml \ |
| 142 | + --name dns |
135 | 143 | STEMCELL_VERSION=$(bosh interpolate ${GITHUB_WORKSPACE}/cf-deployment/cf-deployment.yml --path /stemcells/alias=default/version) |
136 | 144 | bosh upload-stemcell "https://bosh.io/d/stemcells/bosh-warden-boshlite-ubuntu-noble?v=${STEMCELL_VERSION}" |
137 | 145 | bosh update-cloud-config ${GITHUB_WORKSPACE}/cf-deployment/iaas-support/bosh-lite/cloud-config.yml |
@@ -167,7 +175,7 @@ jobs: |
167 | 175 | eval "$(bbl print-env --shell-type posix)" |
168 | 176 |
|
169 | 177 | echo "Deleting env ${env_name}" |
170 | | - bbl down --no-confirm --gcp-service-account-key=key.json |
| 178 | + bbl down --no-confirm |
171 | 179 |
|
172 | 180 | echo "Deleting bbl state directory" |
173 | 181 | if gsutil ls gs://cf-cli-bosh-lites | grep -q /${env_name}/; then |
|
0 commit comments