-
Notifications
You must be signed in to change notification settings - Fork 880
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
chore: sign container images and checksum assets #2334
Conversation
Signed-off-by: Justin Marquis <[email protected]>
Signed-off-by: Justin Marquis <[email protected]>
Codecov ReportBase: 82.76% // Head: 82.76% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #2334 +/- ##
==========================================
- Coverage 82.76% 82.76% -0.01%
==========================================
Files 121 121
Lines 18522 18536 +14
==========================================
+ Hits 15330 15341 +11
- Misses 2408 2410 +2
- Partials 784 785 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: Justin Marquis <[email protected]>
The COSIGN_PASSWORD COSIGN_PRIVATE_KEY & COSIGN_PUBLIC_KEY secrets have been added. Here is the public key:
I've announced the above public key, but in the future this might change (if we for example switch from github actions), right? I've discarded the private key and password so they only exist in GitHub now. |
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.
I'll merge this in after conflict is resolved. Thanks!
Signed-off-by: Justin Marquis <[email protected]>
@jessesuen thanks for all your help. Conflicts have been resolved. |
Signed-off-by: Justin Marquis <[email protected]>
Signed-off-by: Justin Marquis <[email protected]>
Signed-off-by: Justin Marquis <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
@jessesuen I went over these changes again and they LGTM with the digest changes. |
part of #2329 |
Signed-off-by: Justin Marquis <[email protected]> Signed-off-by: toann <[email protected]>
Signed-off-by: Justin Marquis <[email protected]>
Signed-off-by: Justin Marquis <[email protected]>
…2388) * chore(deps): bump actions/upload-artifact from 2 to 3 (#1973) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: toann <[email protected]> * chore: sign container images and checksum assets (#2334) Signed-off-by: Justin Marquis <[email protected]> Signed-off-by: toann <[email protected]> * chore(deps): upgrade ui deps to fix high security cve's (#2345) * ui: upgrade deps to fix high security cve's Signed-off-by: zachaller <[email protected]> * github trigger re-run Signed-off-by: zachaller <[email protected]> Signed-off-by: zachaller <[email protected]> Signed-off-by: toann <[email protected]> * chore(deps): bump imjasonh/setup-crane from 0.1 to 0.2 (#2387) Bumps [imjasonh/setup-crane](https://github.com/imjasonh/setup-crane) from 0.1 to 0.2. - [Release notes](https://github.com/imjasonh/setup-crane/releases) - [Commits](imjasonh/setup-crane@v0.1...v0.2) --- updated-dependencies: - dependency-name: imjasonh/setup-crane dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: toann <[email protected]> * docs: Fix the case that autoPromotionSeconds feature is ignored Signed-off-by: Toan Nguyen <[email protected]> Signed-off-by: toann <[email protected]> * chore(deps): bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 (#2390) Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 1.3.4 to 1.3.5. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@v1.3.4...v1.3.5) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: toann <[email protected]> * Update docs/features/bluegreen.md Co-authored-by: Rohit Agrawal <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: toann <[email protected]> Signed-off-by: Justin Marquis <[email protected]> Signed-off-by: zachaller <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Justin Marquis <[email protected]> Co-authored-by: Zach Aller <[email protected]> Co-authored-by: toann <[email protected]> Co-authored-by: Rohit Agrawal <[email protected]>
Signed-off-by: Justin Marquis [email protected]
Closes #2330
This PR implements container images and
argo-rollouts-checksums.txt
to be signed usingsigstore/cosign
Three GitHub secrets will need to be created before this PR is merged. The process to do this is listed below.
TLDR: https://docs.sigstore.dev/cosign/git_support
cosign --version
to verified it has been installed correctly.cosign generate-key-pair github://argoproj/argo-rollouts
This will start the process of creating the GitHub Secrets automatically for you, and prompt you to enter a password. This Password will be stored as the Github secretCOSIGN_PASSWORD
I would recommend to use well respected password generator such as KeePassXC or Bitwarden and use a paranoid level of characters of at least 32.COSIGN_PASSWORD
COSIGN_PRIVATE_KEY
&COSIGN_PUBLIC_KEY