Convey
The convey tasks provides some intrinsic tasks that convey provides.
convey/clean
A clean task will remove files from the host relative and limited to the
directory containing the convey.yml
for the run.
Attributes
Name | Required | Default | Description |
---|---|---|---|
files | Yes | A list of filenames relative to the convey.yml file to remove. |
Example
clean:
type: convey/clean
files:
- convey-amd64
- "**/*.pyc"
- "**/__pycache__"
convey/export
An export task will move files from the workspace to the host. Files on the host
will be created relative to the convey.yml
file.
Attributes
Name | Required | Default | Description |
---|---|---|---|
files | Yes | A single filename or a list of files to copy from the workspace to the host. Files can be specified in one of two forms which can be mixed. The first is source:destination and the other is filename where filename will be used for both the host and the volume. |
Examples
export:
type: convey/export
files: filename1
export:
type: convey/export
files:
- logo.png
- binary:binary-linux-x86_64
convey/import
An import task copies files from the host to the workspace. It has one required
attribute named files
. This is a list of files relative to the directory
containing the convey.yml
file that will be copied into the workspace.
Attributes
Name | Required | Default | Description |
---|---|---|---|
files | Yes | A single filename or a list of files to copy from the host to the workspace. Files can be specified in one of two forms which can be mixed. The first is source:destination and the other is filename where filename will be used for both the host and the volume. |
Examples
import:
type: convey/import
files: filename1
import:
type: convey/import
files:
- Dockerfile
- src:source
convey/noop
A noop task does nothing. It is a "NO OPeration" task. It's used primarily in testing, but could be useful for stubbing stuff out or debugging.
Attributes
None.
Example
clean:
type: convey/noop