The CI job for publishing blindly assumes a single image called production.
For the Kartotherian project, which has 2 services, this is not true.
CI publication thus fails, so changes merge but no images are published.
The CI job for publishing blindly assumes a single image called production.
For the Kartotherian project, which has 2 services, this is not true.
CI publication thus fails, so changes merge but no images are published.
Change 534419 had a related patch set uploaded (by Mathew.onipe; owner: Mathew.onipe):
[mediawiki/services/kartotherian@master] Define config pipeline for kartotherian and tilerator
To use config.yaml there are a few tweaks needed in integration/config (I should update the docs on wikitech). Also, pinging @dduvall to tell me if any of what I've written here is totally wrong :)
Currently, kartotherian is setup to use the default pipeline trigger job: https://gerrit.wikimedia.org/r/plugins/gitiles/integration/config/+/master/zuul/layout.yaml#7215
That job runs through the variants test and production and ignores other variants.
To use custom pipelines you need to:
It looks like you have 2 pipelines that you want to use in place of the test-and-publish job that happens on postmerge and publish. To achieve that, you'd update jjb/project-pipelines.yaml to create a job for each pipeline and a trigger for each job:
- project: name: kartotherian pipeline: - kartotherian - tilerator jobs: - 'trigger-{name}-pipeline-{pipeline}' - '{name}-pipeline-{pipeline}'
This will create the jobs to trigger and run the pipelines in jenkins.
Now that you have jobs to run, you can trigger them on postmerge of your repository by updating the record for mediawiki/services/kartotherian:
- name: mediawiki/services/kartotherian template: - name: service-pipeline-test test: - kartotherian-node10-browser-docker gate-and-submit: - kartotherian-node10-browser-docker postmerge: - trigger-kartotherian-pipeline-kartotherian - trigger-kartotherian-pipeline-tilerator publish: - trigger-kartotherian-pipeline-kartotherian - trigger-kartotherian-pipeline-tilerator
Change 537689 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[integration/config@master] jjb: Define pipeline jobs for kartotherian and tilerator
Change 537690 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[integration/config@master] layout: Use trigger-kartotherian-pipeline-kartotherian and trigger-kartotherian-pipeline-tilerator
Change 537689 merged by jenkins-bot:
[integration/config@master] jjb: Define pipeline jobs for kartotherian and tilerator
Change 537690 merged by jenkins-bot:
[integration/config@master] layout: Use trigger-kartotherian-pipeline-kartotherian and trigger-kartotherian-pipeline-tilerator
Mentioned in SAL (#wikimedia-releng) [2019-09-18T17:19:41Z] <James_F> Zuul: T231928 Migrate kartotherian to custom pipeline jobs
Change 534419 merged by jenkins-bot:
[mediawiki/services/kartotherian@master] Define config pipeline for kartotherian and tilerator
Mentioned in SAL (#wikimedia-releng) [2019-09-18T18:47:45Z] <James_F> T231928 terminating endlessly-running attempts to build kartotherian and tilerator