diff --git a/create-zuul-jobs.py b/create-zuul-jobs.py index 765eafad8..43b127c5a 100755 --- a/create-zuul-jobs.py +++ b/create-zuul-jobs.py @@ -53,7 +53,8 @@ def create_job(name, data): _PROJECTS.sort() with open('./zuul.d/projects.yaml', 'w+') as zuul_projects: struct = [{'project': {'github-check': {'jobs': _PROJECTS}, - 'github-gate': {'jobs': _PROJECTS} + 'github-gate': {'jobs': _PROJECTS}, + 'github-experimental-trigger': {'jobs': ['architecture-downstream-va-hci-trigger-job']} } } ] diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 2fa21e081..1a13477c6 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -18,5 +18,8 @@ - rhoso-architecture-validate-uni05epsilon - rhoso-architecture-validate-uni06zeta - rhoso-architecture-validate-uni07eta + github-experimental-trigger: + jobs: + - architecture-downstream-va-hci-trigger-job github-gate: jobs: *id001 diff --git a/zuul.d/trigger-jobs.yaml b/zuul.d/trigger-jobs.yaml new file mode 100644 index 000000000..e8dff1aa5 --- /dev/null +++ b/zuul.d/trigger-jobs.yaml @@ -0,0 +1,13 @@ +- job: + name: architecture-downstream-va-hci-trigger-job + parent: downstream-va-hci-trigger-job + description: | + This job will trigger a VA HCI job downstream. + We can invoke this job by adding following comment + `\trigger github-experimental` in the github pull request comment. + These jobs runs in github-experimental-trigger pipeline. + files: + - ^lib + - ^examples/common + - ^examples/dt/hci + - ^va/hci