Questo contenuto non è disponibile nella lingua selezionata.
Chapter 16. Running the certification test suite
Follow the instructions to run the certification test suite:
Prerequisites
- You have a Red Hat Enterprise Linux (RHEL) system.
You can use Podman to log in to your image registry. For example:
podman login --username <your_username> --password <your_password> --authfile ./temp-authfile.json <registry>
$ podman login --username <your_username> --password <your_password> --authfile ./temp-authfile.json <registry>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - You have set up your container project on the Red Hat Partner Connect portal. The pre-certification checklist must at least be in progress.
- You have a pyxis API key.
Procedure
Build your container image by using Podman.
NoteUsing Podman to build container images is optional.
- Upload your container to any private or public registry of your choice.
- Download the latest Preflight certification utility.
Perform the following steps to verify the functionality of the container being certified:
Run the Preflight certification utility:
preflight check container \ registry.example.org/<namespace>/<image_name>:<image_tag>
$ preflight check container \ registry.example.org/<namespace>/<image_name>:<image_tag>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Review the log information and change the container as needed. For more information, see the troubleshooting information page.
If you find any issues, either submit a support ticket or run the following command:
preflight support
$ preflight support
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Red Hat welcomes community contributions. If you experience a bug related to Preflight or the Red Hat Partner Connect Portal, or if you have a suggestion for a feature improvement or contribution, please report the issue. Before reporting an issue, ensure to review the open issues to avoid duplication.
- Run the container certification utility and make changes until all the tests pass.
Submit the certification test results by running the following command:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow After you submit your test results to the Red Hat Partner Connect portal, Red Hat will scan the layers of your container for package vulnerabilities.
- Review your certification and vulnerability test results in the certification project UI by navigating to the Images tab in the Red Hat Partner Connect portal. For more information, see Viewing the image test results.
Additional resources
If you are certifying a RHEL application, validate the functionality of your product by following the Non-container certification workflow.
You can also certify your RHEL application container by using the Red Hat Certification tool, which has the built-in pre-flight tool, thereby enabling you to validate your container.
Procedure
Follow the steps to use the built-in preflight tool:
Install the preflight package:
# dnf install redhat-certification-preflight
Run rhcert and follow the instructions:
# rhcert-run
Review and save the test results:
# rhcert-cli save