This commit is contained in:
Виктор Гладких 2019-10-23 11:51:25 +03:00
parent 7ed853e7a4
commit 1b218a5c07
2 changed files with 13 additions and 5 deletions

View File

@ -1,13 +1,18 @@
image: docker:latest
stages:
- build
- test
# - deploy
- clean
- fabtest
# - build
# - test
## - deploy
# - clean
fabtest:
stage: fabtest
script:
- fab test
#before_script:
# - sudo apt install python python-dev py-pip gcc libc-dev libffi-dev openssl-dev make
## - apk add --update python python-dev py-pip gcc libc-dev libffi-dev openssl-dev make
# - pip install docker-compose

3
fabfile.py vendored
View File

@ -2,6 +2,9 @@ import os # NOQA
from fabric.api import * # NOQA
def test():
print('Fab test')
user = 'gm'
env.roledefs = {