Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
10dda9d387ae
Commit
10dda9d387ae
authored
4 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
Avoid warning in tests,
only push documentation in branches
parent
85f196304c68
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-3
6 additions, 3 deletions
.gitlab-ci.yml
with
6 additions
and
3 deletions
.gitlab-ci.yml
+
6
−
3
View file @
10dda9d3
...
...
@@ -22,7 +22,7 @@
before_script
:
-
pip3 install $CI_PROJECT_DIR --disable-pip-version-check --no-cache-dir
script
:
-
sudo -u odoo env ODOO_TYPE=odoo11 $CI_PROJECT_DIR/start --db_host=db -d test_setup --max-cron-threads=0 --without-demo=all --data-dir /var/lib/odoo --init base &
-
sudo -u odoo env ODOO_TYPE=odoo11 $CI_PROJECT_DIR/start --db_host=db -d test_setup --max-cron-threads=0 --without-demo=all --data-dir /var/lib/odoo --init base
--addons-path ""
&
# wait for odoo to install the modules
-
sleep
35
# then test the setup files
...
...
@@ -33,4 +33,6 @@
docker
:
stage
:
build
image
:
docker.orus.io/cc/docker
variables
:
DOCKER_IMAGE
:
xcgd/odoo_scripts
script
:
...
...
@@ -36,5 +38,4 @@
script
:
-
export DOCKER_IMAGE=xcgd/odoo_scripts CUSTOM_TAG=latest
-
docker-build
build-documentation
:
...
...
@@ -50,7 +51,7 @@
-
pip3 install -r requirements
-
for language in en fr ; do LANGUAGE=$language BUILDDIRSUFFIX=/$(hg identify --debug --branch) make html ; done
push
:
push
-documentation
:
stage
:
push
image
:
name
:
minio/mc:RELEASE.2020-01-13T22-49-03Z
...
...
@@ -58,3 +59,5 @@
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
only
:
-
branch/*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment