I use CircleCI and the pipeline is as follows:
- build
- test
- build
app
&nginx
Docker images and push them to a GitLab registry - deploy Docker stack to the development server (currently the Swarm manager)
I just pushed my develop
branch to my repository and faced a "Symfony4 new Controller page" on the development server after a successful message from CircleCI.
I logged via SSH in it and executed (with output for the application service):
docker stack ps my-development-stack --format "{{.Name}} {{.Image}} {{.CurrentState}}"
my-stack_app.1 gitlab-image:latest-develop Running 33 minutes ago
On my GitLab repository's registry, the application image has been "Last Updated" 41 minutes ago
. The service's image has apparently been refreshed before with the last version.
- Is it a common issue/error ?
- How could (or should) I fix this timing issue ?
- Can CircleCI help about this ?