Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 3.24 KB

challenge1.md

File metadata and controls

61 lines (49 loc) · 3.24 KB

Challenge 1: Setup the environment

You will work in a separate for of this repository in GitHub because in a later challenge you will trigger GitHub actions when code is merged to main and you don't have contributor permissions to this repository.

All Azure resources will be provisioned in one Resource Group that you create.

The following image illustrates the steps in this challenge

Main objectives

  • Determine and configure your development environment, shell and toolset to use. Some options are
    • GitHub Codespaces
    • Docker Desktop
    • Directly on local machines
    • PowerShell or Bash (or other shell of choice like ZSH, fish, )
    • Azure PowerShell or AZ CLI (locally, in container or Azure Cloudshell)
    • Linux, Mac or Windows with Subsystem for Linux
  • Fork the repository and make a clone
  • Log in to Azure and create a resource group

Activities

  • Create a fork of this repository
  • Clone the repository in a development environment
  • Install Azure CLI extension for Container Apps (not required for codespaces or devcontainer)
  • Log in to Azure
  • Create a resource group with the naming convention "[seven letters]-rg" in an Azure region of choice

Note

If your GitHub account is part of an organization there is a limitation that only one fork is possible in the same organization. The workaround is to clone this repo, create a new repository and then push the code from the cloned working copy.

Tip

If you have GitHub Copilot you can ask for help on cloning an existing repo into a new repo. Example of a question to ask:

  • How do I clone an existing GitHub repository and push it to a new?

Definition of done

  • Repository forked to your GitHub account
  • Repository cloned
  • A resource group created

Helpful links

Solution

The challenges