From 8d74fe34efe57f6d57dec7655d410aebd21d5bdd Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Mon, 2 Dec 2024 15:31:33 +0100
Subject: [PATCH] Enable c10s testing for PRs and nightly and after merge
 testing

---
 infra/azure/azure-pipelines.yml           |  2 +-
 infra/azure/nightly.yml                   |  4 ++--
 infra/azure/pr-pipeline.yml               |  2 +-
 infra/azure/templates/variables_c10s.yaml | 21 +++++++++++++++++++++
 4 files changed, 25 insertions(+), 4 deletions(-)
 create mode 100644 infra/azure/templates/variables_c10s.yaml

diff --git a/infra/azure/azure-pipelines.yml b/infra/azure/azure-pipelines.yml
index 8b915b4c..584cabec 100644
--- a/infra/azure/azure-pipelines.yml
+++ b/infra/azure/azure-pipelines.yml
@@ -9,7 +9,7 @@ variables:
   ansible_version: "-core >=2.16,<2.17"
   ansible_latest: "-core"
   ansible_minimum: "-core <2.16"
-  distros: "fedora-latest,c9s,fedora-rawhide"
+  distros: "fedora-latest,c9s,c10s,fedora-rawhide"
 
 stages:
 
diff --git a/infra/azure/nightly.yml b/infra/azure/nightly.yml
index ded58778..2790199e 100644
--- a/infra/azure/nightly.yml
+++ b/infra/azure/nightly.yml
@@ -14,8 +14,8 @@ pool:
 
 variables:
   # We need to have two sets, as c8s is not supported by all ansible versions
-  recent_distros: "fedora-latest,fedora-rawhide,c9s"
-  distros: "fedora-latest,fedora-rawhide,c9s,c8s"
+  recent_distros: "fedora-latest,fedora-rawhide,c10s,c9s"
+  distros: "fedora-latest,fedora-rawhide,c10s,c9s,c8s"
   ansible_latest: "-core"
   ansible_minimum: "-core <2.16"
   ansible_version: "-core >=2.16,<2.17"
diff --git a/infra/azure/pr-pipeline.yml b/infra/azure/pr-pipeline.yml
index ea89f321..648a554e 100644
--- a/infra/azure/pr-pipeline.yml
+++ b/infra/azure/pr-pipeline.yml
@@ -6,7 +6,7 @@ pool:
   vmImage: 'ubuntu-20.04'
 
 variables:
-  distros: "fedora-latest,c9s,c8s,fedora-rawhide"
+  distros: "fedora-latest,c10s,c9s,c8s,fedora-rawhide"
   ansible_version: "-core >=2.15,<2.16"
 
 stages:
diff --git a/infra/azure/templates/variables_c10s.yaml b/infra/azure/templates/variables_c10s.yaml
new file mode 100644
index 00000000..8fdc2819
--- /dev/null
+++ b/infra/azure/templates/variables_c10s.yaml
@@ -0,0 +1,21 @@
+#
+# Variables must be defined as comma separated lists.
+# For easier management of items to enable/disable,
+# use one test/module on each line, followed by a comma.
+#
+# Example:
+#
+# ipa_disabled_modules: >-
+#   dnsconfig,
+#   group,
+#   hostgroup
+#
+# If no variables are set, set "empty: true" as at least
+# one item is needed in the set.
+---
+variables:
+  empty: true
+#   ipa_enabled_modules: >-
+#   ipa_enabled_tests: >-
+#   ipa_disabled_modules: >-
+#   ipa_disabled_tests: >-
-- 
GitLab