Skip to content

Commit

Permalink
chore: extract oidc-apps files
Browse files Browse the repository at this point in the history
  • Loading branch information
martines3000 committed Oct 25, 2023
1 parent 521747f commit 2af1b51
Show file tree
Hide file tree
Showing 99 changed files with 226 additions and 12,151 deletions.
5 changes: 1 addition & 4 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@
"mode": "pre",
"tag": "beta",
"initialVersions": {
"@blockchain-lab-um/oidc-issuer": "0.0.9-beta.0",
"@blockchain-lab-um/oidc-verifier": "0.0.8",
"@blockchain-lab-um/did-provider-ebsi": "1.2.1",
"@blockchain-lab-um/did-provider-key": "1.0.8-beta.0",
"@blockchain-lab-um/oidc-client-plugin": "0.2.0",
"@blockchain-lab-um/oidc-rp-plugin": "0.0.8",
"@blockchain-lab-um/oidc-types": "0.0.8",
"@blockchain-lab-um/utils": "1.3.7",
"@blockchain-lab-um/masca-connector": "1.2.1",
Expand All @@ -18,4 +15,4 @@
"@blockchain-lab-um/masca-types": "1.2.0"
},
"changesets": []
}
}
2 changes: 0 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ install-state.gz

# Don't ignore docs markdown files
!packages/docs/**/*.md
database.oidc-demo.issuer
database.oidc-demo.verifier
61 changes: 0 additions & 61 deletions .github/workflows/deploy_issuer.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/deploy_verifier.yml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,76 +79,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

# OIDC Issuer
sonarcloud-OIDC-Issuer:
name: SonarCloud OIDC Issuer
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'develop'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.10
- uses: actions/setup-node@v3
with:
node-version: 18.16.0
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test OIDC Issuer
run: pnpm nx test:ci @blockchain-lab-um/oidc-issuer
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Scan OIDC Issuer
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: apps/oidc/issuer
args: >
-Dsonar.organization=blockchain-lab-um
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

# OIDC Verifier
sonarcloud-OIDC-Verifier:
name: SonarCloud OIDC Verifier
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v3
with:
main-branch-name: 'develop'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.10
- uses: actions/setup-node@v3
with:
node-version: 18.16.0
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Test OIDC Verifier
run: pnpm nx test:ci @blockchain-lab-um/oidc-verifier
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Scan OIDC Verifier
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: apps/oidc/verifier
args: >
-Dsonar.organization=blockchain-lab-um
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

# OIDC RP Plugin
sonarcloud-OIDC-RP-Plugin:
name: SonarCloud RP Plugin
Expand Down
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,9 @@ COPY ./packages/dapp/package.json ./packages/dapp/
# LIBS #
##########
COPY ./libs/utils/package.json ./libs/utils/
COPY ./libs/oidc/rp-plugin/package.json ./libs/oidc/rp-plugin/
COPY ./libs/oidc/types/package.json ./libs/oidc/types/
COPY ./libs/did-provider-key/package.json ./libs/did-provider-key/

##########
# APPS #
##########
COPY ./apps/oidc/issuer/package.json ./apps/oidc/issuer/
COPY ./apps/oidc/verifier/package.json ./apps/oidc/verifier/

# Remove prepare script
RUN npm pkg delete scripts.prepare

Expand Down
1 change: 0 additions & 1 deletion apps/oidc/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions apps/oidc/docker-compose.yml

This file was deleted.

4 changes: 0 additions & 4 deletions apps/oidc/issuer/.env.test

This file was deleted.

13 changes: 0 additions & 13 deletions apps/oidc/issuer/.eslintrc.cjs

This file was deleted.

38 changes: 0 additions & 38 deletions apps/oidc/issuer/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions apps/oidc/issuer/.lintstagedrc.cjs

This file was deleted.

2 changes: 0 additions & 2 deletions apps/oidc/issuer/.prettierignore

This file was deleted.

Loading

0 comments on commit 2af1b51

Please sign in to comment.