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
Merge requests
!63
Topic/default/update odoorpc
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Topic/default/update odoorpc
topic/default/update_odoorpc
into
branch/default
Overview
0
Commits
3
Pipelines
0
Changes
12
Merged
Vincent Hatakeyama
requested to merge
topic/default/update_odoorpc
into
branch/default
3 years ago
Overview
0
Commits
3
Pipelines
0
Changes
12
Expand
0
0
Merge request reports
Compare
branch/default
branch/default (base)
and
latest version
latest version
5bf563e0
3 commits,
3 years ago
12 files
+
56
−
23
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
38
−
12
Options
@@ -8,6 +8,15 @@ include:
variables
:
HTML_DOC_SOURCES
:
doc/_build/html
TEMP_IMAGE_BASENAME
:
registry.xcg.io/ci/$CI_PROJECT_PATH_SLUG
# do not use $TEMP_IMAGE_BASENAME, it will not be correctly replaced by GitLab
TEMP_IMAGE
:
registry.xcg.io/ci/$CI_PROJECT_PATH_SLUG:hg-$CI_COMMIT_HG_SHA
build-docker-image
:
needs
:
[]
stage
:
build
script
:
-
DOCKER_IMAGE=$TEMP_IMAGE_BASENAME docker-build
import_jsonrpc_odoo11_test
:
stage
:
test
@@ -70,26 +79,27 @@ import_base_import_odoo13_test:
ODOO_TYPE
:
odoo13
allow_failure
:
true
build-docker-image
:
needs
:
[]
variables
:
TAG_LATEST
:
branch/default
docker_build_copy_test
:
needs
:
-
job
:
build-docker-image
stage
:
test
image
:
$TEMP_IMAGE
script
:
-
DOCKER_IMAGE=registry.xcg.io/xcgd/odoo_scripts
docker
-
build
-
DOCKER_BASE_IMAGE_NAME=registry.xcg.io/xcgd/odoo_scripts DOCKER_IMAGE=xcgd/odoo_scripts docker-tag
-
docker
_
build
_copy
-
docker_build_clean
build-documentation
:
stage
:
build
needs
:
[]
image
:
python:3.8-alpine
# done in test stage to be able to use the built image
stage
:
test
needs
:
-
job
:
build-docker-image
image
:
$TEMP_IMAGE
artifacts
:
paths
:
-
doc/_build
expire_in
:
10m
script
:
-
apk add make mercurial
# It might not be necessary to install this and the dependency (maybe just reuse the built image? but its done after)
-
pip3 install .
-
apk add make
-
cd doc
-
pip3 install -r requirements hg-evolve
-
for language in en fr ; do LANGUAGE=$language BUILDDIRSUFFIX=/$CI_COMMIT_HG_BRANCH make html ; done
@@ -100,3 +110,19 @@ publish_documentation:
artifacts
:
true
only
:
-
/^branch\/.*/
publish
:
extends
:
build-docker-image
stage
:
deploy
needs
:
-
job
:
docker_build_copy_test
-
job
:
import_jsonrpc_odoo11_test
-
job
:
import_jsonrpc_odoo13_test
-
job
:
import_base_import_odoo13_test
-
job
:
import_base_import_odoo11_test
variables
:
TAG_LATEST
:
branch/default
script
:
-
DOCKER_BASE_IMAGE_NAME="$TEMP_IMAGE" DOCKER_IMAGE="registry.xcg.io/xcgd/odoo_scripts" tag-img
-
DOCKER_BASE_IMAGE_NAME="$TEMP_IMAGE" DOCKER_IMAGE="xcgd/odoo_scripts" tag-img
Loading