diff --git a/tasks/pypi/task.yaml b/tasks/pypi/task.yaml index e8e1f03..540c437 100644 --- a/tasks/pypi/task.yaml +++ b/tasks/pypi/task.yaml @@ -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 diff --git a/tasks/remove-pvc/task.yaml b/tasks/remove-pvc/task.yaml deleted file mode 100644 index 45496c5..0000000 --- a/tasks/remove-pvc/task.yaml +++ /dev/null @@ -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." \ No newline at end of file