-
Notifications
You must be signed in to change notification settings - Fork 13
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
setup aws environment variables before signing #211
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #211 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 26 26
Lines 3029 3033 +4
=========================================
+ Hits 3029 3033 +4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/release-engineering/pubtools-quay/blob/master/pubtools/_quay/tag_docker.py#L655 Signing is not split here.
@@ -549,6 +553,7 @@ def copy_tag_sign_images(self, push_item: Any, tag: str, executor: Executor) -> | |||
continue | |||
outdated_manifests.append((mad.digest, tag, repo)) | |||
|
|||
set_aws_kms_environment_variables(self.target_settings, "cosign_signer") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the key needed for pre-push signing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not, but I thought it would be probably better to just keep setup of aws variables before every signing as it devs then doesn't need to remember and determine whether it's needed or not.
- Added aws setup before signing of index images
I'll fix it in #212 |
No description provided.