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,14 +50,16 @@ 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)"
install_base
create_prj
activate_prj
create_prj "$@"
activate_prj "$@"
git_push "Activating $(params.project-name)"
cleanup
volumeMounts: