-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdeploy-all.sh
More file actions
executable file
·50 lines (42 loc) · 918 Bytes
/
deploy-all.sh
File metadata and controls
executable file
·50 lines (42 loc) · 918 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#! /bin/bash
set -e
set +x
OLDDIR=$PWD
THEDIR=`mktemp -d`
# export SKIP_IPFS_GATEWAY=true
if [ "$SKIP_IPFS_GATEWAY" == "true" ]
then
zeus deploy canned-boxes --no-invalidate
else
sudo killall ipfs
zeus deploy canned-boxes --invalidate
fi
git add . || true
git commit -am "version" || true
git push || true
if [ "$SKIP_TEST" == "true" ]
then
exit
fi
cd $THEDIR
export DEMUX_BACKEND=state_history_plugin
export IPFS_HOST=localhost
# zeus unbox helloworld -c --test
mkdir framework-tests; cd framework-tests
zeus box create
zeus unbox framework-tests -c
zeus test -c
cd ..
# zeus unbox microauctions -c
# cd microauctions
# zeus test -c
# cd ..
# zeus unbox dapp-sample -c --test
# zeus unbox sample-eos-assemblyscript -c --test
# zeus unbox helloworld -c
# cd helloworld
# zeus test -c
# zeus create contract-deployment helloworld helloworld1
# zeus migrate
# sudo rm -rf $THEDIR
cd $OLDDIR