From bf9515b283fc1271c057927d50f63bd81de1ef90 Mon Sep 17 00:00:00 2001
From: Lorenzo Pagliai <lorenzo.pagliai@seco.com>
Date: Mon, 25 Sep 2023 10:57:34 +0200
Subject: [PATCH] [CICD] Add .gitlab-ci submodule and .gitlab-ci.yml

* The submodule points to the repository containing all CI/CD files
* Insert .gitlab-ci.yml file importing file for automatic manifest
integration
---
 .gitlab-ci     |  1 +
 .gitlab-ci.yml | 11 +++++++++++
 .gitmodules    |  3 +++
 3 files changed, 15 insertions(+)
 create mode 160000 .gitlab-ci
 create mode 100644 .gitlab-ci.yml
 create mode 100644 .gitmodules

diff --git a/.gitlab-ci b/.gitlab-ci
new file mode 160000
index 0000000..943eac7
--- /dev/null
+++ b/.gitlab-ci
@@ -0,0 +1 @@
+Subproject commit 943eac764805a486e3ca2538a263ab531fd4c45b
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..4a5c8bc
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,11 @@
+---
+# ---------------------------------------------------------------------------------------
+# Include the default CI steps from the gitlab-ci repo
+# ---------------------------------------------------------------------------------------
+include:
+  - project: '${CI_PROJECT_ROOT_NAMESPACE}/infrastructure/gitlab-ci'
+    ref: 943eac764805a486e3ca2538a263ab531fd4c45b
+    file: 'manifest-integration.yml'
+
+variables:
+  GITLAB_CI_REVISION: 943eac764805a486e3ca2538a263ab531fd4c45b
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..36748f1
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule ".gitlab-ci"]
+	path = .gitlab-ci
+	url = ../../../infrastructure/gitlab-ci.git
-- 
GitLab