diff --git a/config-broken.yml b/config-broken.yml new file mode 100644 index 0000000..11d8ce1 --- /dev/null +++ b/config-broken.yml @@ -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"] diff --git a/config.yml b/config.yml deleted file mode 100644 index 43e6ee0..0000000 --- a/config.yml +++ /dev/null @@ -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"]