playwright/utils/flakiness-dashboard
dependabot[bot] 1b963b136c
chore(deps): bump @azure/identity in /utils/flakiness-dashboard
Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js) from 4.1.0 to 4.2.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/documentation/Changelog-for-next-generation.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_4.1.0...@azure/identity_4.2.1)

---
updated-dependencies:
- dependency-name: "@azure/identity"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 20:56:16 +00:00
..
processing devops: change flakiness-dashboard auth to be secret-less (#30488) 2024-04-24 22:23:28 +02:00
.gitignore devops: add source code for flakiness dashboard (#4479) 2020-11-23 15:02:04 -08:00
host.json devops: change flakiness-dashboard auth to be secret-less (#30488) 2024-04-24 22:23:28 +02:00
package-lock.json chore(deps): bump @azure/identity in /utils/flakiness-dashboard 2024-06-11 20:56:16 +00:00
package.json chore(deps): bump @azure/identity in /utils/flakiness-dashboard 2024-06-11 20:56:16 +00:00
README.md devops: change flakiness-dashboard auth to be secret-less (#30488) 2024-04-24 22:23:28 +02:00

Flakiness Dashboard Backend

This directory contains source code for the Azure function that we use to aggregate test reports. The data is consumed by https://devops.playwright.dev/flakiness.html

Publish

Azure Functions Core Tools is not available on macOS M1 yet, so we use GitHub Codespaces to publish the function.

Via GitHub Codespaces:

  • Install Azure Functions Core Tools version 4:
    curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
    mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
    sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs)-prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list'
    apt-get update && apt-get install azure-functions-core-tools-4 sudo
    
  • Install Azure CLI:
    curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
    
  • Login to Azure:
    az login --use-device-code
    
  • Install NPM Deps (node_modules/ folder will be published as-is):
    cd utils/flakiness-dashboard/
    npm install
    
  • Publish:
    func azure functionapp publish folio-flakiness-dashboard --javascript