This commit is contained in:
2024-04-24 09:31:56 +02:00
parent fae6b2acc0
commit 9e62f9f993
6 changed files with 107 additions and 18 deletions

View File

@@ -50,12 +50,14 @@ spec:
value: /etc/templates
- name: WORKSPACE_SSH_DIRECTORY_PATH
value: $(workspaces.ssh-directory.path)
- name: NAMESPACE
value: $(context.taskRun.namespace)
script: |-
#!/usr/bin/env bash
. ${TEMPLATE_ROOT}/functions.sh
cleanup
git_prepare "$(params.deploy-url)" "Auto CD" "autocd@$(params.domain-name)"
delete_prj
delete_prj "$@"
git_push "Removing $(params.project-name)"
cleanup
volumeMounts: