diff options
author | Oliver Smith <osmith@sysmocom.de> | 2021-02-11 13:25:04 +0100 |
---|---|---|
committer | osmith <osmith@sysmocom.de> | 2021-02-11 18:03:38 +0000 |
commit | e99cb64e2e75c467b59ade0e9547d7e8a2d1cf41 (patch) | |
tree | abaf4efe942d9d13c2c1af49ee31fb7370bc7f21 | |
parent | 7433811c623f23fe3f520e03ad40874a21efe9c3 (diff) |
jobs/registry-triggers: add for osmo-ttcn3-hacks
Trigger registry-rebuild-upload-titan on changes in
osmo-ttcn3-hacks.git. Write registry-triggers.yml with a job template,
so we could add more triggers from git repos -> registry easily if
needed in the future.
Related: OS#5017
Change-Id: Ib6a27be6351ce821c7023a1f75a82b1ade2ffa49
-rw-r--r-- | jobs/registry-triggers.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/jobs/registry-triggers.yml b/jobs/registry-triggers.yml new file mode 100644 index 0000000..0763496 --- /dev/null +++ b/jobs/registry-triggers.yml @@ -0,0 +1,32 @@ +- project: + name: registry-triggers + jobs: + - 'registry-trigger-{repos}' + repos: + - osmo-ttcn3-hacks: + # Cache is invalidated on changes in deps/Makefile (OS#5017) + trigger: > + registry-rebuild-upload-titan + +- job-template: + name: 'registry-trigger-{repos}' + description: | + Update registry.osmocom.org after changes in {repos}. + node: osmocom-master-debian9 + scm: + - git: + url: git://git.osmocom.org/{repos} + branches: + - 'origin/master' + trigger: + email: jenkins-notifications@lists.osmocom.org + triggers: + - pollscm: + cron: "H/5 * * * *" + ignore-post-commit-hooks: false + - timed: "H H * * *" + publishers: + - trigger: + project: '{obj:trigger}' + +# vim: expandtab tabstop=2 shiftwidth=2 |