Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 5efa420

Browse files
committed
Update version typos in build scripts and documentation (#53)
1 parent 40600e6 commit 5efa420

File tree

4 files changed

+28
-28
lines changed

4 files changed

+28
-28
lines changed

OMAF-Sample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
make build -j $(nproc)
3434
docker image ls
3535
# REPOSITORY TAG
36-
# immersive-server v1.10
37-
# immersive-server-base v1.10
36+
# immersive-server v1.12
37+
# immersive-server-base v1.12
3838
```
3939

4040
- Client :
@@ -46,7 +46,7 @@
4646

4747
- Server :
4848
```bash
49-
docker run --privileged -p 30001:443 -p 30002:8080 -it immersive-server:v1.10 bash # Map the port.
49+
docker run --privileged -p 30001:443 -p 30002:8080 -it immersive-server:v1.12 bash # Map the port.
5050
cd /usr/local/nginx/conf/
5151
./configure.sh CN Shanghai A B C D [email protected] # './configure.sh -h' for details.
5252
/usr/local/nginx/sbin/nginx # Start nginx.

OMAF-Sample/server/deploy.sh

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/bin/bash -ex
22

3-
parameters_usage(){
4-
echo 'Usage: 1. <path>: original file path'
5-
echo ' 2. <proxy>: proxy setting. [optional]'
3+
parameters_usage() {
4+
echo 'Usage: 1. <path>: original file path'
5+
echo ' 2. <proxy>: proxy setting. [optional]'
66
}
77

8-
REPOPATH=`echo $1 | awk -F "OMAF-Sample" '{print $1}'`
8+
REPOPATH=$(echo $1 | awk -F "OMAF-Sample" '{print $1}')
99
SRCPATH="${REPOPATH}src/"
1010
DSTPATH="${REPOPATH}OMAF-Sample/server/src/"
11-
VERSION="v1.10"
11+
VERSION="v1.12"
1212
IMAGEPREFIX="immersive-server"
1313
BASETAG="${IMAGEPREFIX}-base:${VERSION}"
1414
RUNTIMETAG="${IMAGEPREFIX}:${VERSION}"
@@ -29,29 +29,29 @@ cp -r ${SRCPATH}OmafDashAccess ${DSTPATH}
2929
cp -r ${SRCPATH}CMakeLists.txt ${DSTPATH}
3030
cp -r ${REPOPATH}Sample-Videos ${DSTPATH}
3131

32-
if [ $# = 2 ] ; then
33-
if [ "$1" = "-h" ] ; then
34-
parameters_usage
35-
else
36-
PROXY=$2
37-
PROXYARGS="--build-arg http_proxy=${PROXY} "`
38-
`"--build-arg https_proxy=${PROXY}"
39-
echo "PROXY:${PROXY}"
40-
fi
41-
elif [ $# = 1 ] ; then
42-
PROXYARGS=""
32+
if [ $# = 2 ]; then
33+
if [ "$1" = "-h" ]; then
34+
parameters_usage
35+
else
36+
PROXY=$2
37+
PROXYARGS="--build-arg http_proxy=${PROXY} "$(
38+
)"--build-arg https_proxy=${PROXY}"
39+
echo "PROXY:${PROXY}"
40+
fi
41+
elif [ $# = 1 ]; then
42+
PROXYARGS=""
4343
else
44-
parameters_usage
45-
exit 0
44+
parameters_usage
45+
exit 0
4646
fi
4747

4848
DOCKER_BUILDKIT=1 docker build ${PROXYARGS} \
49-
--tag ${BASETAG} \
50-
--file Dockerfile.base .
49+
--tag ${BASETAG} \
50+
--file Dockerfile.base .
5151

5252
DOCKER_BUILDKIT=1 docker build ${PROXYARGS} \
53-
--tag ${RUNTIMETAG} \
54-
--build-arg "base_image=${BASETAG}" \
55-
--file Dockerfile.runtime .
53+
--tag ${RUNTIMETAG} \
54+
--build-arg "base_image=${BASETAG}" \
55+
--file Dockerfile.runtime .
5656

5757
rm -rf ${DSTPATH}

OMAF-Sample/server/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
enableServiceLinks: false
1818
containers:
1919
- name: immersive-server
20-
image: immersive_server:v1.10
20+
image: immersive_server:v1.12
2121
command: [ "/bin/sh","-c" ]
2222
args:
2323
- cd /usr/local/nginx/conf/ &&

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Open Visual Cloud Immersive Video Samples
44
[![Travis Build Status](https://travis-ci.com/OpenVisualCloud/Immersive-Video-Sample.svg?branch=master)](https://travis-ci.com/OpenVisualCloud/Immersive-Video-Sample)
5-
[![Stable release](https://img.shields.io/badge/latest_release-v1.10.0-green.svg)](https://github.com/OpenVisualCloud/Immersive-Video-Sample/releases/latest)
5+
[![Stable release](https://img.shields.io/badge/latest_release-v1.12.0-green.svg)](https://github.com/OpenVisualCloud/Immersive-Video-Sample/releases/latest)
66
[![Contributions](https://img.shields.io/badge/contributions-welcome-blue.svg)](https://github.com/OpenVisualCloud/Immersive-Video-Sample/wiki)
77

88
This Immersive Video project includes 2 samples which are based on different streaming frameworks.

0 commit comments

Comments
 (0)