Developer Activity: Developer On-Boarding Example

Until now, you’ve been acting in the role of a platform engineer. Let’s switch persona to that of a developer: dev1.

Let’s assume that this developer needs to create a development environment to work on a new feature - we can use a Software Template to assist with this task. A prerequisite to using this template is that the developer has a Quay account, so their code can be built into a container image and pushed to an image registry for storage and scanning.

While OpenShift has a built-in image registry, there are various reasons we’re using Quay as our image registry:

  • Security scanning for container images via Clair.

  • Support for image signing and trust policies.

  • Vulnerability detection with detailed reports.

  • RBAC and repository/organisation permissions.

  • Better suited for multi-tenant and multi-cluster environments.

Please make sure to log in as a Developer with dev1/{common_password} as described in the next step to avoid errors while navigating this workshop :)

Login as Developer

  • You will perform this activity as a Developer.

  • Logout from Red Hat Developer Hub

    • Navigate to the Settings menu at the bottom right side of Red Hat Developer Hub and click on the kebab menu in the Profile card

      Settings of Red Hat Developer Hub
    • Sign out of Red Hat Developer Hub from the Settings section as shown in the screenshot below.

      Signing out of Red Hat Developer Hub
  • Logout from GitLab

    • Click on the Profile icon, and Sign out from the dropdown as shown in the screenshot below.

      Signing out of Red Hat Developer Hub
  • Login back as a Developer to to Red Hat Developer Hub and GitLab using the credentials dev1/{common_password}

Create an Account in Quay

You’ll need an account in Quay to push your developer’s container images for scanning and deployment.

  1. Visit the Quay Registry deployed in your workshop environment.

  2. Click the Create Account link.

    Creating a Quay Account

  3. Enter the following information:

    • Username: dev1

    • Email: dev1@rhdh.com

    • Password: {common_password}

      Creating a Quay Account

  4. Click Create Account.

You’re almost ready to create an application from a Template!