Skip to content

Commit 8b83669

Browse files
committed
tests: Add unit tests for aarch64
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]>
1 parent 59e023f commit 8b83669

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Jenkinsfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,21 @@ pipeline {
6262
}
6363
}
6464
}
65+
stage ('AArch64 Unit Tests') {
66+
agent { node { label 'focal-arm64' } }
67+
stages {
68+
stage ('Checkout') {
69+
steps {
70+
checkout scm
71+
}
72+
}
73+
stage('Run unit tests') {
74+
steps {
75+
sh "scripts/dev_cli.sh --local tests --unit"
76+
}
77+
}
78+
}
79+
}
6580
}
6681
}
6782
}

0 commit comments

Comments
 (0)