From 313d052ed734c1d1ed239d1d59f85e19eeef3fed Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 19 Sep 2021 17:53:09 +0300 Subject: [PATCH] Add a bunch of test files. To test some of the hooks with pre-commit try-repo. --- test_files/docker-compose.yml | 5 +++++ test_files/main.tf | 1 + test_files/playbook.yml | 6 ++++++ test_files/script.sh | 4 ++++ 4 files changed, 16 insertions(+) create mode 100644 test_files/docker-compose.yml create mode 100644 test_files/main.tf create mode 100644 test_files/playbook.yml create mode 100755 test_files/script.sh diff --git a/test_files/docker-compose.yml b/test_files/docker-compose.yml new file mode 100644 index 0000000..2dcdc59 --- /dev/null +++ b/test_files/docker-compose.yml @@ -0,0 +1,5 @@ +--- +version: '3.5' +services: + httpd: + image: docker.io/library/httpd:2.4-alpine diff --git a/test_files/main.tf b/test_files/main.tf new file mode 100644 index 0000000..75db792 --- /dev/null +++ b/test_files/main.tf @@ -0,0 +1 @@ +terraform {} diff --git a/test_files/playbook.yml b/test_files/playbook.yml new file mode 100644 index 0000000..39477c1 --- /dev/null +++ b/test_files/playbook.yml @@ -0,0 +1,6 @@ +--- +- hosts: all + tasks: + - name: Debug + ansible.builtin.debug: + var: ansible_hostname diff --git a/test_files/script.sh b/test_files/script.sh new file mode 100755 index 0000000..4ce9978 --- /dev/null +++ b/test_files/script.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -eu + +exit 0 -- GitLab