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
783f33af
Commit
783f33af
authored
6 years ago
by
Florent Thiery
Browse files
Options
Downloads
Patches
Plain Diff
add netcapture deployment to to envsetup and include it into demokit, refs
#26945
parent
b513424e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
12.Netcapture/1.Install_Netcapture/0_setup.py
+18
-0
18 additions, 0 deletions
12.Netcapture/1.Install_Netcapture/0_setup.py
launcher.sh
+3
-1
3 additions, 1 deletion
launcher.sh
with
21 additions
and
1 deletion
12.Netcapture/1.Install_Netcapture/0_setup.py
0 → 100644
+
18
−
0
View file @
783f33af
#!/usr/bin/env python3
import
utils
def
setup
(
interactive
=
True
):
# Run commands
cmds
=
[
'
apt-get install --yes apt-transport-https ca-certificates curl software-properties-common
'
,
'
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
'
,
'
add-apt-repository
"
deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable
"'
,
'
apt-get update && apt-get install --yes docker-ce
'
,
'
apt-get install --yes python3-miris-netcapture
'
,
]
try
:
utils
.
run_commands
(
cmds
)
except
Exception
:
raise
This diff is collapsed.
Click to expand it.
launcher.sh
+
3
−
1
View file @
783f33af
...
@@ -137,7 +137,9 @@ case "$1" in
...
@@ -137,7 +137,9 @@ case "$1" in
mediaserver
mediaserver
# install celerity-worker
# install celerity-worker
python3 /root/envsetup/envsetup.py 72
python3 /root/envsetup/envsetup.py 72
# deploy videos
# install netcapture
python3 /root/envsetup/envsetup.py 121
# demokit scripts: deploy videos, custom conf, etc
python3 /root/envsetup/envsetup.py 53
python3 /root/envsetup/envsetup.py 53
[[
$2
=
"--skip-tests"
]]
||
tests
[[
$2
=
"--skip-tests"
]]
||
tests
;;
;;
...
...
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