Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Set Up New Environment

Part 1: Set up a pipeline

To be able to deploy the code automatically when one commit the code to the repository, we need to create a pipeline that auto deploy the code, we use a Docker image to the new environment.

...

19. Save the pipeline and run it. At this point all should be running correctly and the code should be in the container registry under Repository.

Part 2: Set up and configure Azure AD

Setting up Azure portal involved few steps:

Activate your Developer role in order to configure Azure AD

In order to configure and view some features in Azure AD we need to activate our Developer role for the day or for few hours. To do that go to Azure Ad Privileged Identity Management

...

Give a reason for activating your role and click continue

...

Image RemovedImage Added

Once your role is activated you can continue to configure the other steps.

Configure App registrations

To do ..

How to set up app reg.

How to set up app roles

and all the other configurations under app reg.

...

Configure Groups

To do..

Why do we need a group

How to configure

What is the link with the other services on Azure AD like the app reg. groups etc.

...

Configure Container registries

Under Container registries we have 3 existing containers for Development, Test and Acceptance.

ncdsafsecsurcr → Development

nctsafsecsurcr → Test

ncasafsecsurcr → Acceptance

...

Image AddedImage Added

The repository holds all the images that are pushed to this Development environment

...

Configure App Services
Configure Key vaults
Test

Part 3: How to push and publish the code