1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00

Fix pushing for other travis accounts (#282)

* do not cleanup on deploy
* uncomment ldap variables before sourcing
This commit is contained in:
Felix Bartels 2019-11-12 12:03:58 +01:00 committed by GitHub
parent 012d64d2bd
commit 9bb7f04670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -10,6 +10,9 @@ tmpfile=$(mktemp /tmp/kopano-docker-env.XXXXXX)
cp ./.env "$tmpfile"
sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile"
sed -i '/SASLAUTHD_LDAP_FILTER/s/^/#/g' "$tmpfile"
sed -i '/KCUNCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
sed -i '/KCCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
# shellcheck disable=SC1090
source "$tmpfile"

View File

@ -28,7 +28,9 @@ script:
- make test-startup-meet-demo
deploy:
- provider: script
script: make publish
skip-cleanup: true
script:
- make publish
on:
branch: master
#cache: # uncomment to not load/upload trivy files each time

View File

@ -19,6 +19,9 @@ tmpfile=$(mktemp /tmp/kopano-docker-env.XXXXXX)
cp ../.env "$tmpfile"
sed -i '/LDAP_QUERY_FILTER/s/^/#/g' "$tmpfile"
sed -i '/SASLAUTHD_LDAP_FILTER/s/^/#/g' "$tmpfile"
sed -i '/KCUNCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
sed -i '/KCCOMMENT_LDAP_1/s/^/#/g' "$tmpfile"
# shellcheck disable=SC1090
source "$tmpfile"