mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-06-04 07:59:10 -07:00
tests: fixing bootstrap code and invalid instance
- bootstrap code was not correctly instantiating the cloud function. - compute_instance has a typo from a previous commit. - re-disabling forwarding rule as it still has the backend_service fingerprint requirement
This commit is contained in:
parent
7fb64edcc5
commit
9e7748bc23
3 changed files with 4 additions and 3 deletions
|
@ -56,10 +56,10 @@ fi
|
|||
BUCKET_NAME="gs://${PROJECT_ID}-ansible-testing"
|
||||
|
||||
if ! gcloud storage buckets describe "${BUCKET_NAME}" > /dev/null; then
|
||||
gcloud storage buckets create "gs://${PROJECT_ID}-ansible-testing" --project="${PROJECT_ID}"
|
||||
gcloud storage buckets create "${BUCKET_NAME}" --project="${PROJECT_ID}"
|
||||
fi
|
||||
|
||||
gsutil cp ./test-fixtures/cloud-function.zip "gs://${PROJECT_ID}-ansible-testing"
|
||||
gsutil cp ./test-fixtures/cloud-function.zip "${BUCKET_NAME}"
|
||||
|
||||
|
||||
# The following is hard to automate, so echo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue