Loading csp-lmc-mid/.gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,12 @@ test:csp-lmc-mid: stage: test image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest 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 - cd $BUILD_PATH - export KUBE_NAMESPACE="ci-$CI_COMMIT_SHORT_SHA" - make k8s_test Loading csp-lmc-mid/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -63,8 +63,10 @@ KUBE_CONFIG_BASE64 ?= ## base64 encoded kubectl credentials for KUBECONFIG KUBECONFIG ?= /etc/deploy/config ## KUBECONFIG location XAUTHORITYx ?= ${XAUTHORITY} ifneq ($(CI_JOB_ID),) THIS_HOST := $(shell ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' | head -n1) DISPLAY := $(THIS_HOST):0 endif # define private overrides for above variables in here -include PrivateRules.mak Loading Loading
csp-lmc-mid/.gitlab-ci.yml +6 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,12 @@ test:csp-lmc-mid: stage: test image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest 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 - cd $BUILD_PATH - export KUBE_NAMESPACE="ci-$CI_COMMIT_SHORT_SHA" - make k8s_test Loading
csp-lmc-mid/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -63,8 +63,10 @@ KUBE_CONFIG_BASE64 ?= ## base64 encoded kubectl credentials for KUBECONFIG KUBECONFIG ?= /etc/deploy/config ## KUBECONFIG location XAUTHORITYx ?= ${XAUTHORITY} ifneq ($(CI_JOB_ID),) THIS_HOST := $(shell ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' | head -n1) DISPLAY := $(THIS_HOST):0 endif # define private overrides for above variables in here -include PrivateRules.mak Loading