-
Notifications
You must be signed in to change notification settings - Fork 10
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
Alpine image and pipeline #103
Conversation
…rplate into feat/image-pipeline
…nto feat/image-pipeline
Either way for prod releases the branches are set in our CDK |
Yep aware it would clone master. |
Ah, noted. Something to discuss on Thursday |
Here's a chart which hopefully helps explain the logic behind this: So the main cmfive image in /.codepipeline/docker should contain something more ideal for production (so the main branch) baked in. But when we use the docker-compose file for development your local boilerplate and system/core are mapped in to the container (overriding the baked in stuff). So it will use the branch you have switched to locally (outside the container) in git. |
@chris-bateman I tried another dev-box rebuild, still hits this?: |
Did we auth boilerplate as well? I thought we only did core |
That image includes boilerplate + core |
Hi @Dane-2pi, I've done some testing with this branch on codespace-dev-box and I've got it working. Since the docker-compose file has a GHCR hosted image now it'll need to log in somewhere before doing the # Log in to GHCR
echo " logging into GHCR." | tee -a $log_file
echo $GITHUB_TOKEN | docker login ghcr.io -u $GITHUB_USER --password-stdin
# docker compose up ... You can implement this before this PR merges and it wont affect anything. |
I'll target this branch and see what happens. Does that command ask for a password from stdin? That doesn't work for a prebuild script at all. It could come from an envvar, but even that's not ideal |
Stdin is left of the pipe (so echo'd in). It wont ask for input. I tested it on an existing codespace and it worked, but I haven't tried it on a fresh one. |
Cool, I'll do that then. And then probably tear down half of my scripts...
…On Tue, 20 Feb 2024, 8:11 am Matt Bell, ***@***.***> wrote:
I'll target this branch and see what happens.
Does that command ask for a password from stdin? That doesn't work for a
prebuild script at all. It could come from an envvar, but even that's not
ideal
Stdin is left of the pipe (so echo'd in). It wont ask for input. I tested
it on an existing codespace and it worked, but I haven't tried it on a
fresh one.
—
Reply to this email directly, view it on GitHub
<#103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXQ6LUXUFNTMWCY66YYI7ADYUO5W7AVCNFSM6AAAAABDL7Z2JKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGE3DENJWG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Playwright tests work just as before. I tested both with |
I can log in to GHCR, but the mysql container still isn't coming up in GH actions |
2 things left
|
This PR contains multiple features:
Checklist
Codespace-Dev-Box tests pass (not sure if we can test this before merge?)get this going laterXDebug worksSkipping this and investigating again laterTODO: