From 0a106f377cf0cafaeaed7db71d9b2761a9ca33d2 Mon Sep 17 00:00:00 2001
From: Timo Furrer <tfurrer@gitlab.com>
Date: Tue, 5 Nov 2024 15:53:28 +0100
Subject: [PATCH] Remove old OpenTofu versions

Changelog: removed
---
 README.md                           | 6 ------
 opentofu_versions.yaml              | 6 ------
 templates/apply.yml                 | 6 ------
 templates/custom-command.yml        | 6 ------
 templates/destroy.yml               | 6 ------
 templates/fmt.yml                   | 6 ------
 templates/full-pipeline.yml         | 6 ------
 templates/graph.yml                 | 6 ------
 templates/job-templates.yml         | 6 ------
 templates/plan.yml                  | 6 ------
 templates/test.yml                  | 6 ------
 templates/validate-plan-apply.yml   | 6 ------
 templates/validate-plan-destroy.yml | 6 ------
 templates/validate-plan.yml         | 6 ------
 templates/validate.yml              | 6 ------
 15 files changed, 90 deletions(-)

diff --git a/README.md b/README.md
index 0bfc04e..d98f969 100644
--- a/README.md
+++ b/README.md
@@ -226,13 +226,7 @@ The following OpenTofu versions are available with this component via the `opent
 - [`1.8.1`](https://github.com/opentofu/opentofu/releases/tag/v1.8.1)
 - [`1.8.0`](https://github.com/opentofu/opentofu/releases/tag/v1.8.0)
 - [`1.7.3`](https://github.com/opentofu/opentofu/releases/tag/v1.7.3)
-- [`1.7.2`](https://github.com/opentofu/opentofu/releases/tag/v1.7.2)
-- [`1.7.1`](https://github.com/opentofu/opentofu/releases/tag/v1.7.1)
-- [`1.7.0`](https://github.com/opentofu/opentofu/releases/tag/v1.7.0)
-- [`1.7.0-alpha1`](https://github.com/opentofu/opentofu/releases/tag/v1.7.0-alpha1)
 - [`1.6.2`](https://github.com/opentofu/opentofu/releases/tag/v1.6.2)
-- [`1.6.1`](https://github.com/opentofu/opentofu/releases/tag/v1.6.1)
-- [`1.6.0`](https://github.com/opentofu/opentofu/releases/tag/v1.6.0)
 
 ### Variables
 
diff --git a/opentofu_versions.yaml b/opentofu_versions.yaml
index 961d15a..0b0d7d2 100644
--- a/opentofu_versions.yaml
+++ b/opentofu_versions.yaml
@@ -8,13 +8,7 @@
     - '1.8.1'
     - '1.8.0'
     - '1.7.3'
-    - '1.7.2'
-    - '1.7.1'
-    - '1.7.0'
-    - '1.7.0-alpha1'
     - '1.6.2'
-    - '1.6.1'
-    - '1.6.0'
   hack_templates_supported_versions:
     - *supported_versions
     - '$OPENTOFU_VERSION'
diff --git a/templates/apply.yml b/templates/apply.yml
index fef507a..479c943 100644
--- a/templates/apply.yml
+++ b/templates/apply.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/custom-command.yml b/templates/custom-command.yml
index e818950..158ca09 100644
--- a/templates/custom-command.yml
+++ b/templates/custom-command.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/destroy.yml b/templates/destroy.yml
index d67ec80..ed99546 100644
--- a/templates/destroy.yml
+++ b/templates/destroy.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/fmt.yml b/templates/fmt.yml
index e249973..ff0e58d 100644
--- a/templates/fmt.yml
+++ b/templates/fmt.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/full-pipeline.yml b/templates/full-pipeline.yml
index 477e3c5..d267b07 100644
--- a/templates/full-pipeline.yml
+++ b/templates/full-pipeline.yml
@@ -42,13 +42,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/graph.yml b/templates/graph.yml
index 41f9657..11e3c65 100644
--- a/templates/graph.yml
+++ b/templates/graph.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/job-templates.yml b/templates/job-templates.yml
index f4602c9..aa07a87 100644
--- a/templates/job-templates.yml
+++ b/templates/job-templates.yml
@@ -42,13 +42,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/plan.yml b/templates/plan.yml
index b08502a..8e3a2b8 100644
--- a/templates/plan.yml
+++ b/templates/plan.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/test.yml b/templates/test.yml
index f6ef6ef..d1fd698 100644
--- a/templates/test.yml
+++ b/templates/test.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/validate-plan-apply.yml b/templates/validate-plan-apply.yml
index 8fd8a92..2787029 100644
--- a/templates/validate-plan-apply.yml
+++ b/templates/validate-plan-apply.yml
@@ -36,13 +36,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/validate-plan-destroy.yml b/templates/validate-plan-destroy.yml
index 7e81b35..a23a678 100644
--- a/templates/validate-plan-destroy.yml
+++ b/templates/validate-plan-destroy.yml
@@ -36,13 +36,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/validate-plan.yml b/templates/validate-plan.yml
index a491411..274781b 100644
--- a/templates/validate-plan.yml
+++ b/templates/validate-plan.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
diff --git a/templates/validate.yml b/templates/validate.yml
index c5077ef..9bf6093 100644
--- a/templates/validate.yml
+++ b/templates/validate.yml
@@ -33,13 +33,7 @@ spec:
         - '1.8.1'
         - '1.8.0'
         - '1.7.3'
-        - '1.7.2'
-        - '1.7.1'
-        - '1.7.0'
-        - '1.7.0-alpha1'
         - '1.6.2'
-        - '1.6.1'
-        - '1.6.0'
         - '$OPENTOFU_VERSION'
       description: 'OpenTofu version that should be used.'
 
-- 
GitLab