Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CaosDB Python Integration Tests
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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 Python Integration Tests
Commits
607fe5c1
Verified
Commit
607fe5c1
authored
4 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: pipeline
parent
4b981b2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.docker/Dockerfile
+24
-12
24 additions, 12 deletions
.docker/Dockerfile
with
24 additions
and
12 deletions
.docker/Dockerfile
+
24
−
12
View file @
607fe5c1
FROM
debian:latest
RUN
apt-get update
&&
\
apt-get
install
\
curl
\
git
\
openjdk-11-jdk-headless
\
python-autopep8
\
python3-pip
\
tox
\
-y
apt-get
install
\
curl
\
git
\
openjdk-11-jdk-headless
\
python-autopep8
\
python3-pip
\
tox
\
-y
COPY
.docker/wait-for-it.sh /wait-for-it.sh
ARG
PYLIB=dev
ADD
https://gitlab.com/api/v4/projects/13656973/repository/commits/${PYLIB} \
pylib_version.json
pylib_version.json
RUN
git clone https://gitlab.com/caosdb/caosdb-pylib.git
&&
\
cd
caosdb-pylib
&&
git checkout
${
PYLIB
}
&&
pip3
install
.
cd
caosdb-pylib
&&
git checkout
${
PYLIB
}
&&
pip3
install
.
COPY
. /git
RUN
rm
-r
/git/.git
&&
mv
/git/.docker/pycaosdb.ini /git
# Delete .git because it is huge.
RUN
rm
-r
/git/.git
# Install pycaosdb.ini for the tests
RUN
mv
/git/.docker/tester_pycaosdb.ini /git/pycaosdb.ini
WORKDIR
/git
CMD
/wait-for-it.sh caosdb-server:10443 -t 500 -- tox
# wait for server,
CMD
/wait-for-it.sh caosdb-server:10443 -t 500 -- \
# ... install pycaosdb.ini the server-side scripts
cp /git/.docker/sss_pycaosdb.ini /scripting/home/.pycaosdb.ini && \
# ... and run tests
tox
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