From fd99e015aa37611d2ea72e952c1ff934d74c5736 Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 23 Feb 2023 11:48:01 +0000 Subject: [PATCH] update modulemd etc --- gating.yaml | 7 +++++ satellite-5-client.yaml | 59 +++++++++++++++++++++++++++++++++++++++++ tests/tests.yml | 21 +++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 gating.yaml create mode 100644 satellite-5-client.yaml create mode 100644 tests/tests.yml diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6cc0505 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate_modules +subject_type: redhat-module +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier0.functional} diff --git a/satellite-5-client.yaml b/satellite-5-client.yaml new file mode 100644 index 0000000..0270160 --- /dev/null +++ b/satellite-5-client.yaml @@ -0,0 +1,59 @@ +--- +document: modulemd +version: 2 +data: + name: satellite-5-client + stream: 1.0 + summary: Red Hat Satellite 5 client packages + description: >- + Red Hat Satellite 5 client packages provide programs and libraries to allow your + system to receive software updates from Red Hat Satellite 5. + license: + module: + - MIT + dependencies: + - buildrequires: + platform: [el8] + requires: + platform: [el8] + references: + community: https://github.com/spacewalkproject/spacewalk/ + documentation: https://access.redhat.com/documentation/en-us/red_hat_satellite/5.8/ + tracker: https://bugzilla.redhat.com/ + profiles: + common: + rpms: + - dnf-plugin-spacewalk + - rhn-client-tools + - rhn-setup + - rhnlib + - rhnsd + gui: + rpms: + - dnf-plugin-spacewalk + - rhn-client-tools + - rhn-setup + - rhn-setup-gnome + - rhnlib + - rhnsd + components: + rpms: + dnf-plugin-spacewalk: + rationale: DNF plugin for communication with Red Hat Satellite 5. + ref: stream-rhel-8.0-rhel-8.8.0 + buildorder: 10 + rhn-client-tools: + rationale: Binaries to allow system to receive software updates from Red Hat + Satellite 5. + ref: stream-rhel-8.0-rhel-8.8.0 + buildorder: 10 + rhnlib: + rationale: Libraries to allow system to receive software updates from Red + Hat Satellite 5. + ref: stream-rhel-8.0-rhel-8.8.0 + buildorder: 10 + rhnsd: + rationale: Red Hat Satellite update agent. + ref: stream-rhel-8.0-rhel-8.8.0 + buildorder: 10 +... diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..98032f5 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,21 @@ +- hosts: localhost + pre_tasks: + - name: Download Red Hat CA cert to the system + get_url: + url: https://password.corp.redhat.com/RH-IT-Root-CA.crt + dest: /etc/pki/ca-trust/source/anchors/ + validate_certs: no + - name: Update CAs on the system + command: + update-ca-trust + roles: + - role: standard-test-beakerlib + tags: + - classic + - container + - atomic + repositories: + - repo: https://gitlab.cee.redhat.com/satellite5qe/rhn-client-tools.git + dest: rhn-client-tools + tests: + - rhn-client-tools/Sanity/RHEL8-sanity/