1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
meta:
project: pystaticconf
default: test
mount=source:
bind: .
path: /work
mount=pypiconf:
bind: ~/.pypirc
path: /root/.pypirc
file: true
image=builder:
image: staticconf-dev
context: dockerfiles/
dockerfile: Dockerfile
job=test:
use: builder
mounts: [source]
interactive: true
command: tox
env: ['TOXENV={env.TOXENV:}']
job=shell:
use: builder
mounts: [source, pypiconf]
interactive: true
command: bash
job=clean:
use: builder
mounts: [source]
command: "find -name *.pyc -o -name __pycache__ -exec rm -rf {} \\;"
job=docs:
use: builder
mounts: [source]
command: "tox -e docs"
artifact: docs/build
job=release:
use: builder
mounts: [source, pypiconf]
interactive: true
depends: [docs]
command: "python3 setup.py sdist bdist_wheel upload upload_docs"
|