Compare commits
No commits in common. "stream-pki-core-10.6-rhel-8.10.0" and "c8-stream-10.6" have entirely different histories.
stream-pki
...
c8-stream-
6
.gitignore
vendored
6
.gitignore
vendored
@ -1,5 +1 @@
|
|||||||
SOURCES/tomcatjss-7.7.1.tar.gz
|
SOURCES/tomcatjss-7.8.0.tar.gz
|
||||||
/tomcatjss-7.7.1.tar.gz
|
|
||||||
/tomcatjss-7.7.3.tar.gz
|
|
||||||
/tomcatjss-7.8.0-alpha1.tar.gz
|
|
||||||
/tomcatjss-7.8.0.tar.gz
|
|
||||||
|
1
.tomcatjss.metadata
Normal file
1
.tomcatjss.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
b866d5baa11685960fa00b600c33af1c2eab55e3 SOURCES/tomcatjss-7.8.0.tar.gz
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
REPO=$1
|
|
||||||
|
|
||||||
if [ "$REPO" == "" ]; then
|
|
||||||
REPO="pki-10.6"
|
|
||||||
fi
|
|
||||||
|
|
||||||
fedpkg copr-build --nowait $REPO
|
|
@ -1,7 +0,0 @@
|
|||||||
# recipients: rhcs-team
|
|
||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-9
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
1
sources
1
sources
@ -1 +0,0 @@
|
|||||||
SHA512 (tomcatjss-7.8.0.tar.gz) = 220fcf1bd43ba5df9b53c4ed4a2d14c7ab23b90874e5cb5c189d98dd33160e3f0801087e2cddc590956ea8d123fc20d161e4e4bdeb5eb4d94036b4dffad9d4c6
|
|
@ -1,7 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
SOURCE=$1
|
|
||||||
TARGET=`basename $1`
|
|
||||||
|
|
||||||
cp $SOURCE $TARGET
|
|
||||||
sha512sum --tag $TARGET > sources
|
|
@ -1,25 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
pki_server_database_password=Secret.123
|
|
||||||
|
|
||||||
[CA]
|
|
||||||
pki_admin_email=caadmin@example.com
|
|
||||||
pki_admin_name=caadmin
|
|
||||||
pki_admin_nickname=caadmin
|
|
||||||
pki_admin_password=Secret.123
|
|
||||||
pki_admin_uid=caadmin
|
|
||||||
|
|
||||||
pki_client_database_password=Secret.123
|
|
||||||
pki_client_database_purge=False
|
|
||||||
pki_client_pkcs12_password=Secret.123
|
|
||||||
|
|
||||||
pki_ds_base_dn=dc=ca,dc=pki,dc=example,dc=com
|
|
||||||
pki_ds_database=ca
|
|
||||||
pki_ds_password=Secret.123
|
|
||||||
|
|
||||||
pki_security_domain_name=EXAMPLE
|
|
||||||
|
|
||||||
pki_ca_signing_nickname=ca_signing
|
|
||||||
pki_ocsp_signing_nickname=ca_ocsp_signing
|
|
||||||
pki_audit_signing_nickname=ca_audit_signing
|
|
||||||
pki_sslserver_nickname=sslserver
|
|
||||||
pki_subsystem_nickname=subsystem
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash -ex
|
|
||||||
|
|
||||||
# This command needs to be executed as it pulls the machine name
|
|
||||||
# dynamically.
|
|
||||||
dscreate create-template /tmp/test_dir/ds.inf
|
|
||||||
|
|
||||||
sed -i \
|
|
||||||
-e "s/;instance_name = .*/instance_name = localhost/g" \
|
|
||||||
-e "s/;root_password = .*/root_password = Secret.123/g" \
|
|
||||||
-e "s/;suffix = .*/suffix = dc=example,dc=com/g" \
|
|
||||||
-e "s/;self_sign_cert = .*/self_sign_cert = False/g" \
|
|
||||||
/tmp/test_dir/ds.inf
|
|
||||||
|
|
||||||
dscreate from-file /tmp/test_dir/ds.inf
|
|
||||||
|
|
||||||
ldapadd -h $HOSTNAME -x -D "cn=Directory Manager" -w Secret.123 << EOF
|
|
||||||
dn: dc=example,dc=com
|
|
||||||
objectClass: domain
|
|
||||||
dc: example
|
|
||||||
|
|
||||||
dn: dc=pki,dc=example,dc=com
|
|
||||||
objectClass: domain
|
|
||||||
dc: pki
|
|
||||||
EOF
|
|
@ -1,27 +0,0 @@
|
|||||||
[DEFAULT]
|
|
||||||
pki_server_database_password=Secret.123
|
|
||||||
|
|
||||||
[KRA]
|
|
||||||
pki_admin_email=kraadmin@example.com
|
|
||||||
pki_admin_name=kraadmin
|
|
||||||
pki_admin_nickname=kraadmin
|
|
||||||
pki_admin_password=Secret.123
|
|
||||||
pki_admin_uid=kraadmin
|
|
||||||
|
|
||||||
pki_client_database_password=Secret.123
|
|
||||||
pki_client_database_purge=False
|
|
||||||
pki_client_pkcs12_password=Secret.123
|
|
||||||
|
|
||||||
pki_ds_base_dn=dc=kra,dc=pki,dc=example,dc=com
|
|
||||||
pki_ds_database=kra
|
|
||||||
pki_ds_password=Secret.123
|
|
||||||
|
|
||||||
pki_security_domain_name=EXAMPLE
|
|
||||||
pki_security_domain_user=caadmin
|
|
||||||
pki_security_domain_password=Secret.123
|
|
||||||
|
|
||||||
pki_storage_nickname=kra_storage
|
|
||||||
pki_transport_nickname=kra_transport
|
|
||||||
pki_audit_signing_nickname=kra_audit_signing
|
|
||||||
pki_sslserver_nickname=sslserver
|
|
||||||
pki_subsystem_nickname=subsystem
|
|
@ -1,26 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
- name: Install tomcatjss
|
|
||||||
dnf:
|
|
||||||
name: >
|
|
||||||
tomcatjss
|
|
||||||
|
|
||||||
- name: Install required packages
|
|
||||||
dnf:
|
|
||||||
name: >
|
|
||||||
389-ds-base, pki-ca, pki-kra
|
|
||||||
|
|
||||||
- name: Creates directory
|
|
||||||
file: path=/tmp/test_files state=directory
|
|
||||||
|
|
||||||
- name: Copying templates to /tmp folder
|
|
||||||
copy : src=. dest=/tmp/test_dir
|
|
||||||
|
|
||||||
- name: Setup DS Service
|
|
||||||
shell: sh /tmp/test_dir/ds-create.sh
|
|
||||||
|
|
||||||
- name: Install CA subsystem
|
|
||||||
shell: pkispawn -f /tmp/test_dir/ca.cfg -s CA -v
|
|
||||||
|
|
||||||
- name: Install KRA subsystem
|
|
||||||
shell: pkispawn -f /tmp/test_dir/kra.cfg -s KRA -v
|
|
@ -1,30 +0,0 @@
|
|||||||
- hosts: localhost
|
|
||||||
remote_user: root
|
|
||||||
tags:
|
|
||||||
- classic
|
|
||||||
roles:
|
|
||||||
- role: Test_Setup
|
|
||||||
- role: standard-test-basic
|
|
||||||
tests:
|
|
||||||
- verify_spawn_ca:
|
|
||||||
dir: .
|
|
||||||
run: "curl http://localhost:8080/ca/admin/ca/getStatus | grep '<Status>running</Status>'"
|
|
||||||
- verify_spawn_kra:
|
|
||||||
dir: .
|
|
||||||
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep '<Status>running</Status>'"
|
|
||||||
- destroy_kra:
|
|
||||||
dir: .
|
|
||||||
run: "pkidestroy -i pki-tomcat -s KRA && sleep 5"
|
|
||||||
- verify_destroy_kra:
|
|
||||||
dir: .
|
|
||||||
run: "curl http://localhost:8080/kra/admin/kra/getStatus | grep 'HTTP Status 404'"
|
|
||||||
- destroy_ca:
|
|
||||||
dir: .
|
|
||||||
run: "pkidestroy -i pki-tomcat -s CA"
|
|
||||||
- verify_destroy_ca:
|
|
||||||
dir: .
|
|
||||||
run: "curl http://localhost:8080/ca/admin/ca/getStatus &> testfile.log || true && grep 'Connection refused' testfile.log"
|
|
||||||
required_packages:
|
|
||||||
- tomcatjss
|
|
||||||
- pki-ca
|
|
||||||
- pki-kra
|
|
Loading…
Reference in New Issue
Block a user