Open ahmetb opened 5 years ago
I think set -e is missing in the script.
set -e
e.g. ctrl+f "ERROR" below while executing bin/config
bin/config
Enter a selection (1 - 15): 12 BigQuery configuration complete! Type "bq" to get started. Dataset 'krew-k8s:eventcounter' successfully created. Table 'krew-k8s:eventcounter.events' successfully created. createTime: '2019-10-28T05:11:59.184968Z' currentStateTime: '1970-01-01T00:00:00Z' id: 2019-10-27_22_11_57-8922390344321487682 location: us-central1 name: eventcounter projectId: krew-k8s startTime: '2019-10-28T05:11:59.184968Z' type: JOB_TYPE_STREAMING Created service account [eventcounter-sa]. ERROR: (gcloud.beta.run.services.add-iam-policy-binding) NOT_FOUND: Resource 'eventcounter' of kind 'SERVICE' in region 'us-central1' in project 'krew-k8s' does not exist. Updated IAM policy for project [krew-k8s]. bindings: - members: - serviceAccount:434176090216@cloudbuild.gserviceaccount.com role: roles/cloudbuild.builds.builder - members: - serviceAccount:service-434176090216@gcp-sa-cloudbuild.iam.gserviceaccount.com
I think readme is inaccurate a bit. bin/setup requires bin/service to be executed first.
bin/setup
bin/service
I think
set -e
is missing in the script.e.g. ctrl+f "ERROR" below while executing
bin/config