From 1815ad6af184c331d7fdcb0562bb00aec42a2e9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Jur=C4=8D?= Date: Thu, 25 Aug 2022 17:41:10 +0200 Subject: [PATCH] QUARKUS-2282 Adjustable dependency check test plan * Adding a test plan for QUARKUS-2282. --- QUARKUS-2282.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 QUARKUS-2282.md diff --git a/QUARKUS-2282.md b/QUARKUS-2282.md new file mode 100644 index 0000000..f524cf6 --- /dev/null +++ b/QUARKUS-2282.md @@ -0,0 +1,36 @@ +# QUARKUS-2282 Adjustable dependency check + +Jira: https://issues.redhat.com/browse/QUARKUS-2282 + +This feature is about externalization of test verifying productization of build and runtime dependencies of supported +extension that currently lives in [quickstarts-ts-jvm-acceptance-quarkus-bom](https://gitlab.cee.redhat.com/quarkus-qe/jenkins-jobs/-/blob/main/jobs/rhbq/rhel8_jdk11_quickstarts_ts_jvm_acceptance.groovy) +job to meet the following criteria: + +1. The implementation of the check itself should be separated from its configuration. Given that each product build may + have its own allowlist of dependencies that are expected to be not productized, this list should not be hardcoded in + the script. +2. The script should be hosted in a location accessible by both the prod and QE teams/processes, so that both teams use + the same implementation of the check. + +## Scope of the testing + +### Impact on test suites and testing automation +* The shell script from [quickstarts-ts-jvm-acceptance-quarkus-bom](https://gitlab.cee.redhat.com/quarkus-qe/jenkins-jobs/-/blob/main/jobs/rhbq/rhel8_jdk11_quickstarts_ts_jvm_acceptance.groovy) + job will be extracted into a stand-alone shell script that will be executable in stand-alone. The shell script will: + * download the zipped Maven repository with Quarkus platform to test; + * build the supported set of quickstarts with the platform from the Maven repository; + * check the dependency list of quickstarts for unproductized dependencies and compare them with allowlist; + * check the local Maven repository for unproductized dependencies and compare them with allowlist. +* The shell script will be updates to take the file with the list of dependencies as parameter. +* The shell script and dependency list will be placed in well known location in [quarkus-qe/jenkins-jobs](https://gitlab.cee.redhat.com/quarkus-qe/jenkins-jobs) + repository. +* The job will be updated to fetch and use the shell script from the well known location. + +### Impact on resources +None. + +## Contacts +* Assignee: Michal JurĨ + +## References +* Feature issue: [QUARKUS-2282 Adjustable dependency check](https://issues.redhat.com/browse/QUARKUS-2282)