Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NACSOS Core
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
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
MCC APSIS
NACSOS
NACSOS Core
Merge requests
!25
fix deployment
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix deployment
master
into
production
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Tim Repke
requested to merge
master
into
production
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
production
production (base)
and
latest version
latest version
75dd756d
1 commit,
2 years ago
2 files
+
32
−
32
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
31
−
31
Options
@@ -20,39 +20,39 @@ before_script:
-
echo "password ${CI_JOB_TOKEN}" >> ~/.netrc
stages
:
-
build
-
test
#
- build
#
- test
-
deploy
build-job
:
stage
:
build
image
:
python:3.10.9
script
:
-
python -V
-
pip install virtualenv
-
virtualenv venv
-
source venv/bin/activate
-
pwd
-
ls -lisah
-
git config --global url."https://gitlab.pik-potsdam.de/".insteadOf "ssh://git@gitlab.pik-potsdam.de/"
-
pip install -r requirements.txt
-
pip install -r requirements_dev.txt
test-job1
:
stage
:
test
image
:
python:3.10.9
script
:
-
source venv/bin/activate
-
flake8 --config .flake8
test-job2
:
stage
:
test
image
:
python:3.10.9
script
:
-
source venv/bin/activate
-
which python
-
pip freeze
-
python -m mypy --config-file=pyproject.toml server
#
build-job:
#
stage: build
#
image: python:3.10.9
#
script:
#
- python -V
#
- pip install virtualenv
#
- virtualenv venv
#
- source venv/bin/activate
#
- pwd
#
- ls -lisah
#
- git config --global url."https://gitlab.pik-potsdam.de/".insteadOf "ssh://git@gitlab.pik-potsdam.de/"
#
- pip install -r requirements.txt
#
- pip install -r requirements_dev.txt
#
#
test-job1:
#
stage: test
#
image: python:3.10.9
#
script:
#
- source venv/bin/activate
#
- flake8 --config .flake8
#
#
test-job2:
#
stage: test
#
image: python:3.10.9
#
script:
#
- source venv/bin/activate
#
- which python
#
- pip freeze
#
- python -m mypy --config-file=pyproject.toml server
deploy-to-production
:
stage
:
deploy
Loading