Skip to content

Commit

Permalink
tests: Add unit tests for aarch64
Browse files Browse the repository at this point in the history
NOTE: Because docker pull fallbacks to linux/amd64 even if explicitly
specify image platform when linux/arm64 image not found, the unit tests
will fail. To avoid this, `--local` option is added to build local
container image. This option should be removed after linux/arm64
container image is pushed to the registry.

Signed-off-by: Akira Moroo <[email protected]>
  • Loading branch information
retrage committed Nov 21, 2022
1 parent 5ffb13d commit 907c346
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,21 @@ pipeline {
}
}
}
stage ('AArch64 Unit Tests') {
agent { node { label 'focal-arm64' } }
stages {
stage ('Checkout') {
steps {
checkout scm
}
}
stage('Run unit tests') {
steps {
sh "scripts/dev_cli.sh --local tests --unit"
}
}
}
}
}
}
}
Expand Down

0 comments on commit 907c346

Please sign in to comment.