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

feat: adding matrix build #1319

Merged
merged 1 commit into from
Feb 18, 2022
Merged

feat: adding matrix build #1319

merged 1 commit into from
Feb 18, 2022

Conversation

kalidax
Copy link
Contributor

@kalidax kalidax commented Feb 16, 2022

Description

Todos

  • Unit tests
  • Manual tests
  • Documentation
  • Connect epics/issues
  • Tag type of change
  • Upgrade handler

Steps to Test

Run the https://github.com/axelarnetwork/axelar-core/blob/feat/build-matrix/.github/workflows/build-docker-image-and-binaries.yaml . It is a job triggered manually.
select branch feat/build-matrix.
ideally create a S3 and an ECR for testing purpose.
Enter a semantic tag, you should not use an existing tag (VERY IMPORTANT), if you do so you will overwrite the existing binaries/images. You can check the latest version in the S3 axelar-releases.

Expected Behavior

The job will run on 5 os/architectures (3 Linux, 2 Darwin).
The build of container images will occur only on Ubuntu/amd64 that is the only job that will run all the steps
In the 4 remaining jobs, all container related steps will be skipped.

Other Notes

To ensure that Ledger is supported, you can check in the test step of each job see https://github.com/axelarnetwork/axelar-core/runs/5248523237?check_suite_focus=true#step:13:10 for example.
you should see "build_tags: ledger"

@talalashraf
Copy link
Contributor

you tested this in another branch right ? can i see the outcome there ?

erain9
erain9 previously requested changes Feb 16, 2022
Copy link
Contributor

@erain9 erain9 left a comment

Choose a reason for hiding this comment

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

Please do not delete the binary signing logic in the workflow

@erain9
Copy link
Contributor

erain9 commented Feb 16, 2022

Please do not delete the binary signing logic in the workflow

Nevermind - please ignore this.


- name: Unit test (check ledger support)
run: |
./bin/axelard-* version --long
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
./bin/axelard-* version --long
./bin/axelard-"$OS"-"$ARCH"-"$SEMVER" version --long | grep "build_tags: ledger"

Don't you want to grep for ledger in the build_tags and check if it's present? And just to be precise

@talalashraf talalashraf merged commit e190972 into main Feb 18, 2022
@talalashraf talalashraf deleted the feat/build-matrix branch February 18, 2022 21:41
talalashraf pushed a commit that referenced this pull request Feb 18, 2022
Co-authored-by: kalid <kalidax@axelar.network>
talalashraf added a commit that referenced this pull request Feb 18, 2022
Co-authored-by: kalid <kalidax@axelar.network>

Co-authored-by: kalidax <97290719+kalidax@users.noreply.github.com>
Co-authored-by: kalid <kalidax@axelar.network>
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.

None yet

5 participants