From 90faa25879d33f0baa8a9d9c0e45fccb9e3fd95b Mon Sep 17 00:00:00 2001
From: bpt <bernardo.p.tomasi@gmail.com>
Date: Fri, 1 Nov 2024 19:40:11 -0300
Subject: [PATCH] update [skip ci]

---
 .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..aa0e237
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+---
+
+stages:
+  - run
+
+
+default:
+  tags:
+    - default-env
+
+
+#
+# The `root-keys-job` triggers the setup-hosts pipeline whenever the
+# `root_keys` file changes. This setup ensures that updates to the SSH
+# keys in the `root_keys` file are consistently applied across all
+# machines, allowing for effective management of SSH connection
+# permissions.
+#
+root-keys-job:
+  stage : run
+  script:
+    - |
+      
+      curl --request POST                             \
+           --form ref=main                            \
+           --form variables[TAGS]='users,root'        \
+           "$SETUP_HOSTS_TRIGGER_URL"
+
+  only:
+    changes:
+      - "root_keys"
+
+...
-- 
GitLab