Browse Source

Merge "Fix container job documentation typo"

tags/3.4.0
Zuul 5 months ago
parent
commit
7d3ad9a7aa

+ 2
- 2
doc/source/user/jobs.rst View File

@@ -463,7 +463,7 @@ of item.
463 463
             - hosts: localhost
464 464
                 tasks:
465 465
                 - name: Create a k8s resource
466
-                    k8s_raw:
466
+                  k8s_raw:
467 467
                     state: present
468 468
                     context: "{{ zuul.resources['node-name'].context }}"
469 469
                     namespace: "{{ zuul.resources['node-name'].namespace }}"
@@ -475,7 +475,7 @@ of item.
475 475
             - hosts: localhost
476 476
                 tasks:
477 477
                 - name: Copy src repos to the pod
478
-                    command: >
478
+                  command: >
479 479
                     oc rsync -q --progress=false
480 480
                         {{ zuul.executor.src_root }}/
481 481
                         {{ zuul.resources['node-name'].pod }}:src/

+ 1
- 1
tests/fixtures/config/container-build-resources/git/common-config/playbooks/container-machine.yaml View File

@@ -1,6 +1,6 @@
1 1
 - hosts: localhost
2 2
   tasks:
3
-    # We except a namespace, a context and a pod name
3
+    # We expect a namespace, a context and a pod name
4 4
     - assert:
5 5
         that:
6 6
           - zuul.resources.container.namespace == 'zuul-ci-abcdefg'

+ 1
- 1
tests/fixtures/config/container-build-resources/git/common-config/playbooks/container-native.yaml View File

@@ -1,6 +1,6 @@
1 1
 - hosts: localhost
2 2
   tasks:
3
-    # We except a namespace and a context
3
+    # We expect a namespace and a context
4 4
     - assert:
5 5
         that:
6 6
           - zuul.resources.cluster1.namespace == 'zuul-ci-abcdefg'

Loading…
Cancel
Save