-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into docs-peering-integration
- Loading branch information
Showing
24 changed files
with
215 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,7 +266,7 @@ jobs: | |
push: false | ||
platforms: ${{ matrix.platform.arch }} | ||
file: packages/${{ matrix.package }}/Dockerfile.prod | ||
tags: ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}:${{ needs.version-generator.outputs.version }} | ||
tags: ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}-${{ matrix.platform.name }}:${{ needs.version-generator.outputs.version }} | ||
outputs: type=docker,dest=/tmp/${{ github.sha }}-${{ matrix.package }}-${{ matrix.platform.name }}-${{ needs.version-generator.outputs.version }}.tar | ||
- name: Save docker image to cache | ||
uses: actions/cache@v4 | ||
|
@@ -291,6 +291,7 @@ jobs: | |
- backend | ||
- frontend | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Fetch docker image from cache | ||
uses: actions/cache/restore@v4 | ||
with: | ||
|
@@ -326,6 +327,7 @@ jobs: | |
- backend | ||
- frontend | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Fetch docker image from cache | ||
uses: actions/cache/restore@v4 | ||
with: | ||
|
@@ -380,11 +382,38 @@ jobs: | |
run: docker images | ||
- name: Push to registry | ||
run: | | ||
docker push ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}:${{ needs.version-generator.outputs.version }} | ||
docker push ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}-${{ matrix.platform.name }}:${{ needs.version-generator.outputs.version }} | ||
push-manifest: | ||
name: Push multi-arch manifest list | ||
needs: [version-generator, push] | ||
runs-on: ubuntu-latest | ||
if: needs.version-generator.outputs.dockerPush == 'true' | ||
strategy: | ||
matrix: | ||
package: | ||
- auth | ||
- backend | ||
- frontend | ||
steps: | ||
- name: Login to GHCR | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Create manifest list | ||
run: | | ||
docker manifest create ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}:${{ needs.version-generator.outputs.version }} \ | ||
--amend ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}-amd64:${{ needs.version-generator.outputs.version }} \ | ||
--amend ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}-arm64:${{ needs.version-generator.outputs.version }} | ||
- name: Push manifest list | ||
run: | | ||
docker manifest push ghcr.io/${{ github.repository_owner }}/rafiki-${{ matrix.package }}:${{ needs.version-generator.outputs.version }} | ||
generate-release: | ||
runs-on: ubuntu-latest | ||
needs: [push, version-generator] | ||
needs: [push-manifest, version-generator] | ||
if: needs.version-generator.outputs.generateRelease == 'true' | ||
steps: | ||
- name: Checkout Code | ||
|
@@ -395,6 +424,7 @@ jobs: | |
with: | ||
token: ${{ github.token }} | ||
tag: ${{ needs.version-generator.outputs.version }} | ||
includeRefIssues: false | ||
- name: Create Release | ||
uses: ncipollo/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ignore: | ||
- vulnerability: GHSA-3xgq-45jj-v275 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,4 @@ build | |
**/styles/*.css | ||
.docusaurus | ||
.cache-loader | ||
packages/documentation/** | ||
.astro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CVE-2024-21538 exp:2024-12-31 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ | |
"license": "Apache-2.0", | ||
"repository": "https://github.com/interledger/rafiki", | ||
"engines": { | ||
"pnpm": "^8.15.4", | ||
"pnpm": "^8.15.9", | ||
"node": "20" | ||
}, | ||
"packageManager": "[email protected].5", | ||
"packageManager": "[email protected].9", | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"lint": "eslint --max-warnings=0 --fix .", | ||
|
@@ -78,7 +78,8 @@ | |
"tar@<6.2.1": ">=6.2.1", | ||
"braces@<3.0.3": ">=3.0.3", | ||
"@grpc/grpc-js@>=1.10.0 <1.10.9": ">=1.10.9", | ||
"dset@<3.1.4": ">=3.1.4" | ||
"dset@<3.1.4": ">=3.1.4", | ||
"cross-spawn@>=7.0.0 <7.0.5": ">=7.0.5" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.