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

GCloud: Could not refresh access token. #167

Open
jackmatt2 opened this issue Jul 13, 2023 · 0 comments
Open

GCloud: Could not refresh access token. #167

jackmatt2 opened this issue Jul 13, 2023 · 0 comments

Comments

@jackmatt2
Copy link

Getting an error:

Fail to upload file *********.json, error:  Could not refresh access token.

Codefresh job

title: Publishing test report
image: codefresh/cf-docker-test-reporting
working_directory: '${{CF_VOLUME_PATH}}/'
environment:
  - BUCKET_NAME=our-bucket-name
  - CF_STORAGE_INTEGRATION=our-integration-name
name: publish_report

Can manually upload upload as follows

gcloud auth activate-service-account --key-file=/Users/FooBar/Desktop/google_storage_key.json

Activated service account credentials for: [[email protected]]


➜  ~ gsutil cp ./favicon.ico gs://our-bucket-name/

Copying file://./favicon.ico [Content-Type=image/x-icon]...

/ [1 files][  628.0 B/  628.0 B]                                                

Operation completed over 1 objects/628.0 B.                                      

➜  ~ gsutil ls gs://our-bucket-name           

gs://our-bucket-name/favicon.ico

Is there some sort of special permission we need to use for the integration account? Any ideas on how to resolve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant