add test crontab and test_script
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
sshkeys/clients/
|
||||
sshkeys/host/
|
||||
crontab.txt
|
||||
maintain_repo.sh
|
||||
backups/
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
* * * * * /test_script.sh
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
# !/bin/bash
|
||||
|
||||
echo "$(date +%Y-%m-%d_%H:%M:%S) Test" >> /logs/test.log
|
||||
@@ -12,8 +12,8 @@ run_docker_container() {
|
||||
-e MAINTENANCE_ENABLE="true" \
|
||||
-e INTERACTIVE_MODE="true" \
|
||||
-e TZ="Europe/Vienna" \
|
||||
-v "$PWD"/crontab.txt:/crontab.txt \
|
||||
-v "$PWD"/maintain_repo.sh:/maintain_repo.sh \
|
||||
-v "$PWD"/Testing/crontab.txt:/crontab.txt \
|
||||
-v "$PWD"/Testing/test_script.sh:/test_script.sh \
|
||||
-v "$PWD"/sshkeys/clients:/sshkeys/clients \
|
||||
-v "$PWD"/backups:/backups \
|
||||
"$DOCKER_IMAGE_NAME":"$GIT_BRANCH"
|
||||
|
||||
Reference in New Issue
Block a user