Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
38
Issue boards
Milestones
Wiki
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
ebrains-spack-builds
Commits
120c6393
Commit
120c6393
authored
3 years ago
by
Athanasios Karmas
Browse files
Options
Downloads
Patches
Plain Diff
minor correction
parent
e2f6ecdb
No related branches found
Branches containing commit
No related tags found
1 merge request
!74
create new experimental release from master
Pipeline
#16515
failed with stage
in 25 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
with
1 addition
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
120c6393
...
...
@@ -28,7 +28,7 @@ stages:
-
while
true
; do sleep 300; x=$(oc get pods |grep $pod|awk '{ print $3}');if [ $x != "Running" ]; then break; fi; done
-
oc logs jobs/simplejob${CI_PIPELINE_ID} | tee log.txt
# if spack install has failed, fail the pipeline
-
if [ $(cat log.txt |grep
'Error":"
No module available for package
'
|wc -l) -gt 0 ]; then exit 1;fi;
-
if [ $(cat log.txt |grep
"
No module available for package
"
|wc -l) -gt 0 ]; then exit 1;fi;
# delete the job from OpenShift as we have the logs here
-
oc delete job simplejob${CI_PIPELINE_ID} ||
true
tags
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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