File tree Expand file tree Collapse file tree 2 files changed +45
-2
lines changed
Expand file tree Collapse file tree 2 files changed +45
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,6 @@ RUN echo "export TERM=xterm-256color" >> ~/.bashrc
3535RUN echo "color ir_blue" >> ~/.vimrc.after
3636
3737ADD run_tests.sh /opt/
38+ ADD run_mem_tests.sh /opt/
3839
39- ENTRYPOINT ["/opt/run_tests.sh" ]
40-
40+ ENTRYPOINT ["/opt/run_mem_tests.sh" ]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ echo Using Git Repo: ${GIT_REPO:= " https://github.com/SpectraLogic/ds3_c_sdk.git" }
3+ echo Using Git Branch: ${GIT_BRANCH:= " master" }
4+
5+ echo DS3_ENDPOINT ${DS3_ENDPOINT}
6+ echo DS3_SECRET_KEY ${DS3_SECRET_KEY}
7+ echo DS3_ACCESS_KEY ${DS3_ACCESS_KEY}
8+
9+ echo " cd /opt"
10+ cd /opt
11+
12+ if [ ${GIT_BRANCH} != " master" ]; then
13+ echo git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch
14+ git clone ${GIT_REPO} --branch ${GIT_BRANCH} --single-branch
15+ else
16+ echo git clone ${GIT_REPO}
17+ git clone ${GIT_REPO}
18+ fi
19+
20+ echo " cd ds3_c_sdk"
21+ cd ds3_c_sdk
22+
23+ echo " cmake ."
24+ cmake .
25+
26+ echo " make"
27+ make
28+
29+ echo " make install"
30+ make install
31+ ldconfig
32+
33+ echo " cd test"
34+ cd test
35+
36+ echo " cmake ."
37+ cmake .
38+
39+ echo " make"
40+ make
41+ echo " make mem"
42+ make mem
43+
You can’t perform that action at this time.
0 commit comments