forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes tektoncd#372 what: gsutil previosuly supported authentication using environment variables. Build pipeline gcs resource implementation relied on this feature to provide access for private gcs buckets. In recent version of gsutil there is a bug which did not recognize env variable GOOGLE_APPLICATION_CREDENTIALS and users noticed that they could not access private gcs artifacts how: authentication method is updated to use more concrete method using gcloud auth command. This PR does not change user contract to authenticate but only implementation on how client authentication is done behind the screen. e2e test pipelinerun test is updated not to have gcs input resource as gcloud auth command requires valid service account json(in new authentication world). New e2e test is added to replace old test and in this test gcloud service account json is used for test setup. This test checks whether developer has gcloud service account is set and if not test is skipped with helpeful msg
- Loading branch information
1 parent
02e06bc
commit e8caf46
Showing
9 changed files
with
233 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.