Merge branch 'codex/e2e-stage-priority' into 'master'
ci: start e2e before rails specs See merge request turniere/turniere-backend!50
This commit is contained in:
commit
7cfee2a7d7
|
|
@ -1,5 +1,6 @@
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- e2e
|
||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
|
@ -12,6 +13,8 @@ include:
|
||||||
|
|
||||||
rails spec:
|
rails spec:
|
||||||
stage: test
|
stage: test
|
||||||
|
needs:
|
||||||
|
- job: build_image
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
||||||
|
|
@ -39,7 +42,9 @@ rails spec:
|
||||||
expire_in: 30 days
|
expire_in: 30 days
|
||||||
|
|
||||||
rails e2e spec:
|
rails e2e spec:
|
||||||
stage: test
|
stage: e2e
|
||||||
|
needs:
|
||||||
|
- job: build_image
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
||||||
|
|
@ -90,7 +95,9 @@ rails e2e spec:
|
||||||
- inv blackbox-service
|
- inv blackbox-service
|
||||||
|
|
||||||
rails follow sync e2e spec:
|
rails follow sync e2e spec:
|
||||||
stage: test
|
stage: e2e
|
||||||
|
needs:
|
||||||
|
- job: build_image
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
image: $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue