https://github.com/uber-workflow/docker-control-buildkite-plugin
extracts source code from docker image, and then runs docker commands using that source code
https://github.com/uber-workflow/docker-control-buildkite-plugin
Last synced: 4 months ago
JSON representation
extracts source code from docker image, and then runs docker commands using that source code
- Host: GitHub
- URL: https://github.com/uber-workflow/docker-control-buildkite-plugin
- Owner: uber-workflow
- License: mit
- Created: 2020-02-21T15:23:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T17:02:25.000Z (over 4 years ago)
- Last Synced: 2025-05-05T03:17:52.294Z (6 months ago)
- Language: Shell
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-control-buildkite-plugin
Bootstraps a web-code docker-compose run from a docker build image. Overrides the checkout hook to avoid hitting git.
# usage
```
steps:
- command: ''
plugins:
- 'uber-workflow/docker-control':
compose-file: ''
image: ''
package: ''
service: ''
```# example
```
steps:
- command: path/to/script.sh
plugins:
- 'uber-workflow/docker-control':
compose-file: 'projects/monorepo-tools/scripts/docker/docker-compose.yml'
image: ''
package: 'projects/example-trips-viewer-fusion'
service: 'web-code-run'
```# Additional Configuration
### `build` (optional)
Will trigger a docker-compose build of the specified service.
```
steps:
- command: path/to/script.sh
plugins:
- 'uber-workflow/docker-control':
# Required properties
build: true
```### `logs` (optional)
Set to true to output docker-compose logs for running services.
```
steps:
- command: path/to/script.sh
plugins:
- 'uber-workflow/docker-control':
# Required properties
logs: true
```### `verbose` (optional)
Sets `docker-compose` to run with `--verbose`
The default is `false`.
```
steps:
- command: path/to/script.sh
plugins:
- 'uber-workflow/docker-control':
# Required properties
verbose: true
```### `artifact-download` (optional)
Downloads the specified artifacts prior to running docker.
```
steps:
- command: path/to/script.sh
plugins:
- 'uber-workflow/docker-control':
# Required properties
artifact-download: 'artifacts/foo/bar.txt'
```