Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
flame-clmc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
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
flame
flame-clmc
Commits
17d7ce24
Commit
17d7ce24
authored
7 years ago
by
Rowan Powell
Browse files
Options
Downloads
Patches
Plain Diff
Resolved #48, obtaining test video moved from install to test setup
parent
ca200e98
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/services/nginx/install.sh
+1
-15
1 addition, 15 deletions
test/services/nginx/install.sh
test/streaming/setup.sh
+15
-1
15 additions, 1 deletion
test/streaming/setup.sh
with
16 additions
and
16 deletions
test/services/nginx/install.sh
+
1
−
15
View file @
17d7ce24
...
...
@@ -32,18 +32,4 @@ yes Y | apt-get install nginx
# http://nginx.org/en/docs/http/ngx_http_stub_status_module.html
cp
-rf
$REPO_ROOT
/test/services/nginx/nginx.conf /etc/nginx/nginx.conf
nginx
-s
reload
systemctl start nginx
# Copy in the test video, this needs to be part of a test set up and not here.
TEST_VIDEO
=
"20180212104221flame-project-full.mp4"
TEST_VIDEO_ARCHIVE
=
$TEST_VIDEO
".gz"
DEST_DIR
=
"/usr/share/nginx/html"
DEST_FILE
=
$DEST_DIR
"/"
$TEST_VIDEO_ARCHIVE
# Copy files for MPEG-DASH testing
curl
"ftp://ftp.it-innovation.soton.ac.uk/testdata/video/"
$TEST_VIDEO_ARCHIVE
--user
flame-rw:DR8ngj3ogSjd8gl
-o
$DEST_FILE
tar
-xvf
$DEST_FILE
-C
$DEST_DIR
rm
-rf
$DEST_FILE
mv
$DEST_DIR
"/"
$TEST_VIDEO
$DEST_DIR
"/"
test_video
\ No newline at end of file
systemctl start nginx
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/streaming/setup.sh
+
15
−
1
View file @
17d7ce24
...
...
@@ -47,4 +47,18 @@ curl -i -X POST -H "Content-Type: application/json" http://localhost:8888/chrono
curl
-i
-X
POST
-H
"Content-Type: application/json"
http://localhost:9092/kapacitor/v1/tasks
-d
@
$TEST_DIR
/rules.json
# Set up dashboard
curl
-i
-X
POST
-H
"Content-Type: application/json"
http://localhost:8888/chronograf/v1/dashboards
-d
@
$TEST_DIR
/dashboard.json
\ No newline at end of file
curl
-i
-X
POST
-H
"Content-Type: application/json"
http://localhost:8888/chronograf/v1/dashboards
-d
@
$TEST_DIR
/dashboard.json
# Copy in the test video
TEST_VIDEO
=
"20180212104221flame-project-full.mp4"
TEST_VIDEO_ARCHIVE
=
$TEST_VIDEO
".gz"
DEST_DIR
=
"/usr/share/nginx/html"
DEST_FILE
=
$DEST_DIR
"/"
$TEST_VIDEO_ARCHIVE
# Copy files for MPEG-DASH testing
curl
"ftp://ftp.it-innovation.soton.ac.uk/testdata/video/"
$TEST_VIDEO_ARCHIVE
--user
flame-rw:DR8ngj3ogSjd8gl
-o
$DEST_FILE
tar
-xvf
$DEST_FILE
-C
$DEST_DIR
rm
-rf
$DEST_FILE
mv
$DEST_DIR
"/"
$TEST_VIDEO
$DEST_DIR
"/"
test_video
\ No newline at end of file
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