question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Different container registries in dev and prod

See original GitHub issue

In development, I’d like to use a local container registry for the location of images (see https://github.com/datawire/forge/issues/145), but in CI deployments, I need to use GCR. Currently, forge.yaml appears to support specification of only one registry.

This could be supported in a few ways:

  • a --config / -c flag to forge build|deploy to read a specific forge.yaml, and then I define 2 different ones.
  • Make forge.yaml profile-aware.
  • Make forge setup unattendable, so I can run it as a pre-step with different parameters in CI and in dev before forge deploy.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rhscommented, Feb 22, 2018

I’ve released forge 0.4.3 with a forge.yaml that supports profiles. I believe that should complete all the items discussed in this issue.

As an aside, I’m intrigued by your comments around the VOLUME directive. We have a couple of vaguely similar sounding schemes geared towards enabling fast incremental container builds and/or live reloading of stuff running in a container. I’m kinda curious about the details of what you ended up with. I’d really like to provide a more general solution to this class of problem. Would it be possible for you to share a working project skeleton?

1reaction
rhscommented, Feb 16, 2018

I just released forge 0.4.2 which includes part of what is discussed here. The docker user and password are now optional, so it should be possible to create completely secret free forge.yaml files and check them into source control.

I hope to finish up this and #145 early next week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best practices for Azure Container Registry - Microsoft Learn
Because container registries are resources that are used across multiple container hosts, a registry should reside in its own resource group.
Read more >
Container image promotion across environments - Registry
Let's say you have three different environments: Dev, Test, and Prod. First thing to do is to create three Stages in the Pipeline....
Read more >
Container Registry Deployment Models - Integr8 Consulting
This blog tries to explain the different deployment models of Azure Container Registry (ACR) with their advantages and disadvantages.
Read more >
What is a container registry? - Red Hat
A container registry essentially acts as a place for developers to store container images and share them out via a process of uploading...
Read more >
Serving different Container Registry images for dev, test, prod ...
I'd keep them separate, too (maybe with some jobs to populate non-production projects with production data, if you need to). But if you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found