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

Docker updates #238

Merged
merged 5 commits into from
Mar 24, 2024
Merged

Docker updates #238

merged 5 commits into from
Mar 24, 2024

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Mar 24, 2024

When setting up an environment to test clang 18 in a container, I stumbled on some issues with the docker test stuff. Fix them.

@BrunoMSantos Not sure if you care much about reviewing these kind of changes.

I'm not really sure if this is the right thing to do, but seemed to
work.
Fedora rawhide seems to have the latest of everything, including clang,
so it's a good environment for testing. Ubuntu is of course very common.
Shorter, and reflects the idea better.
Bash completion figures out the targets from the Makefile, but ignores
implicit/pattern rules. Add some magic to create real docker-test.* and
docker-html.* targets to get proper autocompletion.
Using git archive to transfer files to the docker images means
uncommitted modifications aren't transfered. It can be confusing if the
modifications aren't reflected in the results. Fail with a warning
message if the working directory is not clean.
@BrunoMSantos
Copy link
Collaborator

I can always learn something at least ;)

And yeah, this looks good and useful! It would have saved me some time on the last PR.

@jnikula jnikula merged commit 581a63c into master Mar 24, 2024
5 checks passed
@jnikula jnikula deleted the docker-updates branch March 24, 2024 19:37
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