Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/build-test-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build branch

on:
push:
branches: [ master, feature/* ]

jobs:
Build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install dependencies
run: dotnet tool restore
- name: Build
run: |
$GitVersion = (dotnet tool run dotnet-gitversion /output json /verbosity verbose) | ConvertFrom-Json
dotnet build --configuration Release -p:VersionPrefix=$($GitVersion.NuGetVersion)
shell: pwsh

Test:
runs-on: windows-latest

strategy:
matrix:
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Test
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
- run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
reportgenerator -reports:**/coverage.cobertura.xml -targetdir:CodeCoverage -reporttypes:Cobertura
name: Create Code coverage report
- uses: 5monkeys/cobertura-action@master
name: 'Publish code coverage'
with:
path: CodeCoverage/Cobertura.xml
repo_token: ${{ secrets.GITHUB_TOKEN }}
minimum_coverage: 50
14 changes: 1 addition & 13 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Build branch

on:
push:
branches: [ master, feature/* ]
pull_request:
branches: [ master, develop ]
branches: [ master ]

jobs:
Build:
Expand Down Expand Up @@ -41,13 +39,3 @@ jobs:
dotnet-version: 3.1.101
- name: Test
run: dotnet test --verbosity normal /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura
- run: |
dotnet tool install -g dotnet-reportgenerator-globaltool
reportgenerator -reports:**/coverage.cobertura.xml -targetdir:CodeCoverage -reporttypes:Cobertura
name: Create Code coverage report
- uses: 5monkeys/cobertura-action@master
name: 'Publish code coverage'
with:
path: CodeCoverage/Cobertura.xml
repo_token: ${{ secrets.GITHUB_TOKEN }}
minimum_coverage: 50
5 changes: 2 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[[_TOC_]]

# Banjo

Banjo is a CLI for executing deployment operations against an Auth0 tenant. It lets you define Auth0 resources as json files (templates) that are read and used to drive [Auth0 Management API](https://auth0.com/docs/api/management/v2) calls to create or update Auth0 resources.

Banjo is designed from the ground up to support defining and deploying Auth0 resources for different environments, for example, deploying similar sets of resources to support DEV, TEST, and STAGING environments in one Auth0 tenant and PROD in another tenant.
Expand All @@ -15,7 +14,7 @@ Banjo is built as a [DotNet Core Global Tool](https://docs.microsoft.com/en-us/d

## Getting Banjo

Banjo is published as a dotnet global tool on nuget.org.
Banjo is published as a dotnet global tool on nuget.org, [Banjo.CLI](https://www.nuget.org/packages/Banjo.CLI/).

To install:

Expand Down