Skip to content
Snippets Groups Projects
Verified Commit 3064409a authored by David Hoese's avatar David Hoese
Browse files

Change back to kubectl alias and remove job dependencies

parent 0f51faf8
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,8 @@ create geotiff storage: ...@@ -65,6 +65,8 @@ create geotiff storage:
- cp $kubekorner_k3s_config . - cp $kubekorner_k3s_config .
- kubeconfig=$(basename $kubekorner_k3s_config) - kubeconfig=$(basename $kubekorner_k3s_config)
- ./helpers/create_pvc.sh "$ns" "production/geotiff-pvc.yaml" "$kubeconfig" - ./helpers/create_pvc.sh "$ns" "production/geotiff-pvc.yaml" "$kubeconfig"
# this job doesn't actually need any artifacts from previous jobs
dependencies: []
rules: rules:
- changes: - changes:
- production/geotiff-pvc.yaml - production/geotiff-pvc.yaml
......
...@@ -26,6 +26,4 @@ if [[ $CI_PIPELINE_SOURCE == "pipeline" ]]; then ...@@ -26,6 +26,4 @@ if [[ $CI_PIPELINE_SOURCE == "pipeline" ]]; then
fi fi
fi fi
docker run --rm -v $(pwd):/apps -w /apps alpine/k8s:1.18.2 kubectl $EXTRA_ARGS replace -f $pvc 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 \ No newline at end of file
#kubectl $EXTRA_ARGS replace -f $pvc
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment