Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Computer Resources
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
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
IMGW
Computer Resources
Commits
e38cc6ac
Commit
e38cc6ac
authored
1 year ago
by
Michael Blaschek
Browse files
Options
Downloads
Patches
Plain Diff
fixed gitlabci
parent
7ed250e7
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
.gitlab-ci.yml
+14
-13
14 additions, 13 deletions
.gitlab-ci.yml
with
14 additions
and
13 deletions
.gitlab-ci.yml
+
14
−
13
View file @
e38cc6ac
image
:
python:3.10-buster
# image: python:3.10-buster
image
:
harbor.wolke.img.univie.ac.at/podman/mkdocs-computer:latest
variables
:
PIP_CACHE_DIR
:
"
$CI_PROJECT_DIR/.cache/pip"
#
variables:
#
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
# Cache between jobs in the same branch
cache
:
-
key
:
$CI_COMMIT_REF_SLUG
-
paths
:
-
.cache/pip
#
- paths:
#
- .cache/pip
stages
:
-
build
...
...
@@ -15,12 +16,12 @@ stages:
build
:
stage
:
build
when
:
manual
before_script
:
#
when: manual
#
before_script:
# Install all required packages
-
apt-get update -y
-
apt-get install -y -qq graphviz
-
pip install -r requirements.txt
#
- apt-get update -y
#
- apt-get install -y -qq graphviz
#
- pip install -r requirements.txt
script
:
# --strict is too strict :)
-
mkdocs build -c --verbose
...
...
@@ -31,11 +32,11 @@ build:
deploy
:
stage
:
deploy
when
:
manual
#
when: manual
needs
:
-
build
before_script
:
-
apt-get update -qq && apt-get install -y -qq sshpass openssh-client rsync
#
before_script:
#
- apt-get update -qq && apt-get install -y -qq sshpass openssh-client rsync
script
:
# - sshpass -p "$WOLKE_PASSWORD" scp -oStrictHostKeyChecking=no -r ./site/* $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general/
-
sshpass -p "$WOLKE_PASSWORD" rsync -autv --delete -e "ssh -o StrictHostKeyChecking=no" ./site/ $WOLKE_USER@wolke.img.univie.ac.at:/var/www/html/documentation/general
...
...
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