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

setup aws environment variables before signing #211

Merged
merged 3 commits into from
Jan 17, 2024

Conversation

midnightercz
Copy link
Member

No description provided.

Copy link

codecov bot commented Jan 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a58ad9f) 100.00% compared to head (37ed56a) 100.00%.

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.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@emilyzheng emilyzheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pubtools/_quay/iib_operations.py Outdated Show resolved Hide resolved
@@ -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")
Copy link
Contributor

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?

Copy link
Member Author

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
@midnightercz
Copy link
Member Author

pubtools/_quay/push_docker.py Outdated Show resolved Hide resolved
pubtools/_quay/tag_docker.py Outdated Show resolved Hide resolved
pubtools/_quay/tag_docker.py Outdated Show resolved Hide resolved
@emilyzheng emilyzheng mentioned this pull request Jan 17, 2024
@midnightercz midnightercz merged commit 0204d64 into master Jan 17, 2024
16 checks passed
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

Successfully merging this pull request may close these issues.

3 participants