2020-11-06 18:34:04 +00:00
|
|
|
image: docker:19.03.12
|
|
|
|
|
2020-11-13 08:31:49 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
- publish
|
|
|
|
|
2020-11-06 18:34:04 +00:00
|
|
|
services:
|
|
|
|
- docker:19.03.12-dind
|
|
|
|
|
|
|
|
before_script:
|
2020-11-13 15:20:34 +00:00
|
|
|
- set -eux; apk add --no-cache build-base python3 python3-dev py3-pip py3-setuptools py3-wheel libffi-dev openssl-dev;
|
2020-11-13 14:44:36 +00:00
|
|
|
- pip3 install pybuilder ddadevops deprecation python-terraform boto3 mfa
|
2020-11-13 08:57:18 +00:00
|
|
|
- export PATH=$PATH:~/.local/bin
|
2020-11-06 18:34:04 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
script:
|
2020-11-13 15:47:51 +00:00
|
|
|
- cd infrastrucure/docker && pyb image test
|