Ansible job definitions for Zuul
Go to file
Benjamin Schanzel 5b66292c55 Multi Node/Context support for mirroring Git workspaces via kubectl
The mirroring of git workspaces to k8s pod nodes is done by piping a git
push command through `kubectl exec`. Without specifying a k8s context
for kubectl, the `current-context` from the kubeconfig is used. This is
problematic in multi-node scenarios where different nodes reside in
different namespaces and thus, are reachable via separate contexts.
Ansible cannot handle the context switch automatically as it would via
the inventory and its kubectl connection plugin because we are running
the git push from the executor/localhost.
This change makes sure the correct context of the corresponding node is
passed to `kubectl exec` explicitly, thus pushing the git repos to the
correct k8s pod.

Change-Id: Ic0b11b5860bb0062b3a1c068f4f963fb76018715
2020-08-17 15:48:14 +02:00
.rules Add linting rule to enforce no-same-owner policy 2020-06-18 11:06:45 +02:00
doc Add upload-logs-s3 2020-07-19 21:22:36 +02:00
playbooks Merge "Avoid to use 'length' filter with null value" 2020-08-06 13:36:52 +00:00
roles Multi Node/Context support for mirroring Git workspaces via kubectl 2020-08-17 15:48:14 +02:00
test-playbooks Disable base role testing that runs code on localhost 2020-07-22 15:32:18 -07:00
tests Add test cases for tox line comment parsing 2020-04-03 19:34:24 +02:00
tools Remove the -plain job variants 2020-06-17 11:47:54 +10:00
util-tasks Test multiarch release builds and use temp registry with buildx 2020-07-01 10:29:31 -07:00
zuul-tests.d ensure-docker: remove amd64 architecture pin 2020-08-14 10:30:03 +10:00
zuul.d dco-license: remove the empty nodeset 2020-07-22 14:46:41 +00:00
.ansible-lint Disable E208 for now 2020-08-14 09:56:25 +02:00
.gitignore Ensure wheel exists for build-release-python 2020-06-17 16:59:24 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
.yamllint yamlint: EOF newlines and comments indent 2020-05-14 08:42:17 +00:00
bindep.txt Fix py27 tox 2020-05-27 17:12:32 +02:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
linters-requirements.txt Bump ansible-lint to 4.3.0 2020-05-28 16:48:14 +01:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
test-constraints.txt Fix py27 tox 2020-05-27 17:12:32 +02:00
test-requirements.txt Add upload-logs-s3 2020-07-19 21:22:36 +02:00
tox.ini Bump ansible-lint to 4.3.0 2020-05-28 16:48:14 +01:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.