Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 7. Finalizing your GitHub application
After installing RHTAP, you must replace the placeholder values you previously entered in your GitHub application with values specific to your cluster. This allows anyone who installs the GitHub application to authenticate to Red Hat Developer Hub, and use Red Hat Trusted Application Pipeline.
Prerequisites:
- ClusterAdmin access to an OpenShift cluster via the web console
Procedure:
By opening the link generated at the end of the last procedure, you should be in the OpenShift console, using the Administrator view. If not, navigate to view in the OpenShift Console for your cluster.
- Use the left navigation bar to go to Pipelines > Pipelines.
- In the Project field, below the banner of the page, select rhtap.
-
Select the PipelineRun tab. Select the PipelineRun with a name that starts with
rhtap-pe-info-
. - Navigate to the Logs tab.
- In a separate browser tab, return to the GitHub Apps page (Settings > Developer settings > GitHub Apps).
- Next to your new custom application, click Edit.
Replace the placeholder values for the following fields with the new values found in the logs of the PipelineRun you executed in the OpenShift console:
- Homepage URL
- Callback URL
- Webhook URL
- Scroll to the bottom of the page and click Save.
- In a separate tab, navigate to the address you entered as the new homepage URL for your GitHub application.
- Choose GitHub as the sign-in method by clicking the SIGN IN button.
- In the popup window, authorize your custom GitHub application as requested.
You should be immediately redirected to Red Hat Developer Hub (RHDH). Any developer who downloads your GitHub application can also authenticate by using that application, and by running the second PipelineRun generated in the third procedure. In RHDH, developers can then leverage the automated, customizable, and secure CI/CD functionality of Red Hat Trusted Application Pipeline.
Revised on 2024-06-17 13:04:18 UTC