Skip to content

Commit 75fa2b0

Browse files
committed
Use internal conjur edge image in integration tests, update postgres container
1 parent 691cae8 commit 75fa2b0

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Jenkinsfile

+3
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ pipeline {
137137
}
138138

139139
stage('Integration tests') {
140+
environment {
141+
INFRAPOOL_REGISTRY_URL = "registry.tld"
142+
}
140143
steps {
141144
script {
142145
grantIPAccess(infrapool)

ci/test/conjur-deployment/ubuntu_compose.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ services:
2424
- ${PWD}/ci/test/conjur-deployment/configuration/https/:/tmp/conf
2525

2626
pg:
27-
image: postgres:9.4
27+
image: postgres:15
2828
environment:
2929
POSTGRES_HOST_AUTH_METHOD: trust
3030

3131
conjur:
32-
image: cyberark/conjur:latest
32+
image: ${REGISTRY_URL:-docker.io}/cyberark/conjur:edge
3333
command: server -a dev -f /policy/initial_policy.yml
3434
environment:
3535
CONJUR_DATA_KEY: 'OyXV68Mip14xj33huGaQKewmmS+gKtDlp6ECZ2iATpU='

ci/test/test_integration

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ function get_parameters() {
3434
get_parameters $@
3535
cleanup
3636

37+
export REGISTRY_URL=${INFRAPOOL_REGISTRY_URL:-"docker.io"}
38+
3739
echo "Building API container..."
3840
docker_compose_command build test
3941

0 commit comments

Comments
 (0)