This commit is contained in:
병준 박 2025-04-10 12:34:45 +00:00
parent 5c9fa9337f
commit 2db7e72d88
2 changed files with 1 additions and 18 deletions

View File

@ -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

View File

@ -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."