master- Sync Repo

This commit is contained in:
Mali Bayhan 2021-12-10 14:54:40 -08:00
parent b192a69676
commit 7f6ee5a1bc
2 changed files with 3240 additions and 5 deletions

3232
files/cacert.pem Normal file

File diff suppressed because it is too large Load Diff

View File

@ -29,10 +29,13 @@ pipeline {
stage('Check Pact Verifications') {
steps {
sh 'curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.88.3/pact-1.88.3-linux-x86_64.tar.gz'
sh 'tar xzf pact-1.88.3-linux-x86_64.tar.gz'
dir('pact/bin') {
sh "./pact-broker can-i-deploy -a user-service -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
sh 'cp files/cacert.pem /tmp'
withEnv(['SSL_CERT_FILE=/tmp/cacert.pem']) {
sh 'curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.88.3/pact-1.88.3-linux-x86_64.tar.gz'
sh 'tar xzf pact-1.88.3-linux-x86_64.tar.gz'
dir('pact/bin') {
sh "./pact-broker can-i-deploy -a user-service -b https://pact.bayhan.ca -e ${GIT_COMMIT}"
}
}
}
}
@ -44,5 +47,5 @@ pipeline {
echo 'Deploying to prod now...'
}
}
}
}
}