Compare commits

...

No commits in common. "c9-beta" and "c9s" have entirely different histories.
c9-beta ... c9s

12 changed files with 52 additions and 2 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/tomcat-connectors-3ad622409ae3335df9f353bef8ebc4d72a70fd6d.tar.gz
/tomcat-connectors-1c14fc065bc133887fdde55cab954691b3dc3aac.tar.gz
/tomcat-connectors-3ad622409ae3335df9f353bef8ebc4d72a70fd6d.tar.gz

View File

@ -1 +0,0 @@
6e2832914fa375a76212bfc50d8adfa68a536077 SOURCES/tomcat-connectors-3ad622409ae3335df9f353bef8ebc4d72a70fd6d.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

6
rpminspect.yaml Normal file
View File

@ -0,0 +1,6 @@
---
badfuncs:
# mod_jk uses inet_addr (safely) for IPv4 address matching,
# and APR interfaces for IPv6 addresses.
ignore:
- /usr/lib*/httpd/modules/mod_jk.so

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (tomcat-connectors-3ad622409ae3335df9f353bef8ebc4d72a70fd6d.tar.gz) = 5ae1b7f51eafe8ec37ef176b8682df6f662e8f1878f426e548fbb47d08ecbf05d3f8bd20bc2b2584e2af15e38c54c7283989cee6b6f68c63a52df8d5f47dd90b

View File

@ -0,0 +1,15 @@
---
- name: Install required packages
dnf:
name: >
httpd, mod_jk
- name: Configure mod_jk.conf
command: mv /etc/httpd/conf.d/mod_jk.conf.sample /etc/httpd/conf.d/mod_jk.conf
- name: Configure workers.properties
command: mv /etc/httpd/conf.d/workers.properties.sample /etc/httpd/conf.d/workers.properties
- name: Configure uriworkermap.properties
command: mv /etc/httpd/conf.d/uriworkermap.properties.sample /etc/httpd/conf.d/uriworkermap.properties

22
tests/tests.yml Normal file
View File

@ -0,0 +1,22 @@
- hosts: localhost
remote_user: root
tags:
- classic
roles:
- role: Test_Setup
- role: standard-test-basic
tests:
- verify_httpd_up:
dir: .
run: "curl http://localhost/ &> testfile.log || true && grep '<strong>Test Page</strong>' testfile.log"
- check_error_log_for_unexpected_errors:
dir: .
run: "! sudo grep -i error /var/log/httpd/error_log | grep -v \"AH01276\""
- check_mod_jk_configured:
dir: .
run: "grep -e \"mod_jk/.* configured -- resuming normal operations\" /var/log/httpd/error_log"
required_packages:
- mod_jk
- httpd
required_services:
- httpd