From d36454cbeed0b065b82361de6e717e4b60d65be3 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sat, 29 Aug 2020 13:09:57 -0700
Subject: [PATCH] Don't require each plugin to include each element

Will be hard to add new things and avoid updating everything that uses this.
---
 plugins/default.yml                       | 5 +++++
 plugins/{ => templates}/before-script.yml | 0
 plugins/{ => templates}/cache.yml         | 0
 plugins/{ => templates}/matrix.yml        | 0
 plugins/{ => templates}/variables.yml     | 0
 5 files changed, 5 insertions(+)
 create mode 100644 plugins/default.yml
 rename plugins/{ => templates}/before-script.yml (100%)
 rename plugins/{ => templates}/cache.yml (100%)
 rename plugins/{ => templates}/matrix.yml (100%)
 rename plugins/{ => templates}/variables.yml (100%)

diff --git a/plugins/default.yml b/plugins/default.yml
new file mode 100644
index 0000000..73e2f88
--- /dev/null
+++ b/plugins/default.yml
@@ -0,0 +1,5 @@
+include:
+  - local: './templates/variables.yml'
+  - local: './templates/cache.yml'
+  - local: './templates/before_script.yml'
+  - local: './templates/matrix.yml'
diff --git a/plugins/before-script.yml b/plugins/templates/before-script.yml
similarity index 100%
rename from plugins/before-script.yml
rename to plugins/templates/before-script.yml
diff --git a/plugins/cache.yml b/plugins/templates/cache.yml
similarity index 100%
rename from plugins/cache.yml
rename to plugins/templates/cache.yml
diff --git a/plugins/matrix.yml b/plugins/templates/matrix.yml
similarity index 100%
rename from plugins/matrix.yml
rename to plugins/templates/matrix.yml
diff --git a/plugins/variables.yml b/plugins/templates/variables.yml
similarity index 100%
rename from plugins/variables.yml
rename to plugins/templates/variables.yml
-- 
GitLab