Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
packer-windows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
Bob Tanner
packer-windows
Commits
1fc44e9b
Unverified
Commit
1fc44e9b
authored
Jan 05, 2018
by
Stefan Scherer
Committed by
GitHub
Jan 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #72 from StefanScherer/wait-for-tiworker
Wait for TiWorker.exe
parents
9ffb77b1
770cdc19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
scripts/wait-for-tiworker.ps1
scripts/wait-for-tiworker.ps1
+17
-0
windows_2016_docker.json
windows_2016_docker.json
+1
-0
No files found.
scripts/wait-for-tiworker.ps1
0 → 100755
View file @
1fc44e9b
$procname
=
"TiWorker"
$finished
=
0
while
(
$finished
-lt
3
)
{
Start-Sleep
30
Write-Output
"Checking for
$procname
(
$finished
)"
$output
=
"
$(
get-process
-erroraction
silentlycontinue
$procname
)
"
if (
$output
-eq "") {
$finished
=
$finished
+ 1
} else {
$finished
= 0
}
}
windows_2016_docker.json
View file @
1fc44e9b
...
...
@@ -147,6 +147,7 @@
"./scripts/docker/add-docker-group.ps1"
,
"./scripts/docker/install-docker.ps1"
,
"./scripts/docker/docker-pull.ps1"
,
"./scripts/wait-for-tiworker.ps1"
,
"./scripts/docker/open-docker-insecure-port.ps1"
,
"./scripts/docker/open-docker-swarm-ports.ps1"
,
"./scripts/docker/remove-docker-key-json.ps1"
,
...
...
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