Skip to content

Commit c2ce7a0

Browse files
author
thomassong
committed
Change version
Signed-off-by: thomassong <[email protected]>
1 parent a174822 commit c2ce7a0

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: c
2+
3+
services:
4+
- docker
5+
6+
script:
7+
- ./build-img.sh

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# vcuda-controller
22

3+
[![Build Status](https://travis-ci.org/tkestack/vcuda-controller.svg)](https://travis-ci.org/tkestack/vcuda-controller)
4+
[![Total alerts](https://img.shields.io/lgtm/alerts/g/tkestack/vcuda-controller.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/tkestack/vcuda-controller/alerts/)
5+
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/tkestack/vcuda-controller.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/tkestack/vcuda-controller/context:cpp)
6+
37
This project is a wrapper of NVIDIA driver library, it's a component of [gpu-manager](https://github.com/tkestack/gpu-manager) which
48
makes Kubernetes can not only run more than one Pod on the same GPU, but also give QoS guaranteed to each Pod. For more details, please
59
refer to our paper [here](https://ieeexplore.ieee.org/abstract/document/8672318).
10+
11+
12+
## Build
13+
14+
```
15+
IMAGE_FILE=<your image name without version> ./build-img.sh
16+
```

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1
1+
1.0

build-img.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o nounset
55
set -o xtrace
66

77
ROOT=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd -P)
8-
IMAGE_FILE=${IMAGE_FILE:-"tkestack.io/gaia/vcuda:latest"}
8+
IMAGE_FILE=${IMAGE_FILE:-"docker.io/tkestack/vcuda"}
99

1010
function cleanup() {
1111
rm -rf ${ROOT}/cuda-control.tar
@@ -24,7 +24,7 @@ function build_img() {
2424
cp ${ROOT}/Dockerfile ${ROOT}/build
2525
(
2626
cd ${ROOT}/build
27-
docker build --build-arg version=${version} --build-arg commit=${commit} -t ${IMAGE_FILE} .
27+
docker build --build-arg version=${version} --build-arg commit=${commit} -t "${IMAGE_FILE}:${version}" .
2828
)
2929
}
3030

0 commit comments

Comments
 (0)