Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetObsSite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MetObs
MetObsSite
Commits
bb3fd1cc
Verified
Commit
bb3fd1cc
authored
5 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Define CI stages
parent
be7fdeb8
No related branches found
No related tags found
1 merge request
!10
Switch to GitLab CI for automated building
Pipeline
#9539
passed
5 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-10
9 additions, 10 deletions
.gitlab-ci.yml
with
9 additions
and
10 deletions
.gitlab-ci.yml
+
9
−
10
View file @
bb3fd1cc
stages
:
-
build
-
deploy
basic_build_check
:
stage
:
build
tags
:
-
development
script
:
...
...
@@ -13,29 +18,23 @@ basic_build_check:
-
if
:
'
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
==
"master"'
when
:
always
build_upload_metobs_test_site
:
upload_metobs_test_site
:
stage
:
deploy
tags
:
-
workstation
-
development
script
:
-
source /var/lib/gitlab-runner/.bashrc
-
conda activate rain_site
-
make clean
-
make publish
-
chmod 600 "$METOBS_UPLOAD_TEST"
-
rsync --delete -auv -e "ssh -T -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o ForwardAgent=no -F /dev/null -i $METOBS_UPLOAD_TEST" output/ davidh@webaccess:METOBS_TEST
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"develop"'
when
:
always
build_upload_metobs_prod_site
:
upload_metobs_prod_site
:
stage
:
deploy
tags
:
-
production
script
:
-
source /var/lib/gitlab-runner/.bashrc
-
conda activate rain_site
-
make clean
-
make publish
-
chmod 600 "$METOBS_UPLOAD_PROD"
-
rsync --delete -auv -e "ssh -T -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o ForwardAgent=no -F /dev/null -i $METOBS_UPLOAD_PROD" output/ davidh@webaccess:METOBS_PROD
rules
:
...
...
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