Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Tryton Docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
This instance will be upgraded to Heptapod 17.11.0rc1 on 2025-04-24 between 17:00 and 18:00 UTC+2
Show more breadcrumbs
Tryton
Tryton Docker
Commits
9e8ce3f0
Commit
9e8ce3f0
authored
5 months ago
by
Cédric Krier
Browse files
Options
Downloads
Patches
Plain Diff
Test only by activate all modules
parent
54122a9d
No related branches found
No related tags found
1 merge request
!32
Speedup tests
Pipeline
#98212
passed
2 months ago
Stage: build
Stage: test
Stage: publish
Changes
1
Pipelines
15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-7
14 additions, 7 deletions
.gitlab-ci.yml
with
14 additions
and
7 deletions
.gitlab-ci.yml
+
14
−
7
View file @
9e8ce3f0
...
...
@@ -54,5 +54,4 @@
-
build
image
:
${CI_REGISTRY_IMAGE}/tryton:${SERIES}-${CI_PIPELINE_IID}
variables
:
DB_CACHE
:
/tmp
TRYTOND_DATABASE_URI
:
sqlite://
...
...
@@ -58,2 +57,3 @@
TRYTOND_DATABASE_URI
:
sqlite://
TRYTOND_DATABASE__PATH
:
/tmp
script
:
...
...
@@ -59,7 +59,10 @@
script
:
-
python3 -m unittest discover -vv -f -s trytond.tests
-
python3 -m unittest discover -vv -f -s trytond.modules -p test_module.py
-
touch /tmp/test.sqlite
-
echo "password" > /tmp/password
-
TRYTONPASSFILE=/tmp/password trytond-admin -d test --all --email "foundation@tryton.org"
-
modules=$(python3 -c "from trytond.modules import get_modules; print(' '.join(get_modules()))")
-
trytond-admin -d test -u $modules -vv
parallel
:
matrix
:
-
SERIES
:
[
"
7.0"
,
"
7.2"
,
"
7.4"
]
...
...
@@ -62,7 +65,7 @@
parallel
:
matrix
:
-
SERIES
:
[
"
7.0"
,
"
7.2"
,
"
7.4"
]
test-
run
:
test-
old
:
extends
:
test
script
:
...
...
@@ -67,6 +70,10 @@
extends
:
test
script
:
-
python3 -m trytond.tests.run-tests -vv -f -m --no-doctest
-
touch /tmp/test.sqlite
-
echo "password" > /tmp/password
-
TRYTONPASSFILE=/tmp/password trytond-admin -d test --all --email "foundation@tryton.org"
-
modules=$(python3 -c "from trytond.modules import get_module_list; print(' '.join(get_module_list()))")
-
trytond-admin -d test -u $modules -vv
parallel
:
matrix
:
-
SERIES
:
[
"
6.0"
]
...
...
@@ -77,7 +84,7 @@
needs
:
-
build
-
test
-
test-
run
-
test-
old
image
:
name
:
gcr.io/go-containerregistry/crane:debug
entrypoint
:
[
"
"
]
...
...
@@ -93,7 +100,7 @@
needs
:
-
build-office
-
test
-
test-
run
-
test-
old
script
:
-
crane auth login -u ${DOCKER_USER} -p ${DOCKER_PASSWORD} ${DOCKER_SERVER}
-
crane push image-${SERIES}-office.tar tryton/tryton:${SERIES}-office
...
...
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