From 0c8da5f31ee0028743dc5a6b13d96db964a48f5c Mon Sep 17 00:00:00 2001 From: Tobias Kaupat Date: Tue, 7 Jan 2020 16:45:19 +0100 Subject: [PATCH] Update and rename config.yml to config-broken.yml --- config-broken.yml | 21 +++++++++++++++++++++ config.yml | 21 --------------------- 2 files changed, 21 insertions(+), 21 deletions(-) create mode 100644 config-broken.yml delete mode 100644 config.yml 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"]