Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SAP/stewardci-jenkinsfilerunner-image
This project contains the sources for Docker image creation of the Jenkinsfile runner to be used in project stewardci-core
https://github.com/SAP/stewardci-jenkinsfilerunner-image
Last synced: 3 months ago
JSON representation
This project contains the sources for Docker image creation of the Jenkinsfile runner to be used in project stewardci-core
- Host: GitHub
- URL: https://github.com/SAP/stewardci-jenkinsfilerunner-image
- Owner: SAP
- License: apache-2.0
- Created: 2019-07-09T11:57:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-25T05:18:12.000Z (5 months ago)
- Last Synced: 2024-06-25T07:56:16.374Z (5 months ago)
- Language: Shell
- Size: 1.71 MB
- Stars: 6
- Watchers: 5
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README-DEV.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Developer documentation
### Build process
Our Jenkinsfile Runner Image is being built in two steps.
## jenkinsfile-runner-base-image
The `jenkinsfile-runner-base-image` folder contains all the configuration files which are used by the Jenkins [Custom WAR Packager] to build an intermediate Docker image containing:
- [Jenkins base image](jenkinsfile-runner-base-image/packager-config.yml#L21)
- [Jenkins.war](jenkinsfile-runner-base-image/packager-config.yml#L25)
- [Jenkins plugins](jenkinsfile-runner-base-image/packager-config.yml#L46)
- [Configuration as Code](jenkinsfile-runner-base-image/casc.yml)## jenkinsfile-runner-steward-image
The `jenkinsfile-runner-steward-image` folder contains a Dockerfile which defines to [copy](jenkinsfile-runner-steward-image/Dockerfile#L19)
the required files from the intermediate image (from the previous step) to the finally used [adoptopenjdk base image](jenkinsfile-runner-steward-image/Dockerfile#L3).## Development Process
To update the Jenkins version and the plugin versions simply call the [update.sh](update.sh) script, which will utilize the scripts from the [update/](update) folder.
The file [jenkinsfile-runner-base-image/plugins.txt](jenkinsfile-runner-base-image/plugins.txt) defines the plugins we require.
The [update/updatePlugins.sh](update/updatePlugins.sh) reads this plugins list and updates the [technical dependencies](jenkinsfile-runner-base-image/packager-config.yml#L61)
to those plugins, including all required transitive dependencies.[Custom WAR Packager]: https://github.com/jenkinsci/custom-war-packager
[Jenkinsfile Runner]: https://github.com/jenkinsci/jenkinsfile-runner
[Jenkins]: https://github.com/jenkinsci/jenkins