Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bc_uab_matlab
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bo-Chun Chen
bc_uab_matlab
Commits
4d033543
Commit
4d033543
authored
4 years ago
by
Jeff Ohrstrom
Browse files
Options
Downloads
Patches
Plain Diff
fix gitlab-ci to stabalize CI
parent
d2b28739
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-7
15 additions, 7 deletions
.gitlab-ci.yml
with
15 additions
and
7 deletions
.gitlab-ci.yml
+
15
−
7
View file @
4d033543
variables
:
# older versions of git have issues fetching.
GIT_STRATEGY
:
clone
before_script
:
-
docker info
-
'
[
-d
tmp
]
||
mkdir
tmp'
...
...
@@ -20,15 +25,18 @@ rpm-build:
name
:
"
$CI_PROJECT_NAME-$CI_COMMIT_TAG"
rpm-deploy-ci
:
stage
:
deploy
only
:
-
tags
script
:
-
./tmp/ondemand-packaging/release.py --debug --pkey /systems/osc_certs/ssh/ondemand-packaging/id_rsa -c ci ./tmp/output/*
rpm-deploy
:
variables
:
RLS_SCRIPT
:
"
./tmp/ondemand-packaging/release.py"
RLS_KEY
:
"
/systems/osc_certs/ssh/ondemand-packaging/id_rsa"
RLS_OUTPUT
:
"
./tmp/output/*"
SECTION
:
"
main"
stage
:
deploy
only
:
-
tags
except
:
variables
:
-
$CI_COMMIT_TAG =~ /.*_.*/
script
:
-
if [[ "$CI_COMMIT_TAG" =~ .*_.* ]]; then export SECTION=ci; fi
-
$RLS_SCRIPT --debug --pkey $RLS_KEY -c $SECTION $RLS_OUTPUT
-
./tmp/ondemand-packaging/release.py --debug --pkey /systems/osc_certs/ssh/ondemand-packaging/id_rsa -c main ./tmp/output/*
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