forked from CentaurusInfra/arktos-vm-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
executable file
·29 lines (23 loc) · 695 Bytes
/
test.sh
File metadata and controls
executable file
·29 lines (23 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
set -o errexit
set -o nounset
set -o pipefail
set -o errtrace
if [ $(uname) = Darwin ]; then
readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}
else
readlinkf(){ readlink -f "$1"; }
fi
SCRIPT_DIR="$(cd $(dirname "$(readlinkf "${BASH_SOURCE}")"); pwd)"
cd "${SCRIPT_DIR}"
build/cmd.sh clean
# remove the update-bindata once CI is stablized
build/cmd.sh update-bindata
build/cmd.sh build
build/cmd.sh copy
if [[ ! ${SKIP_TEST:-} ]]; then
build/cmd.sh test
fi
# docker build -t mirantis/virtlet .
# VIRTLET_DEMO_BRANCH=master NONINTERACTIVE=1 NO_VM_CONSOLE=1 INJECT_LOCAL_IMAGE=1 BASE_LOCATION="${SCRIPT_DIR}" deploy/demo.sh
# ./_output/virtlet-e2e-tests -test.v