Something went wrong on our end
-
Vincent Hatakeyama authoredVincent Hatakeyama authored
.gitlab-ci.yml 946 B
stages:
- test
- build
- push
flake8:
stage: test
image:
name: xcgd/flake8:3
entrypoint: [/bin/busybox]
script:
- flake8
isort:
stage: test
image: xcgd/isort
script:
- isort --check-only --diff
docker:
stage: build
image: docker.orus.io/cc/docker
script:
- export DOCKER_IMAGE=xcgd/odoo_scripts CUSTOM_TAG=latest
- docker-build
build-documentation:
stage: build
image: python:3
artifacts:
paths:
- doc/_build
expire_in: 10m
script:
- pip3 install -r requirements
- cd doc
- pip3 install -r requirements
- for language in en fr ; do LANGUAGE=$language BUILDDIRSUFFIX=/$(hg identify --debug --branch) make html ; done
push:
stage: push
image:
name: minio/mc:RELEASE.2020-01-13T22-49-03Z
entrypoint: ["/bin/busybox"]
script:
- mc config host add s3 $S3_ENDPOINT_URL $S3_KEY $S3_SECRET --api S3v2
- mc cp --recursive doc/_build/html/ s3/xcg-io-doc/odoo_scripts