Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
meshalyzer
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
openCARP
meshalyzer
Commits
d8c30fa3
Commit
d8c30fa3
authored
4 years ago
by
Yung-Lin Huang (Cary)
Browse files
Options
Downloads
Patches
Plain Diff
Restructured Gitlab CI files.
parent
c57538f3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#1520
passed
4 years ago
Stage: build
Stage: release
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-50
3 additions, 50 deletions
.gitlab-ci.yml
.gitlab/ci/pdf.gitlab-ci.yml
+34
-0
34 additions, 0 deletions
.gitlab/ci/pdf.gitlab-ci.yml
.gitlab/ci/release.gitlab-ci.yml
+15
-0
15 additions, 0 deletions
.gitlab/ci/release.gitlab-ci.yml
with
52 additions
and
50 deletions
.gitlab-ci.yml
+
3
−
50
View file @
d8c30fa3
...
...
@@ -18,53 +18,6 @@ variables:
Meshalyzer is a graphical program for display time dependent data on 3D finite elment meshes. <br>
Find the changelog [here](https://git.opencarp.org/openCARP/meshalyzer/blob/master/CHANGELOG.md).
build-pdf-manual
:
stage
:
build
image
:
$PDF_MANUAL_MAKER_IMAGE
script
:
-
cd manual && pdflatex manual && pdflatex manual
artifacts
:
paths
:
-
manual/manual.pdf
expire_in
:
2 hour
release-pdf-manual
:
stage
:
release
image
:
ubuntu:18.04
dependencies
:
-
build-pdf-manual
only
:
-
master
-
tags
before_script
:
# setup rsync
-
apt-get update && apt-get install -y openssh-client rsync
-
eval $(ssh-agent -s)
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$SSH_PRIVATE_KEY" | base64 -d | ssh-add -
-
ssh-keyscan -H sulmass.scc.kit.edu > ~/.ssh/known_hosts
script
:
-
cp manual/manual.pdf $PDF_MANUAL
-
"
rsync
-av
--delete
$PDF_MANUAL
$PDF_MANUAL_DESTINATION/"
-
>
if [ "$CI_COMMIT_TAG" != "" ]; then
cp manual/manual.pdf $PDF_MANUAL_RELEASE &&
rsync -av --delete $PDF_MANUAL_RELEASE $PDF_MANUAL_DESTINATION/
fi
release-create
:
stage
:
release
image
:
python:3.7
only
:
-
tags
except
:
-
branches
before_script
:
# setup pipelines
-
git clone https://opencarp-admin:${PRIVATE_TOKEN}@git.opencarp.org/infrastructure/pipelines.git
-
pip install -r pipelines/requirements.txt
script
:
-
>
python pipelines/scripts/create_release.py
$PDF_MANUAL_RELEASE_URL
include
:
-
local
:
.gitlab/ci/pdf.gitlab-ci.yml
-
local
:
.gitlab/ci/release.gitlab-ci.yml
This diff is collapsed.
Click to expand it.
.gitlab/ci/pdf.gitlab-ci.yml
0 → 100644
+
34
−
0
View file @
d8c30fa3
build-pdf-manual
:
stage
:
build
image
:
$PDF_MANUAL_MAKER_IMAGE
script
:
-
cd manual && pdflatex manual && pdflatex manual
artifacts
:
paths
:
-
manual/manual.pdf
expire_in
:
2 hour
release-pdf-manual
:
stage
:
release
image
:
ubuntu:18.04
dependencies
:
-
build-pdf-manual
only
:
-
master
-
tags
before_script
:
# setup rsync
-
apt-get update && apt-get install -y openssh-client rsync
-
eval $(ssh-agent -s)
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$SSH_PRIVATE_KEY" | base64 -d | ssh-add -
-
ssh-keyscan -H sulmass.scc.kit.edu > ~/.ssh/known_hosts
script
:
-
cp manual/manual.pdf $PDF_MANUAL
-
"
rsync
-av
--delete
$PDF_MANUAL
$PDF_MANUAL_DESTINATION/"
-
>
if [ "$CI_COMMIT_TAG" != "" ]; then
cp manual/manual.pdf $PDF_MANUAL_RELEASE &&
rsync -av --delete $PDF_MANUAL_RELEASE $PDF_MANUAL_DESTINATION/
fi
This diff is collapsed.
Click to expand it.
.gitlab/ci/release.gitlab-ci.yml
0 → 100644
+
15
−
0
View file @
d8c30fa3
release-create
:
stage
:
release
image
:
python:3.7
only
:
-
tags
except
:
-
branches
before_script
:
# setup pipelines
-
git clone https://opencarp-admin:${PRIVATE_TOKEN}@git.opencarp.org/infrastructure/pipelines.git
-
pip install -r pipelines/requirements.txt
script
:
-
>
python pipelines/scripts/create_release.py
$PDF_MANUAL_RELEASE_URL
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