-
Notifications
You must be signed in to change notification settings - Fork 34
Docker compose plugin
- Download gocd-docker_compose_plugin
- Copy it to Go.CD server plugin external folder (path to go-server/plugins/external)
- Restart the Go server.
A task of type Docker Compose needs to be added.
The plugin can execute docker compose build, pull, rm, stop, up commands.
-
Do NOT start any services - if checked, the docker compose up command will NOT be executed.
-
Force a 'build', even if local resources/files are NOT modified - if checked, the docker compose build command will be executed.
-
Force a 'build' WITHOUT using already cached layers - if checked, it will add a --no-cache flag to the docker compose build command.
-
Remove volumes associated with containers - if checked, it will run the docker compose stop command and then the docker compose rm command with the -f and -v flags.
-
Update images used in the docker-compose file - if checked, the docker compose pull command will be run, along with the --ignore-pull-failures flag.
-
Force recreation of containers (e.g. For restarting init) - if checked, the --force-recreate flag will be added to the docker compose up command.