Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
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
mediaserver
envsetup
Commits
83d1776b
Commit
83d1776b
authored
4 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Fixed paths in getenvsetup script | refs
#32734
parent
5453d1b6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/getenvsetup.sh
+5
-5
5 additions, 5 deletions
tools/getenvsetup.sh
with
5 additions
and
5 deletions
tools/getenvsetup.sh
+
5
−
5
View file @
83d1776b
...
@@ -37,21 +37,21 @@ if [ "$proxy" ]; then
...
@@ -37,21 +37,21 @@ if [ "$proxy" ]; then
git config
--global
http.proxy
"
$proxy
"
git config
--global
http.proxy
"
$proxy
"
echo
"HTTP_PROXY=
\"
http://
$proxy
\"
"
>>
/etc/environment
echo
"HTTP_PROXY=
\"
http://
$proxy
\"
"
>>
/etc/environment
echo
"HTTPS_PROXY=
\"
http://
$proxy
\"
"
>>
/etc/environment
echo
"HTTPS_PROXY=
\"
http://
$proxy
\"
"
>>
/etc/environment
source
/etc/environment
fi
fi
# clone envsetup
# clone envsetup
cd
/root
git clone https://mirismanager.ubicast.eu/git/mediaserver/envsetup.git
-b
stable
git clone https://mirismanager.ubicast.eu/git/mediaserver/envsetup.git
-b
stable
cd
/root/envsetup
||
exit
cd
/root/envsetup
||
exit
# activation key
# activation key
read
-r
-p
"Activation key (e.g. XXX-XXX-XXX-XXX): "
key
read
-r
-p
"Activation key (e.g. XXX-XXX-XXX-XXX): "
key
if
[
"
$key
"
]
;
then
if
[
"
$key
"
]
;
then
cp
-u
/root/envsetup/inventories/local-
${
target
}
/host_vars/localhost.
{
dist.yml,yml
}
cp
-u
/root/envsetup/ansible/inventories/local-
${
target
}
/host_vars/localhost.
{
dist.yml,yml
}
# temp fix while waiting for envsetup3 to be merged into stable
sed
-i
"s/skyreach_activation_key:.*/skyreach_activation_key:
${
key
}
/g"
/root/envsetup/ansible/inventories/local-
${
target
}
/host_vars/localhost.yml
test
-f
site.yml
||
git checkout master
sed
-i
"s/skyreach_activation_key:.*/skyreach_activation_key:
${
key
}
/g"
/root/envsetup/inventories/local-
${
target
}
/host_vars/localhost.yml
fi
fi
# deploy target
# deploy target
make
install
make
install
make deploy
i
=
inventories/local-
${
target
}
make deploy
i
=
/root/envsetup/ansible/
inventories/local-
${
target
}
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