1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

Make repo script more dynamic #232

* also add the ability to download the tar for supported releases
* use env variables for distribution, channel and branch
* add tests for new archive download for supported releases
This commit is contained in:
Felix Bartels
2019-10-14 11:19:07 +02:00
committed by GitHub
parent 9b5187d2e4
commit 37f3ee0720
5 changed files with 65 additions and 12 deletions
+37
View File
@@ -0,0 +1,37 @@
tests:
./version.sh core Debian_9.0 supported final/tarballs/:
exit-code: 0
stdout:
not-contains:
- core-
- Debian
- amd64
- tar.gz
- tarballs
./version.sh core Debian_9.0 supported pre-final/tarballs/:
exit-code: 0
stdout:
not-contains:
- core-
- Debian
- amd64
- tar.gz
- tarballs
./version.sh core Debian_9.0 supported master/tarballs/:
exit-code: 0
stdout:
not-contains:
- core-
- Debian
- amd64
- tar.gz
- tarballs
./version.sh webapp Debian_9.0 supported final/tarballs/:
exit-code: 0
stdout:
not-contains:
- webapp-
- Debian
- amd64
- tar.gz
- tarballs