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

Travis CI - Docker Image - We need latest and stable images #893

Open
franck-boullier opened this issue Feb 7, 2020 · 1 comment
Open

Comments

@franck-boullier
Copy link
Member

Context:

  • We are relying on a docker image to deploy the frontend.
  • When deploying the services, we are using the latest of these docker image regardless of the environment we are in.

The problem:

  • If we make some change to that docker image that are breaking something, these changes will be introduced in the latest version of the docker image.
  • If we have to redeploy PROD or DEMO, these will use the latest image too,

Solution:

We need:

  • another docker image stable that will have been thouroughly tested.
  • a procedure to update that stable image
  • edit the deployment script so that the Docker image that are used for deployments are:
    • latest for the DEV environment
    • stable for the DEMO and PROD environment.
@kaihendry
Copy link
Contributor

This current idea is that dev runs latest and production/demo runs tagged releases.

For example production currently runs uneet/frontend:c972242 right now. I wrote https://version.dev.unee-t.com/ to track this.

https://hub.docker.com/repository/docker/uneet/frontend

We can introduce {stable,latest} labels but that would basically obfuscate what the current version is.

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

No branches or pull requests

2 participants