jenkinsci / docker-agent

Jenkins agent (base image) and inbound agent Docker images
https://hub.docker.com/r/jenkins/inbound-agent/
MIT License
282 stars 228 forks source link

chore: rename jdk scripts and add updatecli manifest #810

Closed lemeurherve closed 3 months ago

lemeurherve commented 3 months ago

This PR renames the jdk scripts introduced in #786 according to https://github.com/jenkins-infra/shared-tools/pull/148 and add updatecli manifests to track their changes from an unique source:

Having a common source for these scripts will allow adding updatecli manifests in these repositories to track their changes from a single source of trust while controlling their lifecycle independently.

It would also allow introducing tests for these scripts that could be run from the pipeline of this repo without needing them in all consumer repositories.

Follow-up of:

I've intentionally kept the existing scripts content to validate the new updatecli manifests after this PR.

Testing done

Ran a linux images build + updatecli diff locally

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue