Update .gitignore to exclude all generated files (#1394)

updated a typo in the configure.sh file for turnserver.conf backup
This commit is contained in:
Maycon Santos 2023-12-17 18:49:47 +01:00 committed by GitHub
parent 56896794b3
commit 01f28baec7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 6 deletions

19
.gitignore vendored
View File

@ -6,11 +6,20 @@ bin/
.env
conf.json
http-cmds.sh
infrastructure_files/artifacts/management.json
infrastructure_files/artifacts/management-*.json
infrastructure_files/artifacts/docker-compose.yml
infrastructure_files/artifacts/openid-configuration.json
infrastructure_files/artifacts/turnserver.conf
setup.env
infrastructure_files/**/Caddyfile
infrastructure_files/**/dashboard.env
infrastructure_files/**/zitadel.env
infrastructure_files/**/management.json
infrastructure_files/**/management-*.json
infrastructure_files/**/docker-compose.yml
infrastructure_files/**/openid-configuration.json
infrastructure_files/**/turnserver.conf
infrastructure_files/**/management.json.bkp.**
infrastructure_files/**/management-*.json.bkp.**
infrastructure_files/**/docker-compose.yml.bkp.**
infrastructure_files/**/openid-configuration.json.bkp.**
infrastructure_files/**/turnserver.conf.bkp.**
management/management
client/client
client/client.exe

View File

@ -197,7 +197,7 @@ if test -f "${artifacts_path}/management.json"; then
fi
if test -f "${artifacts_path}/turnserver.conf"; then
cp ${artifacts_path}/turnserver.conf "${artifacts_path}/turnserver.conf.bpk.${bkp_postfix}"
cp ${artifacts_path}/turnserver.conf "${artifacts_path}/turnserver.conf.bkp.${bkp_postfix}"
fi
envsubst <docker-compose.yml.tmpl >$artifacts_path/docker-compose.yml
envsubst <management.json.tmpl | jq . >$artifacts_path/management.json