-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Build both agent and inbound-agent container images in this repository #569
Comments
sounds good to me |
Opened #570 |
@jenkinsci/team-docker-packaging now that #570 has been merged and released, is there any objection or suggestion about the following next steps plan?
|
Makes sense |
Update:
Next steps are blocked by this repo renaming. As the SSH agent image hasn't the same lifecycle, no other repo is expected to be merged here. If there is no objection in the next day(s), I'll proceed to this renaming so pull requests like #583 can be avoided and this issue continued. |
As there are some discussions about the renaming, I'll keep the name |
Final GitHub inbound agent release published: https://github.com/jenkinsci/docker-inbound-agent/releases/tag/3206.vb_15dcf73f6a_9-2 Deprecation notice before archival: jenkinsci/docker-inbound-agent#469 |
I haven't found out how to remove https://ci.jenkins.io/job/Packaging/job/docker-inbound-agent/ from ci.jenkins.io, it's not in the parent Packaging folder filter anymore but even after a scan there is no option to delete it. |
Should we keep the inbound-agent job on trusted.ci.jenkins.io for history purpose? (Tag builds) |
I normally remove the jobs on disk for this sort of problem. In theory it’ll go away eventually but it’s a bit of a short coming of the organisation folder setup |
In this case, as it is trusted.ci, I recommend to disable the job to keep it, and add a TTL of 6 month;
|
The question was in reference to ci.jenkins.io not trusted.ci.jenkins.io fwiw. |
Thanks, added these steps for trusted.ci.jenkins.io to the plan. |
What
I propose to build both images in this repository.
Why
How
Code wise
I'm using multistages Dockerfiles, docker bake's
matrix
for Linux images (allowing parallel builds), and a loop over "agent" and "inbound-agent" with docker compose and--target
for Windows images.I've splitted my pull requests commits:
New file
Modified
Renamed from agent
Renamed and modified from agent
Imported from inbound-agent
Imported and renamed from inbound-agent
Imported and modified from inbound-agent
Imported, renamed and modified from inbound-agent
PR preview: lemeurherve/docker-agent@master...feat-build-both-agent-and-inbound-agent
Main commit: lemeurherve@8f27a4e
Repo wise
At first I was about to ask about which repo use as final repo between docker-agent and docker-inbound-agent, but after more reflexion (and all the work on git history), I think this repo makes more sense as the only benefit of inbound-agent repo would be some more GitHub stars and watchers.
If going that way, merging the PR will allow testing a real publication of agent and inbound-agent for this repo to validate the process.
Then, we could:
999.999.999
empty inbound-agent release with a warning/note in the release note mentioning the move to the docker-agent repo, so users will get a notificationAlternative:
Create a new repo like "docker-agent-inbound" for example, then label and transfer issues from the existing repos, then archive then. (+ optional "warning" releases).
This option is fine to me too as I would simply have to change the git reference in my local repo config to push to it.
@jenkinsci/team-docker-packaging WDYT?
The text was updated successfully, but these errors were encountered: