An open API service indexing awesome lists of open source software.

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

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'
```