From 3e147f11e56f9544a2bcef1890b986122d41e65c Mon Sep 17 00:00:00 2001 From: ginger Date: Nov 30 2021 15:00:31 +0000 Subject: remove check-for-tests job and its playbook Signed-off-by: ginger --- diff --git a/playbooks/rpm/check-for-tests.yaml b/playbooks/rpm/check-for-tests.yaml deleted file mode 100644 index 8ae38cd..0000000 --- a/playbooks/rpm/check-for-tests.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -- hosts: localhost - tasks: - - name: Check for tests/tests.yml exists - stat: - path: "{{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tests/tests.yml" - register: tests_stat - - zuul_return: - data: - zuul: - child_jobs: - - rpm-test - when: tests_stat.stat.exists - - zuul_return: - data: - zuul: - child_jobs: - - rpm-install-test - when: not tests_stat.stat.exists diff --git a/zuul.d/jobs.dhall b/zuul.d/jobs.dhall index f7845e8..431cf92 100644 --- a/zuul.d/jobs.dhall +++ b/zuul.d/jobs.dhall @@ -74,15 +74,6 @@ let executor_nodeset = Zuul.Nodeset.Inline Zuul.Nodeset.empty let default_nodeset = Nodesets.getName Nodesets.Type.Fedora-34-Container -let check_for_tests = - Zuul.Job::{ - , name = "${job-prefix}check-for-tests" - , description = Some "Check the project has a tests/tests.yml" - , branches = Some Branches.allText - , run = Some "playbooks/rpm/check-for-tests.yaml" - , nodeset = Some executor_nodeset - } - let check_for_sti_tests = Zuul.Job::{ , name = "${job-prefix}check-for-sti-tests" @@ -308,7 +299,6 @@ let generateTMTTestsJobs = let Jobs = [ clean_stalled_koji_tasks - , check_for_tests , check_for_sti_tests , check_for_fmf_tests , check_for_arches diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 51ebafd..92b6941 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -13,20 +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 - - f35 - - f34 - - f33 - - epel8 - - 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