Skip to content

Add ARM64 Integration Test - #4897

Merged
cpretzer merged 5 commits into
linkerd:mainfrom
aliariff:arm-integration-test
Aug 28, 2020
Merged

Add ARM64 Integration Test#4897
cpretzer merged 5 commits into
linkerd:mainfrom
aliariff:arm-integration-test

Conversation

@aliariff

@aliariff aliariff commented Aug 20, 2020

Copy link
Copy Markdown
Contributor

@cpretzer @alpeb

Changes

  • Add arm64_integration_tests job in the release workflow
  • Skip tracing test, because the OpenCensus collector and Jaeger images do not support ARM yet
  • Skip helm-upgrade and upgrade-stable test because the Linkerd stable version does not support ARM yet
  • Bump the version of the images that used for testing purposes to version that support ARM

Note

  • Before merging this, it is required to provision an ARM64 machine and also setup Kubernetes on it. Then set a new secret in Github called ARM64_KUBECONFIG with the kubeconfig credential from the ARM64 machine.

Signed-off-by: Ali Ariff ali.ariff12@gmail.com

@aliariff
aliariff requested a review from a team as a code owner August 20, 2020 18:30
@cpretzer cpretzer self-assigned this Aug 20, 2020
Signed-off-by: Ali Ariff <ali.ariff12@gmail.com>
@aliariff
aliariff force-pushed the arm-integration-test branch from bfcf79d to 06934ae Compare August 20, 2020 19:03
Signed-off-by: Ali Ariff <ali.ariff12@gmail.com>
Signed-off-by: Ali Ariff <ali.ariff12@gmail.com>
Comment thread bin/_test-helpers.sh Outdated
# Run the upgrade-stable test by upgrading the most-recent stable release to the
# HEAD of this branch.
run_upgrade-stable_test() {
if [ -n "$ARM_TEST" ]; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What do you think of naming this something more descriptive like RUN_ARM_TEST

Signed-off-by: Ali Ariff <ali.ariff12@gmail.com>

@cpretzer cpretzer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Finally got all the checks to pass. Thanks for updating the name of the argument @aliariff

@alpeb, would you mind reviewing this PR when you have a moment?

@alpeb alpeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @aliariff ! Just a couple of comments below.

Comment thread .github/workflows/release.yml Outdated
Comment on lines +208 to +218
id: install_cli
run: |
TAG="$(CI_FORCE_CLEAN=1 bin/root-tag)"
CMD="$PWD/target/release/linkerd2-cli-$TAG-linux-amd64"
bin/docker-pull-binaries $TAG
$CMD version --client
# validate CLI version matches the repo
[[ "$TAG" == "$($CMD version --short --client)" ]]
echo "Installed Linkerd CLI version: $TAG"
echo "::set-env name=CMD::$CMD"
echo "::set-output name=tag::$TAG"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

id: install_cli along with echo "::set-output name=tag::$TAG" is used so that another step can refer to the tag using steps.install_cli.output.tag. It's not used here, so you can remove that id and this statement.

Comment thread .github/workflows/release.yml
Signed-off-by: Ali Ariff <ali.ariff12@gmail.com>

@alpeb alpeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM 👍

@cpretzer
cpretzer merged commit 5186383 into linkerd:main Aug 28, 2020
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.

3 participants