Skip to content

Commit

Permalink
test(packaging): do a quick validation that Kong can viably be packag…
Browse files Browse the repository at this point in the history
…ed, installed and used (#8707)
  • Loading branch information
hutchic committed Apr 25, 2022
1 parent 86de704 commit 1bfdf97
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ pipeline {
DEBUG = 0
}
stages {
stage('Test The Package') {
agent {
node {
label 'bionic'
}
}
when { changeRequest target: 'master' }
environment {
KONG_BUILD_TOOLS_LOCATION = "${env.WORKSPACE}/../kong-build-tools"
KONG_SOURCE_LOCATION = "${env.WORKSPACE}"
}
steps {
sh 'echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin || true'
sh 'make setup-kong-build-tools'
sh 'cd /home/ubuntu/workspace/kong_test_packaging/../kong-build-tools && make package-kong test'
}

}
stage('Release Per Commit') {
when {
beforeAgent true
Expand Down

0 comments on commit 1bfdf97

Please sign in to comment.