Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Data Harvesting
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Show more breadcrumbs
Helmholtz Metadata Collaboration
HMC Public
unHIDE
Data Harvesting
Commits
16e982b0
Commit
16e982b0
authored
2 years ago
by
Jens Bröder
Browse files
Options
Downloads
Patches
Plain Diff
Update gitlab CI to use python image and poetry
parent
661580ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#193869
failed
2 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-16
8 additions, 16 deletions
.gitlab-ci.yml
with
8 additions
and
16 deletions
.gitlab-ci.yml
+
8
−
16
View file @
16e982b0
...
...
@@ -11,25 +11,16 @@ stages:
-
date
-
pwd
-
ls
-
apt list --installed
-
apt-get update
-
apt-get install -q -y git
-
git --version
-
apt-get install -q -y python3-setuptools
-
python3 setup.py --requires
-
apt-get install -q -y python3-appdirs
#- python3 setup.py check_modules
-
apt-get install -q -y python3-pip
-
python3 -V
-
pip3 -V
-
git clone https://$clone_token@gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions.git
-
pip3 install ./category-definitions
-
pip3 install .[pre-commit,testing]
-
python -V
-
pip -V
#- git clone https://$clone_token@gitlab.hzdr.de/hmc/hmc/cct-1-mapping/category-definitions.git
#- pip install ./category-definitions
-
pip install poetry
-
poetry install --with dev
# precommit specific stuff
run_precommit
:
image
:
ubuntu:20.04
image
:
python:latest
stage
:
test
<<
:
*prepare-env
script
:
...
...
@@ -37,6 +28,7 @@ run_precommit:
# test specific stuff
.tests-template
:
&run-tests
image
:
python:latest
stage
:
test
<<
:
*prepare-env
script
:
...
...
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