zuul-jobs/test-playbooks
James E. Blair 82d3910b17 More narrowly tailor the ensure-pip Debian workaround
The docker image that we build the zuul executor from is a Debian
image, but it does not follow the same python3 policies as Debian
itself.  While we would not necessarily expect all roles to work
on the executor, it is reasonable to want to use the ensure-pip
role (which logically should be a no-op on the executor) for the
side effect of finding and returning the appropriate pip command.

Currently, the role fails on the executor because it mistakenly
concludes that it must install python3-venv to get a working
venv module.  By increasing the precision of the check for what
is missing (the actual error is a missing "ensurepip" python module
(oh irony!), we can avoid attempting an installation of
python3-venv on python docker images (including the Zuul executor
images).

This also adds the ensure-pip-localhost job

This tests that the ensure-pip role works on the Zuul executor.

The executor is a debian host with a working python environment,
so it should be a no-op (and no packages should need to be installed).

Change-Id: Id7f13f2f73d45e680f79c00a83751b185212a63d
2022-10-04 11:35:24 -07:00
..
artifactory Switch docs theme to RTD 2021-12-16 06:48:49 -08:00
base-roles configure-mirrors: fix stripped newline 2022-03-01 11:10:30 +11: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
ensure-skopeo Add ensure-skopeo role 2021-05-25 16:38:00 +02:00
general fetch-translation-output: introduce zuul_use_fetch_output 2021-06-08 20:38:25 +00: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 redundant ssh known hosts prep 2022-09-12 12:55:24 -07: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 setup.py: override modules to stop auto-detection 2022-07-27 11:14:06 +10:00
registry linters: rename loop variable 2022-07-27 17:06:30 +10:00
rust ensure-rust: verify cryptography build on Ubuntu 2021-10-04 13:44:19 +11: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 linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
encrypt-file.yaml Fix encrypt files stat validation 2022-03-17 10:56:13 -07:00
ensure-docker.yaml linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
ensure-java.yaml Add ensure-java role 2020-02-21 06:55:47 -06:00
ensure-pip-localhost.yaml More narrowly tailor the ensure-pip Debian workaround 2022-10-04 11:35:24 -07:00
ensure-pip.yaml linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
ensure-python-pyenv.yaml yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
ensure-tox.yaml linters: standardise on newline at end of file 2022-07-28 16:19:06 +10: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 Improve stage-output functional test 2022-09-06 16:16:12 -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 upload-git-mirror: fix ssh key newline 2022-07-27 14:42:00 +10:00
upload-logs-s3.yaml Fix zuul-jobs-test-upload-logs-s3 job 2021-11-16 16:20:33 +00:00