Skip to content

Commit 027a9ad

Browse files
author
Erwin Dondorp
committed
modernized docker-compose and OS for testing
1 parent 71c98c6 commit 027a9ad

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

docker/docker-compose-tls.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
saltmaster-local:
43
image: erwindon/saltgui-saltmaster-tls:3007.6

docker/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '3'
21
services:
32
saltmaster-local:
43
image: erwindon/saltgui-saltmaster:3007.6

runtests.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# show what is going on
44
set -x
55

6-
# get the needed software
7-
sudo apt install -y libxss1 libgconf-2-4 libnss3 libasound2 libgtk-3-0 xvfb psmisc
6+
# get the needed software (for Debian 13)
7+
sudo apt install -y libxss1 libnss3 libasound2t64 libgtk-3-0t64 xvfb psmisc docker-ce docker-compose-plugin
88

99
# prevent conflict with a previous running xvfb
1010
killall --quiet Xvfb
@@ -29,7 +29,7 @@ npm run test:coverage
2929

3030
# start a salt master, three salt minions and saltgui to run tests on
3131
# Don't use --detach; travis docker does not understand it
32-
docker-compose --file docker/docker-compose.yml up -d
32+
docker compose --file docker/docker-compose.yml up -d
3333

3434
# wait until all are up
3535
npm run wait-for-docker
@@ -43,6 +43,6 @@ export ELECTRON_DISABLE_SECURITY_WARNINGS=true
4343
xvfb-run npm run test:functional
4444

4545
# remove the containers
46-
docker-compose --file docker/docker-compose.yml rm --force --stop
46+
docker compose --file docker/docker-compose.yml rm --force --stop
4747

4848
echo "DONE!"

0 commit comments

Comments
 (0)