commit a80ce315017d34c09139f7aa5ecdd384f46f4b11 Author: Adam Samalik Date: Thu Feb 23 11:47:59 2023 +0000 update modulemd etc 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/mod_auth_openidc.yaml b/mod_auth_openidc.yaml new file mode 100644 index 0000000..5cdff70 --- /dev/null +++ b/mod_auth_openidc.yaml @@ -0,0 +1,39 @@ +--- +document: modulemd +version: 2 +data: + name: mod_auth_openidc + stream: 2.3 + summary: Apache module suporting OpenID Connect authentication + description: >- + This module enables an Apache 2.x web server to operate as an OpenID Connect Relying + Party and/or OAuth 2.0 Resource Server. + license: + module: + - MIT + dependencies: + - buildrequires: + platform: [el8] + requires: + platform: [el8] + references: + community: https://github.com/zmartzone/mod_auth_openidc + documentation: https://github.com/zmartzone/mod_auth_openidc/wiki + tracker: https://github.com/zmartzone/mod_auth_openidc/issues + components: + rpms: + cjose: + rationale: Provides JOSE support + ref: stream-mod_auth_open_idc-2.3-rhel-8.8.0 + buildorder: 1 + mod_auth_openidc: + rationale: Provides the core functionality. + ref: stream-mod_auth_open_idc-2.3-rhel-8.8.0 + buildorder: 2 + profiles: + default: + description: Default mod_auth_openidc module installation + rpms: + - mod_auth_openidc + - cjose +... diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh new file mode 100644 index 0000000..592b6ab --- /dev/null +++ b/tests/scripts/run_tests.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +export GIT_SSL_NO_VERIFY=true +git clone https://github.com/latchset/federation_testing.git + +cd federation_testing +if [ ! -d /tmp/artifacts ]; then + mkdir -p /tmp/artifacts +fi + +./setup.sh +./test_oidc.sh diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..294ba0d --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - mod_auth_openidc: + dir: scripts + run: ./run_tests.sh + required_packages: + - git +