#169 remove the check-for-tests job
Closed a year ago by fbo. Opened a year ago by fbo.
fbo/fedora-zuul-jobs-config rm-check-for-tests  into  master

@@ -1,20 +0,0 @@ 

- ---

- - hosts: localhost

-   tasks:

-     - name: Check for tests/tests*.yml exists

-       shell: "ls tests/tests*.yml"

-       failed_when: false

-       register: tests_stat

-       args:

-         chdir: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}"

-     - zuul_return:

-         data:

-           zuul:

-             child_jobs:

-               - rpm-test

-       when: tests_stat.rc == 0

-     - zuul_return:

-         data:

-           zuul:

-             child_jobs: []

-       when: not tests_stat.rc == 0

file modified
-15
@@ -13,21 +13,6 @@ 

          secret: krb_keytab

  

  - job:

-     name: check-for-tests

-     description: Check the project has a tests/tests.yml

-     run: playbooks/rpm/check-for-tests.yaml

-     branches:

-       - rawhide

-       - f37

-       - f36

-       - f35

-       - epel8

-       - epel9

-       - main

-     nodeset:

-       nodes: []

- 

- - job:

      name: check-for-sti-tests

      description: Check the project has a tests/tests.yml

      run: playbooks/rpm/check-for-sti-tests.yaml

Zuul encountered a syntax error while parsing its configuration in the
repo fedora-zuul-jobs on branch master. The error was:

Job check-for-tests not defined

The error appears in the following project-template stanza:

project-template:
name: test
check:
jobs:
- check-for-tests:
dependencies:
- rpm-scratch-build
- check-for-sti-tests:
dependencies:
- rpm-scratch-build
- check-for-fmf-tests:
dependencies:
- rpm-scratch-build
- rpm-install-test:
dependencies:
- rpm-scratch-build
- rpm-test:
dependencies:
- check-for-tests
- rpm-scratch-build
- rpm-tmt-test:
dependencies:
- check-for-fmf-tests
- rpm-scratch-build
- rpm-sti-test:
dependencies:
- check-for-sti-tests
- rpm-scratch-build

in "fedora-zuul-jobs/zuul.d/templates.yaml@master", line 32, column 3

Zuul encountered a syntax error while parsing its configuration in the
repo fedora-zuul-jobs on branch master. The error was:

Job check-for-tests not defined

The error appears in the following project-template stanza:

project-template:
name: test
check:
jobs:
- check-for-tests:
dependencies:
- rpm-scratch-build
- check-for-sti-tests:
dependencies:
- rpm-scratch-build
- check-for-fmf-tests:
dependencies:
- rpm-scratch-build
- rpm-install-test:
dependencies:
- rpm-scratch-build
- rpm-test:
dependencies:
- check-for-tests
- rpm-scratch-build
- rpm-tmt-test:
dependencies:
- check-for-fmf-tests
- rpm-scratch-build
- rpm-sti-test:
dependencies:
- check-for-sti-tests
- rpm-scratch-build

in "fedora-zuul-jobs/zuul.d/templates.yaml@master", line 32, column 3

Pull-Request has been closed by fbo

a year ago