Skip to content

Commit 6aee2bb

Browse files
committed
Fix race condition with integration network
1 parent 025fc97 commit 6aee2bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Jenkinsfile

+5
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,13 @@ pipeline {
100100
}
101101
stage('Cypress') {
102102
steps {
103+
// Creating will also create the network prior to
104+
// using it in parallel stages below and mitigating
105+
// a race condition.
103106
sh 'docker-compose build cypress-sqlite'
104107
sh 'docker-compose build cypress-mysql'
108+
sh 'docker-compose create cypress-sqlite'
109+
sh 'docker-compose create cypress-mysql'
105110
}
106111
}
107112
}

0 commit comments

Comments
 (0)