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

[ONPREM-1958] Bump Go to 1.24 and move to go tool #126

Merged
merged 3 commits into from
Feb 19, 2025
Merged

Conversation

christian-stephen
Copy link
Member

⚙️ Issue


⚙️ Change Description

Acceptance Criteria:


Solution


Testing

  • Created and updated tests where applicable

📖 Documentation Updates

  • Updated related documentation, if applicable
  • Updated changelog

@christian-stephen christian-stephen force-pushed the cs/tool branch 4 times, most recently from 28efb4d to ce663a6 Compare February 19, 2025 00:40
- when:
condition:
equal: [ << pipeline.parameters.triggered_by_webhook >>, true ]
- with-go-cache:
Copy link
Member Author

Choose a reason for hiding this comment

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

Since we get GoReleaser and Cosign through go tool now, let's cache them

Comment on lines +59 to +60
- cmd: go
args: ["tool", "cosign", "sign", "--key=cosign.key", "${artifact}@${digest}", "--yes"]
Copy link
Member Author

@christian-stephen christian-stephen Feb 19, 2025

Choose a reason for hiding this comment

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

Bit unfortunate, but we apparently can't template here for cmd: https://goreleaser.com/customization/docker_sign/

(Ideally, I would've like to do something along the lines of this: 28efb4d#diff-ac0b52a2ae6ef99999bc08fb31e19188bf0085a4614204068e677e140e1458be)

Copy link
Contributor

Choose a reason for hiding this comment

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

This does seem pretty readable at least

Copy link
Member Author

Choose a reason for hiding this comment

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

That's true

@christian-stephen christian-stephen marked this pull request as ready for review February 19, 2025 01:02
@christian-stephen christian-stephen requested a review from a team as a code owner February 19, 2025 01:02
@christian-stephen christian-stephen force-pushed the cs/tool branch 2 times, most recently from 16c44d6 to 772cd0d Compare February 19, 2025 11:14
@christian-stephen christian-stephen merged commit ba94277 into main Feb 19, 2025
8 checks passed
@christian-stephen christian-stephen deleted the cs/tool branch February 19, 2025 15:19
@christian-stephen christian-stephen changed the title Bump Go to 1.24 and move to go tool [ONPREM-1958] Bump Go to 1.24 and move to go tool Feb 19, 2025
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