Skip to content

Commit

Permalink
chore(ci) adjust arm build workers to include a random element to the…
Browse files Browse the repository at this point in the history
… machine name (#196)
  • Loading branch information
hutchic authored Jan 3, 2020
1 parent 4840dde commit ed21a69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,13 @@ pipeline {
USER = 'travis'
AWS_ACCESS_KEY = credentials('AWS_ACCESS_KEY')
AWS_SECRET_ACCESS_KEY = credentials('AWS_SECRET_ACCESS_KEY')
DOCKER_MACHINE_ARM64_NAME = "jenkins-kong-${env.BUILD_NUMBER}"
}
steps {
sh 'mkdir -p /home/ubuntu/bin/'
sh 'make setup-ci'
sh 'git clone --single-branch --branch ${KONG_SOURCE} https://github.com/Kong/kong.git ${KONG_SOURCE_LOCATION}'
sh 'export BUILDX=false RESTY_IMAGE_TAG=bionic && make package-kong && make test'
sh 'export CACHE=false UPDATE_CACHE=true RESTY_IMAGE_TAG=xenial && make setup-build && make package-kong && make test'
sh 'export CACHE=false UPDATE_CACHE=true RESTY_IMAGE_TAG=xenial DOCKER_MACHINE_ARM64_NAME="jenkins-kong-"`cat /proc/sys/kernel/random/uuid` && make setup-build && make package-kong && make test'
}
}
}
Expand Down

0 comments on commit ed21a69

Please sign in to comment.