Update and rename config.yml to config-broken.yml

This commit is contained in:
Tobias Kaupat
2020-01-07 16:45:19 +01:00
committed by GitHub
parent 5a1bec484a
commit 0c8da5f31e
2 changed files with 21 additions and 21 deletions

21
config-broken.yml Normal file
View 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"]

View File

@@ -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"]