radius-project / radius-project/docs

Add fixes to keep environments usage within icense limits

Open
#1,344 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

on-call triaged
Dominant language
Bicep
Stars
26
Forks
52
Avg merge
3d 2h
Merged PRs (30d)
3

Description

Our hosting plan limits to using atmost 10 staging environments.

ref:
https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/db195b18-2f76-4384-a2fe-e4c6b39841b2/resourceGroups/docs/providers/Microsoft.Web/staticSites/radius-docs-edge/environments

https://ms.portal.azure.com/#@microsoft.onmicrosoft.com/resource/subscriptions/db195b18-2f76-4384-a2fe-e4c6b39841b2/resourceGroups/docs/providers/Microsoft.Web/staticSites/radius-docs-edge/environments

In order to not run into issues,

  • We should add nightly job (or another frequency to be decided) which should delete old/unused environments.
  • We should create issues when clean up / setup fails, so that the orphaned environments could be manually cleaned up
  • We should provide on-call with the permissions to delete orphaned environments.
  • Add a step in the beginning of the workflow to check for orphan resources and delete them as needed.

AB#13989

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or workflow entry points are named in the issue. Start by locating the environment setup workflow and its Azure Static Web Apps integration, then determine how cleanup, failure reporting, permissions, and orphan-resource checks should fit together. Done means the listed safeguards keep staging environments within the 10-environment limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
ci-cd, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.