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

Adds rpm buider container.. swaps out build scripts #10

Merged
merged 2 commits into from
Nov 6, 2018
Merged

Conversation

msheiny
Copy link
Contributor

@msheiny msheiny commented Nov 2, 2018

Closes #9

There is also significant tooling change surrounding the build scripts. I put some reasoning in the commit message

The biggest motivator for doing this is .. I cant stand ansible's docker
module. It doesnt handle caching well and most of all ansible output
story sucks.. and I really wanted to see more of a live rolling output
from docker. I just realized after this I could have used docker-compose
in a similar fashion and ditch these meta.yml files. 🤷 Im kind of
lazy to go back and convert now but if someone gets loud enough i might
be convinced

To expand on that - it was so annoying to do any debugging during docker building iteration that this drove me to swap things out.

Already pushed to quay.io

To test locally?
Either pipenv run ./build.py rpmbuilder or jump into the virtualenv yourself and just run ./build.py rpmbuilder

Using fedora 25 to match to what Qubes 4 is using on dom0
Also swaps requirements.txt for pipenv files. Big thing to note that as
we lost functionality on the build-all default target. Honestly, I cant
see any reason we would ever want to build all in one session so I'm not
too worried about it.

The biggest motivator for doing this is .. I cant stand ansible's docker
module. It doesnt handle caching well and most of all ansible output
story sucks.. and I really wanted to see more of a live rolling output
from docker. I just realized after this I could have used docker-compose
in a similar fashion and ditch these meta.yml files. 🤷 Im kind of
lazy to go back and convert now but if someone gets loud enough i might
be convinced
@msheiny msheiny requested a review from conorsch November 2, 2018 23:23
Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logic is solid, able to rebuild the container as described without issue.

@msheiny msheiny merged commit 36b01f6 into master Nov 6, 2018
@msheiny msheiny deleted the RPMBuilder branch November 6, 2018 13:45
msheiny added a commit that referenced this pull request Aug 16, 2019
Adds rpm buider container.. swaps out build scripts
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