Skip to content

Commit

Permalink
Merge pull request #3829 from uselagoon/stable-upgrade
Browse files Browse the repository at this point in the history
test: refactor local development for more configuration
  • Loading branch information
tobybellwood authored Dec 23, 2024
2 parents 5e6dddc + 6b1a2fc commit 6ad1f0f
Show file tree
Hide file tree
Showing 4 changed files with 326 additions and 77 deletions.
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

0 comments on commit 6ad1f0f

Please sign in to comment.