zuul-jobs/test-playbooks
James E. Blair f0d7c980b5 Handle no-sudo in stage-output
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
2021-05-31 15:47:57 -07:00
..
artifactory upload-artifactory: fix variable misspelling 2020-05-28 16:26:40 +02:00
base-roles Disable base role testing that runs code on localhost 2020-07-22 15:32:18 -07:00
build-roles Add Bazel build and ensure roles 2020-04-30 18:05:41 +01:00
container Create upload-container-image role 2020-11-13 15:04:27 -05:00
dhall Remove ansible-lint path exclusions 2021-04-27 08:22:32 +00:00
ensure-kubernetes ensure-kubernetes: workaround slow account creation 2020-09-17 13:04:54 +10:00
ensure-podman Add support for RedHat platforms on ensure-podman 2020-04-06 18:52:07 +01:00
haskell test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
javascripts test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
multinode Remove ansible-lint path exclusions 2021-04-27 08:22:32 +00:00
nimble Enable installing nimble siblings 2020-12-07 15:23:27 +01:00
packer Adds roles to install and run hashicorp packer 2020-04-13 16:44:32 +02:00
python Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
registry ensure-docker: ensure docker.socket is stopped 2021-04-20 18:44:37 -05:00
rust Add ensure-rust role 2020-08-25 09:04:43 +10:00
shake shake-build: add shake build system job 2020-05-28 12:48:16 +00:00
terraform Allow deleting workspace after running terraform destroy 2020-07-01 13:25:39 +02:00
tox test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
dstat-graph.yaml test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
ensure-docker.yaml ensure-docker: < 1500 MTU workaround 2020-10-06 11:26:15 +00:00
ensure-java.yaml Add ensure-java role 2020-02-21 06:55:47 -06:00
ensure-pip.yaml Partial revert "Ensure wheel exists for build-release-python"; move to ensure-pip 2020-06-18 12:51:56 +00:00
ensure-python-pyenv.yaml yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
ensure-tox.yaml Add option to install tox into a path location 2020-06-17 16:31:07 -05:00
ensure-zookeeper.yaml ensure-zookeeper: add use_tls role var 2021-02-17 16:06:36 -08:00
generate-zuul-manifest.yaml Add generate-zuul-manifest role 2019-07-23 09:43:55 -07:00
intercept-job.yaml intercept-job -- self-service SSH access 2021-04-23 15:14:06 +00:00
local-log-download.yaml local-log-download : role with script to download all log files 2020-04-01 07:41:26 +11:00
simple-role-test.yaml Add a simple test of the install-nodejs role 2019-06-27 14:04:57 -07:00
stage-output.yaml Handle no-sudo in stage-output 2021-05-31 15:47:57 -07:00
update-json-file.yaml update-json-file: avoid failure when destination does not exists 2021-02-12 13:26:49 +00:00
upload-git-mirror.yaml test-playbooks: avoid warnings with shell/command 2020-06-04 18:54:37 +01:00
upload-logs-s3.yaml Add upload-logs-s3 2020-07-19 21:22:36 +02:00