Skip to content

Conversation

@mitchell-as
Copy link
Collaborator

@mitchell-as mitchell-as commented Jan 22, 2025

StoryDX-3211 [Vectra] We produce and automate ARM64 Linux builds for State Tool

I'm not sure if we want to merge this into the v48 branch for a "soft" release from CI, or if we want to leave this in PR form for BE to play with.

The github action uses an install.sh that doesn't have the necessary "arch" param from the previous commit.
Avoid arm64 runtime sourcing issues.
It downloads hardcoded amd64 binaries, which fails on arm64. Using `go install` should do the right thing.
with:
token: ${{ secrets.GITHUB_TOKEN }}
shell: bash
run: go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The GitHub Action pulls down x86 binaries :( go install does the right thing here.

uses: ActiveState/setup-state-tool@v1
if: matrix.sys.os != 'ubuntu-24.04-arm'

- # === Install State Tool (ARM64) ===
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is temporary until we have an official ARM release that can be installed by a bare ./install.sh call via the above GitHub Action.

@mitchell-as mitchell-as requested a review from Naatan January 27, 2025 19:02
@mitchell-as mitchell-as marked this pull request as ready for review January 27, 2025 19:02
@mitchell-as
Copy link
Collaborator Author

Flagging for review to figure out what we want to do with this (see description). I am aware we might want to let this bake for a while.

Copy link
Contributor

@Naatan Naatan left a comment

Choose a reason for hiding this comment

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

Nice work!

@mitchell-as mitchell-as merged commit d540a91 into version/0-48-0-RC1 Jan 28, 2025
11 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-3211 branch January 28, 2025 19:19
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.

3 participants