You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version of the deployment script (.travis.yml) systematically updates the Docker image and uploads it to Dockerhub without any proper tests or validation.
This is true EVERY TIME Travis CI runs:
On the master branch for this repo (which is expected) but also,
On ANY branch of this repo,
On ANY PR in this repo.
Consequence of the problem:
In the following scenario:
I create a branch.
I update the Dockerfile.
The update I did breaks the Docker image and creates errors and bug.
I push my new branch to the origin repo on GH (this repo).
THEN the Docker image in Dockerhub is automatically updated.
ANY update to the DEV. PROD and DEMO environments from that point on will be done using this latest, incorrect, and potentially harmful Docker image.
Solution:
Option 1 (quick fix):
Make sure that the only Docker image that we push on Dockerhub are images that have been tested and validated.
Option 2 (more complex - more robust):
create a new tag stable for Docker images on Dockerhub
Keep building the DEV environment using the latest Docker image on Dockerhub.
Define a release process to update the stable version of the Docker image.
Only build the DEMO and PROD environment using the stable image and NOT the latest image.
The text was updated successfully, but these errors were encountered:
The problem:
The current version of the deployment script (.travis.yml) systematically updates the Docker image and uploads it to Dockerhub without any proper tests or validation.
This is true EVERY TIME Travis CI runs:
master
branch for this repo (which is expected) but also,Consequence of the problem:
In the following scenario:
Solution:
Option 1 (quick fix):
Make sure that the only Docker image that we push on Dockerhub are images that have been tested and validated.
Option 2 (more complex - more robust):
stable
for Docker images on Dockerhublatest
Docker image on Dockerhub.stable
version of the Docker image.stable
image and NOT thelatest
image.The text was updated successfully, but these errors were encountered: