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
6e029157
Commit
6e029157
authored
5 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Added skyreach APT token
parent
832b1f66
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
3.New_server_deployment/4.APT_upgrade/0_setup.sh
+2
-2
2 additions, 2 deletions
3.New_server_deployment/4.APT_upgrade/0_setup.sh
global-conf.sh
+1
-0
1 addition, 0 deletions
global-conf.sh
tests/test_ubicast_packages_access.py
+1
-1
1 addition, 1 deletion
tests/test_ubicast_packages_access.py
with
4 additions
and
3 deletions
3.New_server_deployment/4.APT_upgrade/0_setup.sh
+
2
−
2
View file @
6e029157
...
...
@@ -57,10 +57,10 @@ fi
systemctl unmask nginx
||
true
# APT panel
if
(
!
test
-z
${
SKYREACH_AP
I_
KE
Y
}
)
;
then
if
(
!
test
-z
${
SKYREACH_AP
T_TO
KE
N
}
)
;
then
echo
"Adding skyreach.list to APT sources."
wget
-q
"https://
${
SKYREACH_HOST
}
/media/public.gpg"
-O-
|
sudo
apt-key add -
echo
"deb https://
${
SKYREACH_HOST
}
packaging/apt/
${
SKYREACH_AP
I_
KE
Y
}
/"
>
/etc/apt/sources.list.d/skyreach.list
echo
"deb https://
${
SKYREACH_HOST
}
packaging/apt/
${
SKYREACH_AP
T_TO
KE
N
}
/"
>
/etc/apt/sources.list.d/skyreach.list
fi
# update
...
...
This diff is collapsed.
Click to expand it.
global-conf.sh
+
1
−
0
View file @
6e029157
...
...
@@ -11,6 +11,7 @@ ENVSETUP_BRANCH='stable'
SKYREACH_HOST
=
'panel.ubicast.eu'
SKYREACH_SSL_VERIFY
=
'1'
SKYREACH_API_KEY
=
SKYREACH_APT_TOKEN
=
SKYREACH_ACTIVATION_KEY
=
# NTP
NTP_SERVER
=
'0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org'
...
...
This diff is collapsed.
Click to expand it.
tests/test_ubicast_packages_access.py
+
1
−
1
View file @
6e029157
...
...
@@ -49,7 +49,7 @@ if content:
if
not
url
or
not
apt_token
:
print
(
'
The file
"
%s
"
is not correct: skyreach url not found.
'
%
apt_source
)
sys
.
exit
(
1
)
print
(
'
SkyReach url is %s and AP
I
ke
y
is %s[...].
'
%
(
url
,
apt_token
[:
8
]))
print
(
'
SkyReach url is
"
%s
"
and AP
T to
ke
n
is
"
%s[...]
"
.
'
%
(
url
,
apt_token
[:
8
]))
# Test SkyReach responses
req
=
requests
.
get
(
url
,
verify
=
False
)
...
...
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