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
ec60141a
Commit
ec60141a
authored
Jul 11, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change shell
parent
d6558775
Pipeline
#309
passed with stages
in 6 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Dockerfile
Dockerfile
+1
-0
src/run.sh
src/run.sh
+1
-1
No files found.
Dockerfile
View file @
ec60141a
...
@@ -18,3 +18,4 @@ ENV VC_TEMPLATE runner-template-debian
...
@@ -18,3 +18,4 @@ ENV VC_TEMPLATE runner-template-debian
ENV
VC_CPUS 2
ENV
VC_CPUS 2
ENV
VC_MEMS 4096
ENV
VC_MEMS 4096
ENV
VC_SSH_USER root
ENV
VC_SSH_USER root
ENV
VC_SHELL /bin/bash
src/run.sh
View file @
ec60141a
...
@@ -7,7 +7,7 @@ source ${currentDir}/base # Get variables from base script.
...
@@ -7,7 +7,7 @@ source ${currentDir}/base # Get variables from base script.
VM_IP
=
$(
_get_vm_ip
)
VM_IP
=
$(
_get_vm_ip
)
ssh
-i
"
${
currentDir
}
/../ssh/id_rsa"
-o
StrictHostKeyChecking
=
no
"
$VC_SSH_USER
@
$VM_IP
"
/bin/bash
<
"
${
1
}
"
ssh
-i
"
${
currentDir
}
/../ssh/id_rsa"
-o
StrictHostKeyChecking
=
no
"
$VC_SSH_USER
@
$VM_IP
"
"
$VC_SHELL
"
<
"
${
1
}
"
if
[
$?
-ne
0
]
;
then
if
[
$?
-ne
0
]
;
then
# Exit using the variable, to make the build as failure in GitLab
# Exit using the variable, to make the build as failure in GitLab
# CI.
# CI.
...
...
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