From 3064409a56263b1b34b1eeb20904984cf29a6ac1 Mon Sep 17 00:00:00 2001 From: David Hoese <david.hoese@ssec.wisc.edu> Date: Fri, 24 Jul 2020 14:33:29 -0500 Subject: [PATCH] Change back to kubectl alias and remove job dependencies --- .gitlab-ci.yml | 2 ++ helpers/create_pvc.sh | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2431be2..8e3e702 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,6 +65,8 @@ create geotiff storage: - cp $kubekorner_k3s_config . - kubeconfig=$(basename $kubekorner_k3s_config) - ./helpers/create_pvc.sh "$ns" "production/geotiff-pvc.yaml" "$kubeconfig" + # this job doesn't actually need any artifacts from previous jobs + dependencies: [] rules: - changes: - production/geotiff-pvc.yaml diff --git a/helpers/create_pvc.sh b/helpers/create_pvc.sh index 04930f0..bb61979 100755 --- a/helpers/create_pvc.sh +++ b/helpers/create_pvc.sh @@ -26,6 +26,4 @@ if [[ $CI_PIPELINE_SOURCE == "pipeline" ]]; then fi fi -docker run --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl $EXTRA_ARGS replace -f $pvc -#docker run --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl $EXTRA_ARGS apply -f $pvc -#kubectl $EXTRA_ARGS replace -f $pvc \ No newline at end of file +kubectl $EXTRA_ARGS replace -f $pvc \ No newline at end of file -- GitLab