mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
Fixed travis ci.
This commit is contained in:
parent
0d2ed6aa87
commit
0cc4c8d2fa
|
@ -9,11 +9,4 @@ install:
|
|||
- echo "Nothing to install"
|
||||
|
||||
script:
|
||||
- cd image && make base squash-base server && cd ..
|
||||
- cp samples/server.conf bootstrap/bootstrap.conf
|
||||
- sudo ./launcher bootstrap
|
||||
- sudo ./launcher start && sleep 10
|
||||
- sudo ./launcher stop --skip-prereqs
|
||||
- sudo ./launcher start --docker-args "--memory 1g" && sleep 10
|
||||
- sudo ./launcher restart
|
||||
- sudo ./launcher rebuild --docker-args "--memory 1g"
|
||||
- ci/ci.sh
|
||||
|
|
19
ci/ci.sh
Executable file
19
ci/ci.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e -x
|
||||
|
||||
pip install docker-squash
|
||||
|
||||
(
|
||||
cd image
|
||||
make base squash-base server
|
||||
)
|
||||
|
||||
cp samples/server.conf bootstrap/bootstrap.conf
|
||||
|
||||
./launcher bootstrap
|
||||
./launcher start && sleep 10
|
||||
./launcher stop --skip-prereqs
|
||||
./launcher start --docker-args "--memory 1g" && sleep 10
|
||||
./launcher restart
|
||||
./launcher rebuild --docker-args "--memory 1g"
|
Loading…
Reference in a new issue