Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy up Jenkinsfile.* into "meta" #121

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

tianon
Copy link
Member

@tianon tianon commented Mar 19, 2025

See code comments for details:

// ideally, the other jobs that act on the data generated by this one would directly reference each Jenkinsfile.* from *within* the ".scripts" submodule that this job has updated (so that we only run updated scripts with updated data, in the case of something major changing for example)

// Jenkins *does* technically support this, but it requires disabling "lightweight checkout", and doing the full checkout of "meta" (even just making sure it's up-to-date) *just* to grab a single Jenkinsfile from the .scripts submodule is really heavy and kicks over our Jenkins server

// to mitigate this, we "copy up" the Jenkinsfiles directly into "meta" so that we can go back to a "lightweight" checkout

@tianon tianon requested a review from a team as a code owner March 19, 2025 18:00
yosifkit
yosifkit previously approved these changes Mar 19, 2025
See code comments for details
@yosifkit yosifkit merged commit 51032a5 into docker-library:main Mar 19, 2025
1 check passed
@yosifkit yosifkit deleted the copy-up-jenkinsfile branch March 19, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants