-
Notifications
You must be signed in to change notification settings - Fork 33
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
Adding Support for Docker Library #70
Comments
As a bit of pre-emptive advice: git-commit-tree and git-update-ref plumbing commands are, in my experience, more reliable for committing generated contents than the regular workflow commands since they work by taking a content snapshot directly rather than simulating a human workflow.
I think the easiest thing to do at the moment is to pull in functionality that you need from where it already exists. I'm pretty neutralpositive on adding bloom as a dependency to superflore to accomplish this. I prefer it over copying functionality or, at least in the near term, trying to factor just the GitHub bits into a separate library used by both. If bloom and superflore start sharing more code down the line that seems a positive to me.
I think in a lot of ways we should treat CI as the new cron with the added bonus of slightly more democratic observability and invocation. If it can work in a Travis context it can likely also run in a container on a dedicated CI system should the need arise.
For infrastructure work I think it's valuable to solve the specific problem in front of you and then factor out more generic tools when the need for sharing arises. In both cases I'd suggest doing the simplest thing first then revisiting the interface when you have a use case in mind. |
@ruffsl Sorry to get back to you so late on this! This is a good idea, and is a thing I've been putting off for a little while (see #67 ). In the interim, I've got my own way of doing it that works decently well.
@nuclearsandwich I strongly agree with this. @ruffsl After #76 was merged into master, you need to do the following:
Let me know if there's anything else you need from me. |
This issue is tracking support for releasing Dockerfiles into the Docker Library with superflore.
I'm not yet sure how this should be approache, but here is my current vision of the result:
So given this goal, I think some github API interfacing will be required, for submitting a PR to an upstream repo without push access for example. I see some of this capability already in bloom, so perhaps there is a way we could share more intraftructure between these bloom and superflore.
Another issue is that I'm not sure how I should call my generation scripts. Should I call them functionally from python, as my auto generated code is already python3, or should I use subprocess to avoid roping in a host of separate dependencies? I suppose the scripts could be executed in a container?
Lastly, I'm debating if this whole PR process for docker images would be better serviced from a CI job. I have just about all the steps already working in travis already, and I'm wondering if keeping this agnostic of bloom, so that other images that are not entirely ros related could piggyback on the same CI PR process.
ping: @tfoote @mikaelarguedas @allenh1 @nuclearsandwich
The text was updated successfully, but these errors were encountered: