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

[v0.21.0] release build fix #4146

Merged
merged 7 commits into from
Jun 22, 2024
Merged

[v0.21.0] release build fix #4146

merged 7 commits into from
Jun 22, 2024

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Jun 22, 2024

1. Explain what the PR does

2195c5e fix(build): mv gh release logic to release rule (#4145)
2101b63 fix(build): extract OPA 0.66 from OPA dev image
ce88fbb fix(ci): make release rule to have prerequisites (#4141)
432fb25 fix: arm64 clang issue
9bff261 chore: golang binary move to tmp
657a88d chore: install last version of golang
fba6c44 chore(ci): use dev tag for docker image building (#4138)

2. Explain how to test it

3. Other comments

geyslan and others added 7 commits June 21, 2024 23:37
When SNAPSHOT=1, the local docker image will be tagged with dev tag to
differentiate it from the official release which is tagged with the
latest tag.

commit: 1085fc5 (main), cherry-pick
commit: 221b0ac (main), cherry-pick
commit: 6cc06b2 (main), cherry-pick
These changes ensure that the 'release' rule will require the other
rules to be executed (splitting the commands into different rules). This
way, if any some of the rules fail, the build will be aborted right away.

commit: 86c2c16 (main), cherry-pick
This workaround is required since OPA 0.65.0 (latest published release)
has cve-2024-24790.

After solved we can rollback to the previouw installation method.

commit: ef7d74e (main), cherry-pick
Continuation of #4141.

commit: 6f94719 (main), cherry-pick
@geyslan geyslan self-assigned this Jun 22, 2024
@geyslan geyslan merged commit 94c46aa into v0.21.0 Jun 22, 2024
6 checks passed
@geyslan geyslan deleted the v0.21.0-cpick-release-fix branch June 22, 2024 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants