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

Cherrypick goreleaser based fixes #1512

Merged
merged 9 commits into from
Nov 1, 2024
Merged

Cherrypick goreleaser based fixes #1512

merged 9 commits into from
Nov 1, 2024

Conversation

HenryNguyen5
Copy link
Contributor

  • RE 2997 error building chainlink binary with wasmtime go dependency (#14583)
  • CRIB 462 update go releaser dev space to work with latest changes (#14645)
  • CRIB 493 current chainlink develop images are broken and dont work on crib (#14790)
  • Fix artifact parsing for goreleaser (#14822)

HenryNguyen5 and others added 4 commits October 28, 2024 17:21
…#14583)

* Refactor .goreleaser.develop.yaml to use multi-platform native compilation

* Make required changes to get platform native builds working

* Programmatic goreleaser config generator, works with .goreleaser.develop.yaml

* Remove broken goreleaser makefile cmds

* Remove zig dep from shell.nix

* Remove macos-sdk, goreleaser exec, zig refs from goreleaser action

* Use no_unique_dist_dir config since we only build 1 target a time

* Remove qemu support

* Use ubuntu 24 for goreleaser base image

* Test split builds w/o merge

* Add sensible default for CHAINLINK_VERSION

* Set chainlink version in github action

* Merge ccip and regular builds together

* Use nightlies over snapshots

* Split and merge

* Correctly set release type

* Quote nullable var

* Pass down release type

* goreleaserpro -> goreleaser

* Set nightly version correctly

* Add fetch depth

* Make name more accurate

* Fix merge cmd

* Disable changelogs + archives unless prod

* Update develop config file

* Sign nightly images

* Handle prod image name prefix

* prod -> production

* Remove stale fixtures

* Add production config generation

* Correctly add ECR path to prod images

* Merge production + ccip production together

* Disable changelog on develop

* Remove env var shadowing and redundant templating

* Remove signing for develop builds

* Fix nightly version template

* Refactor build-sign-publish inputs

* Fix skippush condition, remove cosign signing

* Nuke cosign from goreleaser action in favor of gh artifact attestation

* Apply split+merge refactor to prod pipeline

* Run gomodtidy

* Remove useless test

* Update go.mod

* Remove push on release/** trigger

* Add fetch-depth 0 to image builds

* Use a separate workflow for goreleaser

* Update gomods

* TEST: goreleaser prod

* Add missing env

* Fix yaml extension

* Add missing fetch depth

* Fix incorrect manifest naming

* Configure skip_push for prod manifests

* Refactor artifact path handling in build-publish-goreleaser.yml

* Remove artifact attestation

* Update go.mod

* Remove test branch trigger
…4645)

* Generate devspace config

* Use goreleaser pro in nix

* Regenerate devspace file

* Support m1 macos -> linux_arm64 cross compilation

* Codify documentation requirements

* Sink grep output

* Cleanup nix flake

* Generate devspace config

* Use goreleaser pro in nix

* Regenerate devspace file

* Support m1 macos -> linux_arm64 cross compilation

* Codify documentation requirements

* Sink grep output

* Cleanup nix flake

* Patch ELFs for chainlink LOOPPs

* Explicitly enable CGO

* Set CGO_ENABLED globally

* Add patchelf to nix shell for crib

* Address feedback

* Fix brew prefix

---------

Co-authored-by: chainchad <[email protected]>
… crib (#14790)

* Reapply "CRIB 462 update go releaser dev space to work with latest changes (#1…" (#14766)

This reverts commit b476a4ada268fdea6366d1032e120849b5181fc8.

* Correct interpreter for x86 and add smoke test

* TEST: Remove other workflows

* Fix interpreter on x86 for plugins

* Fix version check

* TEST: Intentionally break amd64

* Revert "TEST: Intentionally break amd64"

This reverts commit 1ee47c0db70508db7c9633e6f55dcee5dd348eda.

* Revert "TEST: Remove other workflows"

This reverts commit 6ea2f814e3d24dcbb01f2c3d173947a6eb98a0c0.
* Fix artifact parsing for goreleaser

* Add label trigger to PR

* Add additional logging

* Handle testing published images

* Reduce logging

* Add QEMU for merge cross arch testing
@HenryNguyen5 HenryNguyen5 requested review from a team as code owners October 29, 2024 00:27
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
1 Security Hotspot

See analysis details on SonarQube

@HenryNguyen5 HenryNguyen5 changed the title henry/crib 2 Cherrypick goreleaser based fixes Oct 29, 2024
@HenryNguyen5 HenryNguyen5 enabled auto-merge (squash) October 30, 2024 17:36
Copy link
Contributor

@rafaelfelix rafaelfelix left a comment

Choose a reason for hiding this comment

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

just tried out, works like a charm 🚀

@HenryNguyen5 HenryNguyen5 merged commit 8e65aa8 into ccip-develop Nov 1, 2024
150 of 152 checks passed
@HenryNguyen5 HenryNguyen5 deleted the henry/crib-2 branch November 1, 2024 19:45
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.

4 participants