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

Run the ARM64 e2e tests on Equinix hardware #2191

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

stefanprodan
Copy link
Member

Move the runners from Oracle Cloud free tier to Equinix ARM64 hardware (account sponsored by CNCF).

Runner Instance Region
equinix-arm-1 flux-equinix-arm-01 AMS1
equinix-arm-2 flux-equinix-arm-01 AMS1
equinix-arm-3 flux-equinix-arm-01 AMS1
equinix-arm-4 flux-equinix-arm-02 DFW2
equinix-arm-5 flux-equinix-arm-02 DFW2
equinix-arm-6 flux-equinix-arm-02 DFW2

PS. @squaremo @hiddeco you can delete your Oracle runners after this PR is merged.

.github/runners/runner-setup.sh Outdated Show resolved Hide resolved
.github/runners/README.md Outdated Show resolved Hide resolved
```shell
sudo ./arm64.sh <TOKEN>
curl -sL https://raw.githubusercontent.com/fluxcd/flux2/main/.github/runners/runner-setup.sh > runner-setup.sh \
Copy link
Member

Choose a reason for hiding this comment

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

Surely you only need one of these, rather than one in each directory?

Copy link
Member Author

Choose a reason for hiding this comment

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

The script assumes the runner scripts are in the same dir, please suggest changes to the script so this can be downloaded only once.

- Retrieve the GitHub runner token from the repository [settings page](https://github.com/fluxcd/flux2/settings/actions/runners/new?arch=arm64&os=linux)
- Run the provisioning script passing the token as the first argument

- Create 3 directories `runner1`, `runner2`, `runner3`
Copy link
Member

Choose a reason for hiding this comment

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

for d in runner1 runner2 runner3; do ...; done

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

Cool, thanks for rejigging this Stefan 🍇
I'm not totally sure about how the GitHub Actions workflow works -- in particular runs-on -- where is it defined what equinix means?. But that is secondary to getting the scripts and instructions in order :-)

@stefanprodan
Copy link
Member Author

@squaremo equinix is the label I've manually added in GH UI to test all these runners:
Screenshot 2021-12-08 at 17 35 35

We could delete the label and remove it from the workflow once the Oracle runners are removed.

@stefanprodan stefanprodan merged commit 7e1fd49 into main Dec 8, 2021
@stefanprodan stefanprodan deleted the equinix-runners branch December 8, 2021 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants