Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moimhossain/orion-guardian
An extension that allows managing Azure DevOps resources at scale
https://github.com/moimhossain/orion-guardian
Last synced: about 9 hours ago
JSON representation
An extension that allows managing Azure DevOps resources at scale
- Host: GitHub
- URL: https://github.com/moimhossain/orion-guardian
- Owner: MoimHossain
- License: gpl-3.0
- Created: 2024-01-04T06:26:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-06-12T11:42:54.000Z (5 months ago)
- Last Synced: 2024-06-12T16:10:15.752Z (5 months ago)
- Language: C#
- Size: 6.31 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Orion-Guardian Extension
![Preview](OrionGuardian.gif)
## Introduction
The **Orion-Guardian** is an Azure DevOps extension that provides some useful capabilities like Grouping of resources like repostiroy, environment etc and then apply permissions with custom role deinifions at scale.
## Documentation
- [What is in it?](https://moimhossain.com/2024/01/04/orion-guardian/)
- [How to install](https://moimhossain.com/2024/01/04/orion-guardian/)
- [Installing Extension](https://moimhossain.com/2024/01/04/orion-guardian/)
- [Installing Backend](https://moimhossain.com/2024/01/04/orion-guardian/)# Front end
## Prepare DevContainer
- Installing TFX CLI
```
sudo npm install -g tfx-cli
```
- Remove OPEN SSL error
```
export NODE_OPTIONS=--openssl-legacy-provider
```On Windows,
```
$env:NODE_OPTIONS = "--openssl-legacy-provider"
```# Building Backend
You can rebuild the backends and use your own container if you wish.
## Building the API
Run this from the directory ([src/backend](src/backend)) where the solution file is located:
```bash
docker build -t moimhossain/azdo-control-panel:v2 -f "./Stellaris.WebApi/Dockerfile" .docker push moimhossain/azdo-control-panel:v2
```## Building the Daemon
Run this from the directory ([src/backend](src/backend)) where the solution file is located:
```bash
docker build -t moimhossain/azdo-control-panel-daemon:v2 -f "./Stellaris.Console/Dockerfile" .docker push moimhossain/azdo-control-panel-daemon:v2
```
## Running locallyYou can run the API container locally by running the following command:
```bash
docker run --rm \
--env AZURE_DEVOPS_USE_PAT="true" \
--env AZURE_DEVOPS_PAT="YOUR PAT TOKEN" \
--env AZURE_COSMOS_CONNECTIONSTRING="AccountEndpoint=https://***.documents.azure.com:443/;AccountKey=***;" \
--env AZURE_COSMOS_DATABASEID="stellaris" \
-p 8080:8080 moimhossain/azdo-control-panel:v2
```
## Running the Daemon locallyYou can run the Daemon container locally by running the following command:
```bash
docker run --rm \
--env AZURE_DEVOPS_USE_PAT="true" \
--env AZURE_DEVOPS_PAT="YOUR PAT TOKEN" \
--env AZURE_COSMOS_CONNECTIONSTRING="AccountEndpoint=https://***.documents.azure.com:443/;AccountKey=***;" \
--env AZURE_COSMOS_DATABASEID="stellaris" \
moimhossain/azdo-control-panel-daemon:v2
```That is it. You can now access the API at http://localhost:8080