Commit 474bcbb5 authored by Matteo Di Carlo's avatar Matteo Di Carlo
Browse files

4DEBUG keep namespace

parent f02db72e
Loading
Loading
Loading
Loading
Loading
+6 −24
Original line number Diff line number Diff line
@@ -107,14 +107,9 @@ integration:csp-lmc-mid:
  script:
    - cd $BUILD_PATH  
    - make k8s_test
    - ls -lR
  environment:
      name: test
  after_script:
    - cd $BUILD_PATH  
    - pwd
    - make delete
    - make delete_namespace


# linting stage
#
@@ -185,34 +180,21 @@ publish:csp-lmc-mid:
  variables:
    BUILD_PATH: csp-lmc-mid

publish:helm-chart:
  stage: publish
  tags:
    - docker-executor
  dependencies:
    - integration:csp-lmc-mid
  script:
    - cd $BUILD_PATH
    - make package
  variables:
    BUILD_PATH: csp-lmc-mid
  artifacts:
    paths:
      - ./$BUILD_PATH/build/
#
# Release csp-lmc-mid image on nexus
#
release csp-lmc-mid image:
  stage: release
  image: nexus.engageska-portugal.pt/ska-docker/tango-builder:latest
  before_script:
  - docker login -u $DOCKER_REGISTRY_USERNAME -p $DOCKER_REGISTRY_PASSWORD $DOCKER_REGISTRY_HOST
  tags:
    - docker-executor
  stage: release
  dependencies:
    - build:csp-lmc-mid_image
  script:
    - cd $BUILD_PATH      
    - make push
  when: manual
  only:
    refs:
      - master
  variables:
    BUILD_PATH: csp-lmc-mid