f0d7c980b5
The stage-output role had two assumptions: 1) The zuul_copy_output variable would always be defined 2) The role would be able to sudo on the remote node To make it easier for users who want to use this in a base job, remove both of those assumptions. 1) We now supply a default empty dict if the variable is not defined so that the role does not fail with an error. 2) We check to see if we can sudo on the remote node, and if we can, we do when copying files; otherwise we don't, and assume that the user will only specify files they have access to (if they don't then the copy will fail). Change-Id: I5428c44adfafac4872342b59a92de311f41687b6 |
||
---|---|---|
.. | ||
build-roles-jobs.yaml | ||
cloud-roles-jobs.yaml | ||
container-roles-jobs.yaml | ||
dhall.yaml | ||
general-roles-jobs.yaml | ||
go-jobs.yaml | ||
haskell.yaml | ||
java-jobs.yaml | ||
jobs.yaml | ||
js-roles-jobs.yaml | ||
launchpad-roles-jobs.yaml | ||
logs-jobs.yaml | ||
nim-jobs.yaml | ||
packer-jobs.yaml | ||
project.yaml | ||
puppet-roles-jobs.yaml | ||
python-jobs.yaml | ||
python-roles-jobs.yaml | ||
rust-jobs.yaml | ||
terraform-jobs-roles.yaml | ||
test-constraints.txt |