Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-advanced-user-tools
Commits
a47f95ad
Verified
Commit
a47f95ad
authored
4 months ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Debian 12 in pipeline
parent
0506e93e
No related branches found
No related tags found
2 merge requests
!128
MNT: Added a warning when column metadata is not configured, and a better...
,
!122
Explicit dependencies for testing, documentation, ...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.docker/Dockerfile
+4
-8
4 additions, 8 deletions
.docker/Dockerfile
.gitlab-ci.yml
+9
-9
9 additions, 9 deletions
.gitlab-ci.yml
with
13 additions
and
17 deletions
.docker/Dockerfile
+
4
−
8
View file @
a47f95ad
FROM
debian:1
1
FROM
debian:1
2
RUN
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
\
apt-get
install
\
curl
\
pkgconf
\
python3
\
python3
\
python3-pip
\
python3-pip
\
tox
\
tox
\
git
\
git
\
openjdk-11-jdk-headless
\
-y
-y
COPY
.docker/wait-for-it.sh /wait-for-it.sh
COPY
.docker/wait-for-it.sh /wait-for-it.sh
ADD
https://gitlab.com/api/v4/projects/13656973/repository/branches/dev \
ADD
https://gitlab.com/api/v4/projects/13656973/repository/branches/dev \
pylib_version.json
pylib_version.json
RUN
pip
install
-U
pip
RUN
pip
install
--break-system-packages
-U
pip
RUN
git clone
--depth
1
--branch
dev https://gitlab.com/caosdb/caosdb-pylib.git
&&
\
RUN
pip
install
--break-system-packages
-U
git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
cd
caosdb-pylib
&&
pip
install
-U
.
# At least recommonmark 0.6 required.
# At least recommonmark 0.6 required.
# RUN pip install -U html2text pycodestyle pylint recommonmark sphinx-rtd-theme gitignore-parser
# RUN pip install -U html2text pycodestyle pylint recommonmark sphinx-rtd-theme gitignore-parser
COPY
. /git
COPY
. /git
RUN
rm
-r
/git/.git
\
RUN
rm
-r
/git/.git
\
&&
mv
/git/.docker/pycaosdb.ini /git/integrationtests
&&
mv
/git/.docker/pycaosdb.ini /git/integrationtests
RUN
cd
/git
&&
pip
install
-U
.[all]
RUN
cd
/git
&&
pip
install
--break-system-packages
-U
.[all]
WORKDIR
/git/integrationtests
WORKDIR
/git/integrationtests
CMD
/wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force
CMD
/wait-for-it.sh caosdb-server:10443 -t 500 -- ./test.sh --force
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
9
−
9
View file @
a47f95ad
...
@@ -123,14 +123,14 @@ linting:
...
@@ -123,14 +123,14 @@ linting:
-
make lint
-
make lint
allow_failure
:
true
allow_failure
:
true
unittest_py3
9
:
unittest_py3
11
:
tags
:
[
docker
]
tags
:
[
docker
]
stage
:
unittest
stage
:
unittest
image
:
$CI_REGISTRY_IMAGE
image
:
$CI_REGISTRY_IMAGE
needs
:
[
build-testenv
]
needs
:
[
build-testenv
]
script
:
script
:
# First verify that system Python actually is 3.
9
# First verify that system Python actually is 3.
11
-
python3 -c "import sys; assert sys.version.startswith('3.
9
')"
-
python3 -c "import sys; assert sys.version.startswith('3.
11
')"
-
python3 -c "import linkahead; print('LinkAhead Version:', linkahead.__version__)"
-
python3 -c "import linkahead; print('LinkAhead Version:', linkahead.__version__)"
-
tox
-
tox
...
@@ -139,20 +139,20 @@ unittest_py38:
...
@@ -139,20 +139,20 @@ unittest_py38:
stage
:
unittest
stage
:
unittest
image
:
python:3.8
image
:
python:3.8
script
:
&python_test_script
script
:
&python_test_script
-
pip install git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
-
pip install
--break-system-packages
git+https://gitlab.indiscale.com/caosdb/src/caosdb-pylib.git@dev
-
pip install .[all]
-
pip install
--break-system-packages
.[all]
-
pytest --cov=caosadvancedtools unittests
-
pytest --cov=caosadvancedtools unittests
unittest_py3
10
:
unittest_py3
9
:
tags
:
[
docker
]
tags
:
[
docker
]
stage
:
unittest
stage
:
unittest
image
:
python:3.
10
image
:
python:3.
9
script
:
*python_test_script
script
:
*python_test_script
unittest_py31
1
:
unittest_py31
0
:
tags
:
[
docker
]
tags
:
[
docker
]
stage
:
unittest
stage
:
unittest
image
:
python:3.1
1
image
:
python:3.1
0
script
:
*python_test_script
script
:
*python_test_script
unittest_py312
:
unittest_py312
:
...
...
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