Run tests in image build one step above using latest tag
This commit is contained in:
parent
a305a838fd
commit
d137340da5
|
|
@ -23,10 +23,10 @@ kaniko:
|
||||||
|
|
||||||
rails spec:
|
rails spec:
|
||||||
stage: test
|
stage: test
|
||||||
image: docker:stable
|
image: registry.gitlab.com/turniere/turniere-backend/test
|
||||||
script:
|
script:
|
||||||
- docker info
|
- bundle exec rails db:migrate
|
||||||
- docker run $CI_REGISTRY_IMAGE/test/commits:$CI_COMMIT_SHA
|
- bundle exec rails spec
|
||||||
|
|
||||||
kubernetes:
|
kubernetes:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue