Sign inSign up

erabliereapi/azuredevopsteammembersvelocity

By erabliereapi

•Updated 2 months ago

Display information about the velocity of team members based on a given sprint.

Image
0

1.5K

erabliereapi/azuredevopsteammembersvelocity repository overview

An app that interacts with Azure DevOps REST API displays information about the velocity of team members based on a given sprint.

Run the app :

docker run -d -p 45000:80 erabliereapi/azuredevopsteammembersvelocity:initial

Then go to http://localhost:45000⁠

⁠Run the app with authentication

⁠1. Environment variable user

Only a username

docker run -e [email protected] -p 45000:80 erabliereapi/azuredevopsteammembersvelocity:auth

A username and a password

docker run -e [email protected] -e COOKIEAUTH_PASSWORD=admin -p 45000:80 erabliereapi/azuredevopsteammembersvelocity:auth
⁠2. Microsoft Identity self-hosted

Use the default asp.net scaffolding Identity pages and logic.

docker run -e USE_IDENTITY=true -p 45000:80 erabliereapi/azuredevopsteammembersvelocity:auth
⁠3. AzureAD

You must register the app inside AzureAD first.

For example, you can register an app with

After register the app, go to the Authentication page of the newly created app.

Set front-channel log out to https://localhost:45001/signout-oidc⁠

Select the tokens you would like to be issued by the authorization endpoint: ID tokens

And save the settings. Now the AzureAD authentication will work with the container.

This one is a little bit more complicated since we must use HTTPS.

For this one, we will use a script inside this source code repo, and also use the docker-compose file from the same repo.

./setup-docker-ssl.ps1

docker compose up -d

⁠Working behind a reverse proxy

This section is true only with the latest image, the initial image, and the auth image as no mechanism in place to work behind a reverse proxy.

To help deploy the application in a reverse proxy environment and use AzureAD authentication, you may need to use these environments variables :

Kubernetes YAML

        - name: Forwarded_headers
          value: "true"
        - name: USE_SCHEMA_FROM_PROXY
          value: "true"

The 'Forwarded_headers' parameter is the ForwardedHeaders middleware from asp.net core.

The 'USE_SCHEMA_FROM_PROXY' gonna change the request scheme using the one from the X-Forwarded-Proto.

To debug the headers.

        - name: Debug_headers
           value: "true"
        - name: Logging__LogLevel__Default
           value: "Debug"

Source code :

https://github.com/freddycoder/AzureDevOpsTeamMembersVelocity⁠

Tag summary

Content type

Image

Digest

sha256:278f88b4b…

Size

133.6 MB

Last updated

2 months ago

docker pull erabliereapi/azuredevopsteammembersvelocity