소스 검색

Fix race condition with integration network

Jamie Curnow 1 년 전
부모
커밋
6aee2bbcba
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Jenkinsfile

+ 5 - 0
Jenkinsfile

@@ -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'
 					}
 				}
 			}