Commit 0436877a authored by Sergio Gonzalez Diaz's avatar Sergio Gonzalez Diaz
Browse files

revert changes in stages

parent 18e28884
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
# stages of the cicd pipeline
# stages:
#   - build
#   - test
#   - unittest
#   - integrationtest
#   - dependencies
#   - deploy
#   - functionaltest
stages:
  - build
  - test
  - unit_test
  - integ_test
  - dependencies
  - deploy
  - funct_test

# include the individual .gitlab-ci.yml of each micro-service
include: 
+3 −12
Original line number Diff line number Diff line
stages:
  - build
  - test
  - unittest
  - integrationtest
  - dependencies
  - deploy
  - functionaltest

# build, tag and push the Docker image to the gitlab registry
build monitoring:
  variables:
@@ -36,7 +27,7 @@ test monitoring pull:
  variables:
    IMAGE_NAME: 'monitoring' # name of the microservice
    IMAGE_TAG: 'latest' # tag of the container image (production, development, etc)
  stage: test
  stage: unit_test
  needs:
    - build monitoring
  before_script:
@@ -58,7 +49,7 @@ test monitoring run:
  variables:
    IMAGE_NAME: 'monitoring' # name of the microservice
    IMAGE_TAG: 'latest' # tag of the container image (production, development, etc)
  stage: test
  stage: unit_test
  needs:
    - build monitoring
  before_script:
@@ -84,7 +75,7 @@ test monitoring pytest:
    IMAGE_NAME: 'monitoring' # name of the microservice
    IMAGE_NAME_TEST: 'monitoring-test' # name of the microservice
    IMAGE_TAG: 'latest' # tag of the container image (production, development, etc)
  stage: unittest
  stage: unit_test
  needs:
    - build monitoring
  script: