Developer Activity: Create a new Component from the Template

Please make sure you are logged in as a Developer with dev1/{common_password} as you were guided to in the previous step.

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

  1. Select the Create item from the side menu.

    The Red Hat Developer Hub Create UI

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

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

  4. In Step 2, 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.

      quarkus service step2

  5. In Step 3, select the default Repository Location and click Review.

    quarkus service step3

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

    Reviewing template parameters in Red Hat Developer Hub

    • 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 to 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

    • Select the CI tab 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 different plugin integrations with your Components, using OpenShift GitOps (Argo CD) as an example.