Browse Source

Move kata-run to this repo

We rename the job to kata-runsh to satisify the unique job name
constraint. This allows the job to be self testing with a depends on on
the github side PRs.

Change-Id: I7b0722c120c1e0a1f6315e75f739fa29baab1738
changes/26/573426/1
Clark Boylan 1 year ago
parent
commit
d729b17f1f
3 changed files with 25 additions and 0 deletions
  1. 6
    0
      playbooks/kata-runsh/pre.yaml
  2. 6
    0
      playbooks/kata-runsh/run.yaml
  3. 13
    0
      zuul.d/jobs.yaml

+ 6
- 0
playbooks/kata-runsh/pre.yaml View File

@@ -0,0 +1,6 @@
1
+- hosts: all
2
+  tasks:
3
+    - name: Run kata setup.sh
4
+      args:
5
+        chdir: "{{ zuul.project.src_dir }}"
6
+      command: ".ci/setup.sh"

+ 6
- 0
playbooks/kata-runsh/run.yaml View File

@@ -0,0 +1,6 @@
1
+- hosts: all
2
+  tasks:
3
+    - name: Run kata run.sh
4
+      args:
5
+        chdir: "{{ zuul.project.src_dir }}"
6
+      command: ".ci/run.sh"

+ 13
- 0
zuul.d/jobs.yaml View File

@@ -1441,3 +1441,16 @@
1441 1441
       This uses the make target ``test``.
1442 1442
     vars:
1443 1443
       golang_target: "test"
1444
+
1445
+- job:
1446
+    name: kata-runsh
1447
+    parent: base
1448
+    description: |
1449
+      Run kata's setup.sh and run.sh CI scripts
1450
+    pre-run: playbooks/kata-runsh/pre.yaml
1451
+    run: playbooks/kata-runsh/run.yaml
1452
+    timeout: 3600
1453
+    nodeset:
1454
+      nodes:
1455
+        - name: ubuntu-bionic
1456
+          label: ubuntu-bionic-vexxhost

Loading…
Cancel
Save