Commit 8475b8c5 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

k8s-configuration: specify engageska tags to get the right runner.

parent 6012c69e
Loading
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -77,7 +77,7 @@ build:csp-lmc-mid_image:

.test:
  tags:
    - minikube 
    - engageska
  artifacts:
    paths:
      - ./$BUILD_PATH/build/
@@ -89,15 +89,6 @@ test:csp-lmc-mid:
  stage: test
  script:
    - cd $BUILD_PATH  
    # todo: need to specify kubectl version (it is on makefile, maybe add this as a target?)
    - 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
    # install helm
    # todo: need to specify helm version (it is on makefile, maybe add this as a target?)
    - 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
    - export KUBE_NAMESPACE="ci-$CI_COMMIT_SHORT_SHA"
    - make k8s_test
  after_script: