-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitLab claim mappings for build configs (#1206)
* Update GitLab claim mappings for build configs Assigns new `pipeline_ref/sha` claims to `Build Config` and `Build Signer` related OIDs. Depends on https://gitlab.com/gitlab-org/gitlab/-/merge_requests/121597 Related to #1182 Signed-off-by: marshall007 <[email protected]> * update docs to reflect GitLab claim mappings Signed-off-by: marshall007 <[email protected]> * updates to match new claim names Signed-off-by: marshall007 <[email protected]> * fix issuer test Signed-off-by: marshall007 <[email protected]> * address PR feedback Signed-off-by: marshall007 <[email protected]> * fix failing grpc server tests Signed-off-by: marshall007 <[email protected]> * fix lint error Signed-off-by: marshall007 <[email protected]> --------- Signed-off-by: marshall007 <[email protected]>
- Loading branch information
1 parent
07f0ac4
commit a4b3e12
Showing
5 changed files
with
169 additions
and
38 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ func TestIssuer(t *testing.T) { | |
"user_email": "[email protected]", | ||
"pipeline_id": "757451528", | ||
"pipeline_source": "push", | ||
"ci_config_ref_uri": "gitlab.com/cpanto/testing-cosign//.gitlab-ci.yml@refs/head/main", | ||
"job_id": "3659681386", | ||
"sha": "714a629c0b401fdce83e847fc9589983fc6f46bc", | ||
"runner_id": 1, | ||
|
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.