Skip to content

Commit

Permalink
ci: fix auth0 pb
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuthor committed Nov 20, 2024
1 parent 26cb573 commit 80aa9c5
Show file tree
Hide file tree
Showing 14 changed files with 3,613 additions and 54 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
subcommands: |
npm test
kms-version: 4.13.0
kms-jwe-key: >
{"kty": "OKP","d": "MPEVJwdRqGM_qhJOUb5hR0Xr9EvwMLZGnkf-eDj5fU8","use": "enc","crv": "X25519","kid": "DX3GC+Fx3etxfRJValQNbqaB0gs=","x":
"gdF-1TtAjsFqNWr9nwhGUlFG38qrDUqYgcILgtYrpTY","alg": "ECDH-ES"}
findex-cloud-version: 0.3.1
regression_files: |
./node_modules/non_regression_vector.json
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/js_in_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
kms-version:
required: true
type: string
kms-jwe-key:
required: false
type: string
default: ""
findex-cloud-version:
required: true
type: string
Expand All @@ -30,8 +26,6 @@ jobs:
services:
kms:
image: ghcr.io/cosmian/kms:${{ inputs.kms-version }}
env:
JWK_PRIVATE_KEY: ${{ inputs.kms-jwe-key }}

findex_cloud:
image: ghcr.io/cosmian/findex_cloud:${{ inputs.findex-cloud-version }}
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/js_in_docker_with_auth0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
kms-version:
required: true
type: string
kms-jwe-key:
required: false
type: string
default: ""
findex-cloud-version:
required: true
type: string
Expand All @@ -31,7 +27,6 @@ jobs:
kms:
image: ghcr.io/cosmian/kms:${{ inputs.kms-version }}
env:
JWK_PRIVATE_KEY: ${{ inputs.kms-jwe-key }}
KMS_JWT_ISSUER_URI: https://kms-cosmian.eu.auth0.com/

findex_cloud:
Expand Down Expand Up @@ -68,7 +63,6 @@ jobs:
KMS_HOST: kms
FINDEX_CLOUD_HOST: findex_cloud
AUTH0_TOKEN_1: ${{ secrets.AUTH0_TOKEN_1 }}
AUTH0_TOKEN_2: ${{ secrets.AUTH0_TOKEN_2 }}

- name: Upload non-regression test vectors
if: inputs.regression_files != ''
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The library provides a Typescript-friendly API to the **Cloudproof Encryption**
- [Getting started](#getting-started)
- [Using in Javascript projects](#using-in-javascript-projects)
- [Versions Correspondence](#versions-correspondence)
- [Renew Auth0 access token](#renew-auth0-access-token)

<!-- tocstop -->

Expand Down Expand Up @@ -75,4 +76,8 @@ npm i cloudproof_js
| 9.5.1 | 2.3.0 | 4.9.1 |
| 9.6.0 | 2.4.0 | 4.10.0 |
| 9.7.0 | 2.4.0 | 4.11.3 |
| 10.0.0 | 3.0.0 | 4.13.0 |
| 10.0.x | 3.0.0 | 4.13.0 |

## Renew Auth0 access token

Refer to repository <https://github.com/Cosmian/kms-ci-token>
12 changes: 3 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
---
# docker-compose.yml

version: "3"
services:
kms:
container_name: kms
image: ghcr.io/cosmian/kms:4.13.0
ports:
- 9998:9998
environment:
JWK_PRIVATE_KEY:
'{"kty": "OKP","d": "MPEVJwdRqGM_qhJOUb5hR0Xr9EvwMLZGnkf-eDj5fU8","use": "enc","crv": "X25519","kid": "DX3GC+Fx3etxfRJValQNbqaB0gs=","x":
"gdF-1TtAjsFqNWr9nwhGUlFG38qrDUqYgcILgtYrpTY","alg": "ECDH-ES"}'
# To test in local with Auth0 authentication
# KMS_JWT_ISSUER_URI: https://kms-cosmian.eu.auth0.com/
# To test in local with Auth0 authentication
# environment:
# KMS_JWT_ISSUER_URI: https://kms-cosmian.eu.auth0.com/

findex_cloud:
image: ghcr.io/cosmian/findex_cloud:0.3.1
Expand Down
18 changes: 11 additions & 7 deletions examples/browser/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/full_text_search/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions examples/nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/nodejs_search_imdb/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 11 additions & 7 deletions examples/reactjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/vuejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 80aa9c5

Please sign in to comment.