Skip to content

Commit 7231de4

Browse files
committed
Remove MongoDB 4.0 verification job on CI.
Closes #4437
1 parent c00f34a commit 7231de4

File tree

2 files changed

+1
-64
lines changed

2 files changed

+1
-64
lines changed

Jenkinsfile

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,6 @@ pipeline {
2020
stages {
2121
stage("Docker images") {
2222
parallel {
23-
stage('Publish JDK (main) + MongoDB 4.0') {
24-
when {
25-
anyOf {
26-
changeset "ci/openjdk8-mongodb-4.0/**"
27-
changeset "ci/pipeline.properties"
28-
}
29-
}
30-
agent { label 'data' }
31-
options { timeout(time: 30, unit: 'MINUTES') }
32-
33-
steps {
34-
script {
35-
def image = docker.build("springci/spring-data-with-mongodb-4.0:${p['java.main.tag']}", "--build-arg BASE=${p['docker.java.main.image']} --build-arg MONGODB=${p['docker.mongodb.4.0.version']} ci/openjdk8-mongodb-4.0/")
36-
docker.withRegistry(p['docker.registry'], p['docker.credentials']) {
37-
image.push()
38-
}
39-
}
40-
}
41-
}
4223
stage('Publish JDK (main) + MongoDB 4.4') {
4324
when {
4425
anyOf {
@@ -116,7 +97,7 @@ pipeline {
11697
}
11798
steps {
11899
script {
119-
docker.image("harbor-repo.vmware.com/dockerhub-proxy-cache/springci/spring-data-with-mongodb-4.0:${p['java.main.tag']}").inside(p['docker.java.inside.basic']) {
100+
docker.image("harbor-repo.vmware.com/dockerhub-proxy-cache/springci/spring-data-with-mongodb-4.4:${p['java.main.tag']}").inside(p['docker.java.inside.basic']) {
120101
sh 'mkdir -p /tmp/mongodb/db /tmp/mongodb/log'
121102
sh 'mongod --setParameter transactionLifetimeLimitSeconds=90 --setParameter maxTransactionLockRequestTimeoutMillis=10000 --dbpath /tmp/mongodb/db --replSet rs0 --fork --logpath /tmp/mongodb/log/mongod.log &'
122103
sh 'sleep 10'
@@ -137,28 +118,6 @@ pipeline {
137118
}
138119
}
139120
parallel {
140-
stage("test: mongodb 4.4 (main)") {
141-
agent {
142-
label 'data'
143-
}
144-
options { timeout(time: 30, unit: 'MINUTES') }
145-
environment {
146-
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
147-
}
148-
steps {
149-
script {
150-
docker.image("harbor-repo.vmware.com/dockerhub-proxy-cache/springci/spring-data-with-mongodb-4.4:${p['java.main.tag']}").inside(p['docker.java.inside.basic']) {
151-
sh 'mkdir -p /tmp/mongodb/db /tmp/mongodb/log'
152-
sh 'mongod --setParameter transactionLifetimeLimitSeconds=90 --setParameter maxTransactionLockRequestTimeoutMillis=10000 --dbpath /tmp/mongodb/db --replSet rs0 --fork --logpath /tmp/mongodb/log/mongod.log &'
153-
sh 'sleep 10'
154-
sh 'mongo --eval "rs.initiate({_id: \'rs0\', members:[{_id: 0, host: \'127.0.0.1:27017\'}]});"'
155-
sh 'sleep 15'
156-
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml clean dependency:list test -Duser.name=jenkins -Dsort -U -B'
157-
}
158-
}
159-
}
160-
}
161-
162121
stage("test: mongodb 5.0 (main)") {
163122
agent {
164123
label 'data'

ci/openjdk8-mongodb-4.0/Dockerfile

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)