GET copies of .conf files used after whitelist test

This commit is contained in:
Mitchell Krog 2019-06-26 11:35:03 +02:00
parent 90c1f76b60
commit 621c774c03
No known key found for this signature in database
GPG key ID: C243C388553EDE5D

View file

@ -229,6 +229,20 @@ echo "${bold}${green}Whitelisting Test Complete"
echo "${bold}${green}--------------------------" echo "${bold}${green}--------------------------"
printf "\n\n" printf "\n\n"
# *************************************************************
# Copy all .conf files used in Testing to a folder for checking
# *************************************************************
printf "\n"
echo "${bold}${green}------------------------------------------------------------"
echo "${bold}${green}Make Backup all conf files and folders used during this test"
echo "${bold}${green}------------------------------------------------------------"
printf "\n"
sudo cp /etc/nginx/bots.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_testing_changes/bots.d/
sudo cp /etc/nginx/conf.d/* ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_testing_changes/conf.d/
sudo cp /etc/nginx/sites-available/default.vhost ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_testing_changes/default.vhost
sudo cp /etc/nginx/nginx.conf ${TRAVIS_BUILD_DIR}/.dev-tools/_conf_files_testing_changes/nginx.conf
# ******************* # *******************
# RELEASE NEW VERSION # RELEASE NEW VERSION
# ******************* # *******************