Hi,

this adds basic trust and legacy client integration tests to our Jenkins
jobs repo.


-- 
Tomas Babej
Associate Software Engineer | Red Hat | Identity Management
RHCE | Brno Site | IRC: tbabej | freeipa.org 

>From 3dc23d1f4ee312e01eafb9677af2d97fdc40845b Mon Sep 17 00:00:00 2001
From: Tomas Babej <tomasba...@gmail.com>
Date: Tue, 1 Apr 2014 14:43:05 +0200
Subject: [PATCH] Add basic trust and legacy client integration tests

---
 README                                |  4 ++++
 jenkins-job-builder/freeipa-jobs.yaml | 38 +++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/README b/README
index 595a041df9d52cd7b4e3a9ee5f3d752f31bb4f91..952baf22a9216eb027bb2361d6e4078409974ca7 100644
--- a/README
+++ b/README
@@ -101,6 +101,10 @@ prepare-hosts:
     any other configuration.
     It also installs built packages on the machines. These are found
     in ./dist/rpms when prepare-hosts runs.
+    It also handles the assigment of static test nodes. These are
+    specified by using special role names, such as TRUST_IPA for IPA domain
+    that AD is configured to establish trusts with, or trust_master for the
+    actual IPA master. These fake values are substituted by the script.
     Output can be YAML or JSON.
 
 shutdown-hosts
diff --git a/jenkins-job-builder/freeipa-jobs.yaml b/jenkins-job-builder/freeipa-jobs.yaml
index 95f767496ff9106cbc92cc22d69619141e00f104..8d9aa4bfa9768b92c1495a2fca40f9d2fde7de5e 100644
--- a/jenkins-job-builder/freeipa-jobs.yaml
+++ b/jenkins-job-builder/freeipa-jobs.yaml
@@ -432,6 +432,44 @@
                         role: client
                     name: ipa.test
                     type: IPA
+        - freeipa-integration-{os}-{pretty_name}:
+            pretty_name: basic_trust
+            suite: test_integration/test_trust.py
+            config_template: |
+                domains:
+                  - hosts:
+                      - name: master.ipa.test
+                        role: trust_master
+                    name: ipa.test
+                    type: TRUST_IPA
+                  - hosts:
+                      - name: ad
+                        role: ad
+                    name: ad.test
+                    type: AD
+        - freeipa-integration-{os}-{pretty_name}:
+            pretty_name: legacy_clients
+            suite: test_integration/test_legacy_clients.py
+            config_template: |
+                domains:
+                  - hosts:
+                      - name: master.ipa.test
+                        role: trust_master
+                      - name: legacy_client_sssd_redhat.ipa.test
+                        role: legacy_client_sssd_redhat
+                      - name: legacy_client_nss_ldap_redhat.ipa.test
+                        role: legacy_client_nss_ldap_redhat
+                      - name: legacy_client_nss_pam_ldapd_redhat.ipa.test
+                        role: legacy_client_nss_pam_ldapd_redhat
+                    name: ipa.test
+                    type: TRUST_IPA
+                  - hosts:
+                      - name: ad.ad.test
+                        role: ad
+                      - name: child.child.ad.test
+                        role: ad_subdomain
+                    name: ad.test
+                    type: AD
 
 - job-template:
     name: freeipa-stats-{os}
-- 
1.8.5.3

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to