Fix race condition with integration network

This commit is contained in:
Jamie Curnow 2024-01-09 10:57:47 +10:00
parent 025fc9776b
commit 6aee2bbcba
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

5
Jenkinsfile vendored
View File

@ -100,8 +100,13 @@ pipeline {
}
stage('Cypress') {
steps {
// Creating will also create the network prior to
// using it in parallel stages below and mitigating
// a race condition.
sh 'docker-compose build cypress-sqlite'
sh 'docker-compose build cypress-mysql'
sh 'docker-compose create cypress-sqlite'
sh 'docker-compose create cypress-mysql'
}
}
}