Open mbarouski opened 4 years ago
Strange that it works when I log in to my personal account via gcloud auth application-default login
command but doesn't work with service account on CI with command export GOOGLE_APPLICATION_CREDENTIALS=${HOME}/gcloud-service-key.json && mvn dependency:go-offline
.
UPD.: Tried to activate service account via gcloud auth activate-service-account --key-file KEY_FILE_PATH
on CI and locally and it doesn't work as well.
Provide the possibility to work with few buckets from different Google Cloud projects.
E.g.: I have project A which has dependencies B and C. B is deployed to
b-packages
bucket ofb-project
. C is deployed toc-packages
bucket ofc-project
. I have a service account which has necessary rights in both projects but some package is not available:I suppose it means that it finds
b-package
ina-project
and can't find it.