Commit c3ff9dd3 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Improved GitLab CI pipeline for context and device services

parent a3e73f06
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ build context:
      - .gitlab-ci.yml

# Pull, execute, and run unitary tests for the Docker image from the GitLab registry
test unitary context:
test context:
  variables:
    IMAGE_NAME: 'context' # name of the microservice
    IMAGE_NAME_TEST: 'context-test' # name of the microservice
@@ -49,7 +49,7 @@ deploy context:
  stage: deploy
  needs:
    - build context
    - test unitary context
    - test context
  script:
    - kubectl version
    - kubectl get all
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ build device:
      - .gitlab-ci.yml

# Pull, execute, and run unitary tests for the Docker image from the GitLab registry
test unitary device:
test device:
  variables:
    IMAGE_NAME: 'device' # name of the microservice
    IMAGE_NAME_TEST: 'device-test' # name of the microservice
@@ -49,7 +49,7 @@ deploy device:
  stage: deploy
  needs:
    - build device
    - test unitary device
    - test device
  script:
    - kubectl apply -f "manisfests/deviceservice.yaml"
  when: manual