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

test: refactor local development for more configuration #3829

Merged
merged 4 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pipeline {
PASSWORD = credentials('amazeeiojenkins-dockerhub-password')
}
steps {
sh script: "make -O build", label: "Building images"
sh script: "make -j$NPROC -O build", label: "Building images"
retry(3) {
sh script: 'docker login -u amazeeiojenkins -p $PASSWORD', label: "Docker login"
sh script: "make -O publish-testlagoon-images PUBLISH_PLATFORM_ARCH=linux/amd64 BRANCH_NAME=${SAFEBRANCH_NAME}", label: "Publishing built amd64 images to testlagoon/*"
Expand All @@ -88,9 +88,9 @@ pipeline {
parallel {
stage ('0: setup test cluster') {
steps {
sh script: "make -j$NPROC local-dev/k3d", label: "Configure k3d"
sh script: "make local-dev-tools", label: "Configure k3d"
sh script: "./local-dev/k3d cluster delete --all", label: "Delete any remnant clusters"
sh script: "make -j$NPROC k3d/test TESTS=[nginx] BRANCH_NAME=${SAFEBRANCH_NAME}", label: "Setup cluster and run nginx smoketest"
sh script: "make k3d/test TESTS=[nginx] BRANCH_NAME=${SAFEBRANCH_NAME}", label: "Setup cluster and run nginx smoketest"
sh script: "pkill -f './local-dev/stern'", label: "Closing off test-suite-0 log after test completion"
// script {
// skipRemainingStages = true
Expand Down
Loading
Loading