Ajout des rapports de tests unitaires dans Gitlab-CI
This commit is contained in:
commit
4a8528e72e
|
@ -11,6 +11,10 @@ stages:
|
|||
- test
|
||||
- package
|
||||
- deploy
|
||||
|
||||
.only-master:
|
||||
only:
|
||||
- master
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
@ -34,9 +38,7 @@ test:
|
|||
package:
|
||||
stage: package
|
||||
needs: [ 'test' ]
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
extends: .only-master
|
||||
variables:
|
||||
PACKAGE_CONTAINER_NAME: "cre_backend_package-$CI_COMMIT_REF_NAME"
|
||||
ARTIFACT_NAME: "ColorRecipesExplorer-backend-$CI_PIPELINE_IID"
|
||||
|
@ -58,9 +60,7 @@ deploy:
|
|||
stage: deploy
|
||||
image: alpine:latest
|
||||
needs: [ 'package' ]
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
extends: .only-master
|
||||
variables:
|
||||
DEPLOYED_CONTAINER_NAME: "cre_backend-$CI_COMMIT_REF_NAME"
|
||||
before_script:
|
||||
|
|
Loading…
Reference in New Issue