diff --git a/task/orka-deploy/0.1/orka-deploy.yaml b/task/orka-deploy/0.1/orka-deploy.yaml index a3b51b99..c2c0c539 100644 --- a/task/orka-deploy/0.1/orka-deploy.yaml +++ b/task/orka-deploy/0.1/orka-deploy.yaml @@ -88,6 +88,15 @@ spec: description: | The name of the key in the VM name config map, which stores the name of the generated VM configuration. default: vm-name + - name: user-home + type: string + default: /tekton/home + description: Absolute path to the user's home directory. + stepTemplate: + env: + - name: HOME + value: $(params.user-home) + workingDir: /workspace steps: - name: copy-script image: docker.io/macstadium/orka-tekton-runner:2020-10-23-a93757dc-0.1@sha256:e8ed3370dcb91cdb8bcd4e9a7e9f6652879d80acdab9644cda69a98cd8c93339 diff --git a/task/orka-full/0.1/orka-full.yaml b/task/orka-full/0.1/orka-full.yaml index 6fd9863c..78c30f7f 100644 --- a/task/orka-full/0.1/orka-full.yaml +++ b/task/orka-full/0.1/orka-full.yaml @@ -91,6 +91,15 @@ spec: If ssh-key is true, this parameter should specify the name of the key in the VM SSH credentials secret that holds the private SSH key. default: password + - name: user-home + type: string + default: /tekton/home + description: Absolute path to the user's home directory. + stepTemplate: + env: + - name: HOME + value: $(params.user-home) + workingDir: /workspace steps: - name: copy-script image: docker.io/macstadium/orka-tekton-runner:2020-10-23-a93757dc-0.1@sha256:e8ed3370dcb91cdb8bcd4e9a7e9f6652879d80acdab9644cda69a98cd8c93339