Skip to content

Commit

Permalink
Merge pull request #1688 from DuendeSoftware/joe/import-bff
Browse files Browse the repository at this point in the history
Import BFF
  • Loading branch information
damianh authored Jan 6, 2025
2 parents ad7b93a + b513325 commit b3e0520
Show file tree
Hide file tree
Showing 445 changed files with 77,833 additions and 68 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/bff-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: "CI"

on:
push:
branches:
- main
- releases/bff/**
paths:
- 'bff/**'
tags:
- 'bff/*.*.*'
pull_request:
paths:
- 'bff/**'
env:
DOTNET_NOLOGO: true

permissions:
contents: read

jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [macOS-latest, ubuntu-latest, windows-latest]
name: ${{ matrix.runs-on }}
runs-on: ${{ matrix.runs-on }}
defaults:
run:
working-directory: bff
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0

- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
8.0.x
9.0.x
- run: dotnet --info

- if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu')
run: ./build.sh
- if: matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/')
run: ./build.ps1
- if: (matrix.runs-on == 'windows-latest') && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
env:
SignClientSecret: ${{ secrets.SIGNCLIENTSECRET }}
run: |
./build.ps1 sign
dotnet nuget push .\artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }}
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name: "CI"
on:
push:
branches:
- main
- features/**
# tags:
# - '*.*.*'
- main
- releases/is/**
tags:
- 'is/*.*.*'
paths:
- 'identity-server/**'

pull_request:
paths:
- 'identity-server/**'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/templates-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ on:
push:
branches:
- main
- features/**
tags:
- '*.*.*'
paths:
- 'templates/**'
pull_request:

env:
Expand Down
61 changes: 0 additions & 61 deletions .github/workflows/templates-codeql-analysis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions bff/.github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Support Forum
url: https://github.com/DuendeSoftware/Support/issues/new/choose
about: The place for questions, bug reports, support and feature requests
- name: Direct Contact
url: https://duendesoftware.com/contact
about: Contact us directly
9 changes: 9 additions & 0 deletions bff/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**What issue does this PR address?**



**Important: Any code or remarks in your Pull Request are under the following terms:**

If You provide us with any comments, bug reports, feedback, enhancements, or modifications proposed or suggested by You for the Software, such Feedback is provided on a non-confidential basis (notwithstanding any notice to the contrary You may include in any accompanying communication), and Licensor shall have the right to use such Feedback at its discretion, including, but not limited to the incorporation of such suggested changes into the Software. You hereby grant Licensor a perpetual, irrevocable, transferable, sublicensable, nonexclusive license under all rights necessary to incorporate and use your Feedback for any purpose, including to make and sell any products and services.

(see [our license](https://duendesoftware.com/license/identityserver.pdf), section 7)
222 changes: 222 additions & 0 deletions bff/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
# MacOs
.DS_Store

# Rider
.idea

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/

bld/
[Bb]in/
[Oo]bj/

# Visual Studio 2015 cache/options directory
.vs/
project.lock.json


# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

# NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
*.[Cc]ache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.publishsettings
node_modules/
bower_components/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/

# Node.js Tools for Visual Studio
.ntvs_analysis.dat

# Visual Studio 6 build log
*.plg

# Visual Studio 6 workspace options file
*.opt
docs/_build/

# Local .NET CLI tools
tools/

# Visual Studio Code workspace options
**/.vscode/settings.json

# IdentityServer temp files
identityserver4_log.txt
tempkey.rsa
samples/KeyManagement/FileSystem/dataprotectionkeys/
samples/KeyManagement/FileSystem/signingkeys/
workspace.xml

src/IdentityServer4/host/identityserver.db
tempkey.jwk
keys
*.key
Duende.BFF.db
*.db-shm
*.db-wal
Loading

0 comments on commit b3e0520

Please sign in to comment.