Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
lectures
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
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Solid state physics
lectures
Merge requests
!3
CI update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
CI update
ci_environments
into
master
Overview
0
Commits
1
Pipelines
5
Changes
1
Merged
Anton Akhmerov
requested to merge
ci_environments
into
master
6 years ago
Overview
0
Commits
1
Pipelines
5
Changes
1
Expand
Closes
#15 (closed)
0
0
Merge request reports
Compare
master
version 4
a991afed
6 years ago
version 3
49e84eb1
6 years ago
version 2
c3fea15e
6 years ago
version 1
583feffd
6 years ago
master (base)
and
latest version
latest version
3a8a7336
1 commit,
6 years ago
version 4
a991afed
1 commit,
6 years ago
version 3
49e84eb1
1 commit,
6 years ago
version 2
c3fea15e
1 commit,
6 years ago
version 1
583feffd
1 commit,
6 years ago
1 file
+
54
−
7
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
54
−
7
Options
image
:
quantumtinkerer/research
build and upload the contents
:
stages
:
-
build
-
deploy
build lectures
:
stage
:
build
before_script
:
-
pip install -U mkdocs mkdocs-material python-markdown-math notedown
script
:
-
python execute.py
-
mkdocs build
artifacts
:
paths
:
-
site
expire_in
:
1 week
.prepare_deploy
:
&prepare_deploy
stage
:
deploy
only
:
-
branches@solidstate/lectures
before_script
:
## Install ssh-agent if not already installed, it is required by Docker.
## (change apt-get to yum if you use an RPM-based image)
@@ -20,12 +39,40 @@ build and upload the contents:
-
chmod 700 ~/.ssh
-
ssh-keyscan tnw-tn1.tudelft.net >> ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
-
pip install -U mkdocs mkdocs-material python-markdown-math notedown
script
:
# Compile lectures
-
python execute.py
-
mkdocs build
-
"
rsync
-rv
site/*
solidstate@tnw-tn1.tudelft.net:"
-
"
rsync
-rv
site/*
solidstate@tnw-tn1.tudelft.net:$DEPLOY_PATH"
deploy delft version
:
<<
:
*prepare_deploy
only
:
-
local@solidstate/lectures
variables
:
DEPLOY_PATH
:
"
"
environment
:
name
:
$CI_COMMIT_REF_NAME
url
:
"
https://solidstate.quantumtinkerer.tudelft.nl/"
deploy test version
:
<<
:
*prepare_deploy
except
:
-
local@solidstate/lectures
variables
:
DEPLOY_PATH
:
"
test_builds/$CI_COMMIT_REF_NAME"
environment
:
name
:
$CI_COMMIT_REF_NAME
url
:
"
https://solidstate.quantumtinkerer.tudelft.nl/test_builds/$CI_COMMIT_REF_NAME"
on_stop
:
undeploy test version
undeploy test version
:
<<
:
*prepare_deploy
except
:
-
local@solidstate/lectures
when
:
manual
variables
:
DEPLOY_PATH
:
"
test_builds/$CI_COMMIT_REF_NAME"
script
:
-
mkdir empty/
-
"
rsync
-rlv
--delete
empty/
solidstate@tnw-tn1.tudelft.net:$DEPLOY_PATH"
environment
:
name
:
$CI_COMMIT_REF_NAME
action
:
stop
Loading