From abe163ddf5739a3b5ec9d59e43bd26371bf23996 Mon Sep 17 00:00:00 2001
From: Timo Furrer <tuxtimo@gmail.com>
Date: Mon, 14 Apr 2025 15:27:25 +0200
Subject: [PATCH] Example without OpenTofu version input

---
 .gitlab/README.md.template | 8 ++++++++
 README.md                  | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/.gitlab/README.md.template b/.gitlab/README.md.template
index 3a3ec03..256d2cf 100644
--- a/.gitlab/README.md.template
+++ b/.gitlab/README.md.template
@@ -26,6 +26,14 @@ together with an OpenTofu version.
 > The usage examples use `<...>` pattern for placeholders that you must replace with your desired values.
 
 ```yaml
+include:
+  - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@<VERSION>
+
+stages: [validate, test, build, deploy, cleanup]
+
+---
+
+# ... or with explicit OpenTofu version
 include:
   - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@<VERSION>
     inputs:
diff --git a/README.md b/README.md
index b181325..9ad6f92 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,14 @@ together with an OpenTofu version.
 > The usage examples use `<...>` pattern for placeholders that you must replace with your desired values.
 
 ```yaml
+include:
+  - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@<VERSION>
+
+stages: [validate, test, build, deploy, cleanup]
+
+---
+
+# ... or with explicit OpenTofu version
 include:
   - component: $CI_SERVER_FQDN/components/opentofu/full-pipeline@<VERSION>
     inputs:
-- 
GitLab