Commit 35576f02 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

CT-147: try to fix problem in running test pipeline

parent e55ed873
Loading
Loading
Loading
Loading
Loading
+3 −11
Original line number Diff line number Diff line
@@ -103,21 +103,13 @@ integration:csp-lmc-mid:
  tags:
    - auto-k8sv2
  extends: .test
  image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
  image: nexus.engageska-portugal.pt/ska-docker/deploy:0.4.1
  script:
    - curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.2/bin/linux/amd64/kubectl
    - chmod +x ./kubectl
    - sudo mv ./kubectl /usr/local/bin/kubectl      
    - curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
    - chmod 700 get_helm.sh
    - ./get_helm.sh
    - kubectl get pod --all-namespaces
    - kubectl get namespaces
    - cd $BUILD_PATH  
    - export KUBE_NAMESPACE="ci-$CI_COMMIT_SHORT_SHA"
    - make k8s_test
  environment:
      name: test
  after_script:
    - export KUBE_NAMESPACE="ci-$CI_COMMIT_SHORT_SHA"
    - cd $BUILD_PATH  
    - pwd
    - make delete