Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible CI
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
Ansible
Ansible CI
Commits
0c162008
Verified
Commit
0c162008
authored
4 years ago
by
Tóth Miklós Tibor
Browse files
Options
Downloads
Patches
Plain Diff
better bootstrap.sh
parent
d135fde6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
playbook-template/bootstrap.sh
+0
-24
0 additions, 24 deletions
playbook-template/bootstrap.sh
with
0 additions
and
24 deletions
playbook-template/bootstrap.sh
+
0
−
24
View file @
0c162008
...
@@ -17,31 +17,7 @@ downloadFile() {
...
@@ -17,31 +17,7 @@ downloadFile() {
download
"
$reporaw
/
$1
"
"
$1
"
download
"
$reporaw
/
$1
"
"
$1
"
}
}
update
()
{
# TODO: versioning with tags
if
$NOUPDATE
then
return
0
fi
local
prevhash
prevhash
=
"
$(
md5hash
"
$0
"
)
"
download
"
$reporaw
/bootstrap.sh"
"
$0
"
local
newhash
newhash
=
"
$(
md5hash
"
$0
"
)
"
if
[[
"
$prevhash
"
!=
"
$newhash
"
]]
then
exec
bash
"
$0
"
fi
}
update
downloadFile
"requirements.python.txt"
downloadFile
"requirements.python.txt"
downloadFile
"requirements.galaxy.yml"
if
!
command
-v
virtualenv &>/dev/null
if
!
command
-v
virtualenv &>/dev/null
then
then
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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