Skip to content
Snippets Groups Projects
Commit bdfd30fe13f7 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:shirt: yamllint

parent d6dc8810721e
No related branches found
No related tags found
1 merge request!147📝 docker_prettier: use prettier from the image for odoo 11
......@@ -137,7 +137,7 @@
docker_build_copy_test:
needs:
- job: build-docker-image
- job: build-docker-image
stage: test
image: $TEMP_IMAGE
script:
......@@ -141,10 +141,10 @@
stage: test
image: $TEMP_IMAGE
script:
- docker_build_copy
- docker_build_clean
- docker_build_copy
- docker_build_clean
build-documentation:
# done in test stage to be able to use the built image
stage: test
needs:
......@@ -146,9 +146,9 @@
build-documentation:
# done in test stage to be able to use the built image
stage: test
needs:
- job: build-docker-image
- job: build-docker-image
image: $TEMP_IMAGE
artifacts:
paths:
......@@ -152,6 +152,6 @@
image: $TEMP_IMAGE
artifacts:
paths:
- doc/_build
- doc/_build
expire_in: 10m
script:
......@@ -156,9 +156,9 @@
expire_in: 10m
script:
- apk add make
- pip3 install hg-evolve .[doc]
- cd doc
- for language in en fr ; do make LANGUAGE=$language BUILDDIRSUFFIX=/$CI_COMMIT_HG_BRANCH html ; done
- apk add make
- pip3 install hg-evolve .[doc]
- cd doc
- for language in en fr ; do make LANGUAGE=$language BUILDDIRSUFFIX=/$CI_COMMIT_HG_BRANCH html ; done
publish_documentation:
needs:
......@@ -162,6 +162,6 @@
publish_documentation:
needs:
- job: build-documentation
artifacts: true
- job: build-documentation
artifacts: true
only:
......@@ -167,5 +167,5 @@
only:
- /^branch\/.*/
- /^branch\/.*/
publish:
extends: build-docker-image
......@@ -180,5 +180,5 @@
variables:
TAG_LATEST: branch/default
script:
- DOCKER_BASE_IMAGE_NAME="$TEMP_IMAGE" tag-img
- TAG_COMMIT_SHA="no" DOCKER_BASE_IMAGE_NAME="$TEMP_IMAGE" DOCKER_IMAGE="xcgd/odoo_scripts" tag-img
- DOCKER_BASE_IMAGE_NAME="$TEMP_IMAGE" tag-img
- TAG_COMMIT_SHA="no" DOCKER_BASE_IMAGE_NAME="$TEMP_IMAGE" DOCKER_IMAGE="xcgd/odoo_scripts" tag-img
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment