Developer Activity: Create a new Component from the Template

Create a new software Component and supporting infrastructure using the Quarkus Service template that was created by the platform engineer:

  1. Make sure you’ve logged in to Red Hat Developer Hub as dev1 using the password {common_password}.

  2. Select the Create item from the sidemenu.

    The Red Hat Developer Hub Create UI

  3. Click the Choose button on the Quarkus Service. The Software Templates screen will be displayed.

  4. You’ll be prompted to enter a set of application parameters. Thankfully defaults are provided by the template, so you can simply click Next.

  5. When prompted to Provide Image Registry Information:

    • Select the Quay image registry.

    • Enter your Quay password: {common_password}

    • Click Next.

      Your username is automatically determined by the Template using your current session.
  6. Select the default Repository Location and click Review.

    Reviewing template parameters in Red Hat Developer Hub

  7. Confirm you’re satisfied with your parameters and click Create.

After a few moments the process should be finished, and you’ll see a screen with a series of green checkmarks.

A successful template run in Red Hat Developer Hub

Click the Open Component in catalog link to view the new Component. You’ll see links the GitLab repository (View Source link) and note that you’re listed as the owner since you created the Component.

A successful template run in Red Hat Developer Hub

If you select the CI tab you’ll be able to view the status of the OpenShift Pipelines (Tekton) build.

CI status for the Quarkus Service

Wait for the build to complete, and visit the dev1 organization in Quay. You’ll be able to view the new my-quarkus-app repository and see the newly pushed latest image tag.

Quay Latest Image Tag

In the next section you’ll learn how to enable and disable differnt plugin intregrations with your Components, using OpenShift GitOps (Argo CD) as an example.