diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2431be21bd3476bfd56df0f41db04d80db2eec99..8e3e702ff3ef61135f60bedebd82539a9eea5074 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 04930f0402ec264e02ec601c96fca4595556e2cf..bb619792ac59c3dcf6819b1d19515d2c9ec3fcf6 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