mirror of
https://github.com/lobaro/restic-backup-docker.git
synced 2026-02-17 09:23:56 +00:00
Update and rename config.yml to config-broken.yml
This commit is contained in:
21
config-broken.yml
Normal file
21
config-broken.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
schemaVersion: '2.0.0'
|
||||
commandTests:
|
||||
- name: "restic package installation"
|
||||
setup: [["/entry.sh"]]
|
||||
command: "which"
|
||||
args: ["restic"]
|
||||
expectedOutput: ["/bin/restic"]
|
||||
fileExistenceTests:
|
||||
- name: 'log directory exists'
|
||||
path: '/var/log'
|
||||
shouldExist: true
|
||||
- name: 'cron log file exists'
|
||||
path: '/var/log/cron.log'
|
||||
shouldExist: true
|
||||
- name: 'backup script exists'
|
||||
path: '/bin/backup'
|
||||
shouldExist: true
|
||||
metadataTest:
|
||||
volumes: ["/data"]
|
||||
entrypoint: ["/entry.sh"]
|
||||
cmd: ["tail","-fn0", "/var/log/cron.log"]
|
||||
21
config.yml
21
config.yml
@@ -1,21 +0,0 @@
|
||||
schemaVersion: '2.0.0'
|
||||
#commandTests:
|
||||
# - name: "restic package installation"
|
||||
# setup: [["/entry.sh"]]
|
||||
# command: "which"
|
||||
# args: ["restic"]
|
||||
# expectedOutput: ["/bin/restic"]
|
||||
#fileExistenceTests:
|
||||
#- name: 'log directory exists'
|
||||
# path: '/var/log'
|
||||
# shouldExist: true
|
||||
#- name: 'cron log file exists'
|
||||
# path: '/var/log/cron.log'
|
||||
# shouldExist: true
|
||||
#- name: 'backup script exists'
|
||||
# path: '/bin/backup'
|
||||
# shouldExist: true
|
||||
#metadataTest:
|
||||
# volumes: ["/data"]
|
||||
# entrypoint: ["/entry.sh"]
|
||||
# cmd: ["tail","-fn0", "/var/log/cron.log"]
|
||||
Reference in New Issue
Block a user