1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-07-02 20:26:23 +00:00
kopano-docker/tests/commander.yaml
Felix Bartels de66536525
Fix version detection in version.sh and add testing for it (#225)
* fix version syntax
* commander: verify output of version.sh
* commander: exit setup.sh with code 1 when .env exists
* add commander to travis
* minimal test for commander in core container
2019-08-30 18:22:36 +02:00

34 lines
729 B
YAML
Executable File

tests:
setup with existing .env:
command: ./setup.sh
exit-code: 1
stdout: |-
Creating individual env files for containers (if they do not exist already)
.env already exists with initial configuration
If you want to change the configuration, please edit .env directly
./version.sh:
exit-code: 0
./version.sh core:
exit-code: 0
stdout:
not-contains:
- core-
- Debian
- amd64
- tar.gz
./version.sh webapp:
exit-code: 0
stdout:
not-contains:
- webapp-
- Debian
- amd64
- tar.gz
./version.sh zpush:
exit-code: 0
stdout:
not-contains:
- Debian
- amd64
- tar.gz