Merge "Fix container job documentation typo"
This commit is contained in:
commit
7d3ad9a7aa
|
@ -463,7 +463,7 @@ of item.
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
tasks:
|
tasks:
|
||||||
- name: Create a k8s resource
|
- name: Create a k8s resource
|
||||||
k8s_raw:
|
k8s_raw:
|
||||||
state: present
|
state: present
|
||||||
context: "{{ zuul.resources['node-name'].context }}"
|
context: "{{ zuul.resources['node-name'].context }}"
|
||||||
namespace: "{{ zuul.resources['node-name'].namespace }}"
|
namespace: "{{ zuul.resources['node-name'].namespace }}"
|
||||||
|
@ -475,7 +475,7 @@ of item.
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
tasks:
|
tasks:
|
||||||
- name: Copy src repos to the pod
|
- name: Copy src repos to the pod
|
||||||
command: >
|
command: >
|
||||||
oc rsync -q --progress=false
|
oc rsync -q --progress=false
|
||||||
{{ zuul.executor.src_root }}/
|
{{ zuul.executor.src_root }}/
|
||||||
{{ zuul.resources['node-name'].pod }}:src/
|
{{ zuul.resources['node-name'].pod }}:src/
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
tasks:
|
tasks:
|
||||||
# We except a namespace, a context and a pod name
|
# We expect a namespace, a context and a pod name
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- zuul.resources.container.namespace == 'zuul-ci-abcdefg'
|
- zuul.resources.container.namespace == 'zuul-ci-abcdefg'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
tasks:
|
tasks:
|
||||||
# We except a namespace and a context
|
# We expect a namespace and a context
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- zuul.resources.cluster1.namespace == 'zuul-ci-abcdefg'
|
- zuul.resources.cluster1.namespace == 'zuul-ci-abcdefg'
|
||||||
|
|
Loading…
Reference in New Issue