Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gitlab-runner-vcenter-executor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gitlab-runner-vcenter-executor
Commits
86627c7e
Commit
86627c7e
authored
Aug 04, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4824b707
Pipeline
#2029
passed with stages
in 1 minute and 17 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/prepare.sh
src/prepare.sh
+1
-1
src/run.sh
src/run.sh
+1
-1
No files found.
src/prepare.sh
View file @
86627c7e
...
...
@@ -18,7 +18,7 @@ echo 'Waiting for VM to get IP'
for
i
in
$(
seq
1 30
)
;
do
VM_IP
=
$(
_get_vm_ip
)
if
[[
-n
"
$VM_IP
"
&&
"
$VM_IP
"
-ne
"fail"
]]
;
then
if
[[
-n
"
$VM_IP
"
&&
"
$VM_IP
"
!=
"fail"
]]
;
then
echo
"VM got IP:
$VM_IP
"
break
fi
...
...
src/run.sh
View file @
86627c7e
...
...
@@ -8,7 +8,7 @@ source ${currentDir}/base # Get variables from base script.
for
i
in
$(
seq
1 30
)
;
do
VM_IP
=
$(
_get_vm_ip
)
if
[[
-n
"
$VM_IP
"
&&
"
$VM_IP
"
-ne
"fail"
]]
;
then
if
[[
-n
"
$VM_IP
"
&&
"
$VM_IP
"
!=
"fail"
]]
;
then
break
fi
...
...
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