init
This commit is contained in:
parent
5c9fa9337f
commit
2db7e72d88
@ -26,7 +26,7 @@ spec:
|
||||
description: Workspace containing the built artifacts
|
||||
steps:
|
||||
- name: upload-to-pypi
|
||||
image: python:$(params.python-version)-slim # python-version을 고정하거나 params로 받을 수 있음
|
||||
image: python:$(params.python-version)-slim
|
||||
script: |
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
apiVersion: tekton.dev/v1
|
||||
kind: Task
|
||||
metadata:
|
||||
name: remove-pvc
|
||||
spec:
|
||||
params:
|
||||
- name: pvc-name
|
||||
type: string
|
||||
description: Name of the PVC to delete
|
||||
steps:
|
||||
- name: delete-pvc
|
||||
image: bitnami/kubectl:latest
|
||||
script: |
|
||||
#!/usr/bin/env bash
|
||||
|
||||
kubectl delete pvc $(params.pvc-name) -n gitops-ci --ignore-not-found=true
|
||||
echo "PVC $(params.pvc-name) deleted."
|
Loading…
x
Reference in New Issue
Block a user