BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
f4030dc3
Commit
f4030dc3
authored
Dec 14, 2017
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve language
parent
ab78b570
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
trigger-build-omnibus
scripts/trigger-build-omnibus
+6
-4
No files found.
scripts/trigger-build-omnibus
View file @
f4030dc3
...
...
@@ -67,8 +67,7 @@ module Omnibus
def
wait!
loop
do
if
timeout?
puts
"
\n
Waited for
#{
((
Time
.
now
.
to_i
-
@start
)
/
60
)
}
minutes"
raise
'Pipeline timeout!'
raise
"Pipeline timed out after waiting for
#{
duration
}
minutes!"
end
case
status
...
...
@@ -76,8 +75,7 @@ module Omnibus
print
"."
sleep
INTERVAL
when
:success
puts
"
\n
Waited for
#{
((
Time
.
now
.
to_i
-
@start
)
/
60
)
}
minutes"
puts
"Omnibus pipeline succeeded!"
puts
"Omnibus pipeline succeeded in
#{
duration
}
minutes!"
break
else
raise
"Omnibus pipeline did not succeed!"
...
...
@@ -91,6 +89,10 @@ module Omnibus
Time
.
now
.
to_i
>
(
@start
+
MAX_DURATION
)
end
def
duration
(
Time
.
now
.
to_i
-
@start
)
/
60
end
def
status
req
=
Net
::
HTTP
::
Get
.
new
(
@uri
)
req
[
'PRIVATE-TOKEN'
]
=
ENV
[
'GITLAB_QA_ACCESS_TOKEN'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment