-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Rehome libcxx-builder docker image & attempt gentler termination. #71604
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| version: '3.7' | ||
| services: | ||
| libcxx-builder: | ||
| image: ghcr.io/libcxx/libcxx-builder | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you create a libcxx organization for this? Is there any reason not to use the llvm org?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've been squatting on the org for years now after noticing it was unclaimed. I recently started using it to test and prototype self hosted github actions. It's a lot easier to iterate the much smaller org. Github permissions still seem rather course grained, which might be an issue.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I really like the idea of using the github container registry for this, but I'm going to recommend you use the llvm org to host the packages for a few reasons:
I understand that it's easier to manage permissions using the libcxx org, but it sounds like there be specific fine-grained permissions just for the container registry, so I can look into setting that up for you.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't disagree with anything you have said. The libc++ org is better than the status quo of ldionne's personal dockerhub, but LLVM's org is the most appropriate.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tstellar One thing we're also trying to avoid is being too dependent on heavy processes or bottlenecks for making modifications of this kind. Right now with how permissions are set up in the LLVM org, we're not empowered to make these kinds of changes IIUC. With our own organization, we are. I am not disagreeing that LLVM is the right place to do all of it (it totally is), but in the balance is also our ability to actually get stuff working, maintain them and solve our problems without having to wait for someone with enough admin privileges to set things up for us (even though you all have been amazingly responsive and helpful whenever we needed help). My request for admin-ship in the LLVM org was related to this amongst other things. |
||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile | ||
| args: | ||
| GCC_LATEST_VERSION: 13 | ||
| # LLVM POST-BRANCH bump version | ||
| LLVM_HEAD_VERSION: 18 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is "docker-compose" and "docker compose"
On Ubuntu 22.04 (the lastest LTS version) "docker compose" is not available.
This link contains more information.
docker-archive/compose-cli#1404 (comment)
Can you add a comment that "docker-compose" can be used when "docker compose" is not available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know that it can be, I can't test. And I think we want to require modern enough versions of docker to use modern features.
You can get docker compose on Ubuntu using the official install scripts. [1] It's how I get docker on debian. And while using additional package repos is normally smelly, it seems to be the norm for docker.
[1] https://docs.docker.com/engine/install/ubuntu/