Page MenuHomeSoftware Heritage

jobs/tools: Add swh-jenkins-dockerfiles job for gitlab repository
ClosedPublic

Authored by anlambert on Jan 4 2023, 5:23 PM.

Details

Summary

This job rebuild the docker images used by Jenkins to run jobs.
It will be triggered on push events for the swh-jenkins-dockerfiles
repository hosted on SWH GitLab.

Diff Detail

Repository
rCJSWH Jenkins jobs
Branch
gitlab-swh-jenkins-dockerfiles
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 33423
Build 52392: arc lint + arc unit

Event Timeline

Fix variable substitution in yaml configuration

ardumont added a subscriber: ardumont.

lotm (looks ok to me ;)

some questions inline.

jobs/tools/dockerfiles.yaml
27

shouldn't the workspace be cleaned up?

28

is it required at all (since it's empty and phab specifics, maybe just drop it)

or is it somehow to empty that key's associated value (coming from &swh_jenkins_dockerfiles)?

This revision is now accepted and ready to land.Jan 5 2023, 2:33 PM
jobs/tools/dockerfiles.yaml
27

Phabricator job do not cleanup so I kept the same behavior, not sure if it is required.

28

Setting auth-token to empty deactivates the Jenkins endpoints to start jobs through HTTP requests (which is what Phabricator uses).
Gitlab plugin for Jenkins setups its own endpoints for starting jobs through webhooks.

This setting will go away when Phabricator related jobs will be removed from the Jenkins configuration (once we fully migrated to GitLab).

jobs/tools/dockerfiles.yaml
27

ok

28

ok