Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script moves on when errors #5

Open
ahmetb opened this issue Oct 28, 2019 · 1 comment
Open

script moves on when errors #5

ahmetb opened this issue Oct 28, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ahmetb
Copy link

ahmetb commented Oct 28, 2019

I think set -e is missing in the script.

e.g. ctrl+f "ERROR" below while executing 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
@ahmetb
Copy link
Author

ahmetb commented Oct 28, 2019

I think readme is inaccurate a bit. bin/setup requires bin/service to be executed first.

@mchmarny mchmarny self-assigned this Oct 29, 2019
@mchmarny mchmarny added the bug Something isn't working label Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants