Skip to content
Snippets Groups Projects
Commit 783f33af authored by Florent Thiery's avatar Florent Thiery
Browse files

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
#!/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
...@@ -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
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment