Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 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
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# url: https://renku-ci-ui-${{ github.event.number }}.dev.renku.ch
steps:
- name: Checkout renku repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
repository: SwissDataScienceCenter/renku
sparse-checkout: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/api-specs-up-to-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
working-directory: ./client
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Set up node 22
uses: actions/setup-node@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-old-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
cleanup-old-deployments-from-github:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/github-script@v8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
create-release-pr:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
token: "${{ secrets.RENKUBOT_GITHUB_TOKEN }}"
- name: Setup Git
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-and-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
run:
working-directory: ./client
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "22"
Expand All @@ -91,7 +91,7 @@ jobs:
run:
working-directory: ./tests
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up node ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
Expand All @@ -108,7 +108,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Install client
uses: cypress-io/github-action@v6
with:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
runs-on: ubuntu-24.04
if: "startsWith(github.ref, 'refs/tags/')"
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
"mathbf",
"mathjax",
"mergerequests",
"metadata_oauth",
"mongodb",
"monospace",
"morgan",
Expand Down
86 changes: 51 additions & 35 deletions client/package-lock.json

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

2 changes: 2 additions & 0 deletions client/package.json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also update the generate-api and update-api targets.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! e6122d4

Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"generate-api:platform": "rtk-query-codegen-openapi src/features/platform/api/platform.api-config.ts",
"generate-api:projectCloudStorage": "rtk-query-codegen-openapi src/features/project/components/cloudStorage/api/projectCloudStorage.api-config.ts",
"generate-api:projectV2": "rtk-query-codegen-openapi src/features/projectsV2/api/projectV2.api-config.ts",
"generate-api:repositories": "rtk-query-codegen-openapi src/features/repositories/api/repositories.api-config.ts",
"generate-api:searchV2": "rtk-query-codegen-openapi src/features/searchV2/api/searchV2.api-config.ts",
"generate-api:sessionLaunchersV2": "rtk-query-codegen-openapi src/features/sessionsV2/api/sessionLaunchersV2.api-config.ts",
"generate-api:sessionsV2": "rtk-query-codegen-openapi src/features/sessionsV2/api/sessionsV2.api-config.ts",
Expand All @@ -42,6 +43,7 @@
"update-api:platform": "node scripts/update_api_spec.js platform",
"update-api:projectCloudStorage": "node scripts/update_api_spec.js projectCloudStorage",
"update-api:projectV2": "node scripts/update_api_spec.js projectV2",
"update-api:repositories": "node scripts/update_api_spec.js repositories",
"update-api:searchV2": "node scripts/update_api_spec.js searchV2",
"update-api:sessionLaunchersV2": "node scripts/update_api_spec.js sessionLaunchersV2",
"update-api:sessionsV2": "node scripts/update_api_spec.js sessionsV2",
Expand Down
9 changes: 9 additions & 0 deletions client/scripts/update_api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ async function main() {
updateProjectCloudStorageApi();
} else if (arg.trim() === "projectV2") {
updateProjectV2Api();
} else if (arg.trim() === "repositories") {
updateRepositoriesApi();
} else if (arg.trim() === "searchV2") {
updateSearchV2Api();
} else if (arg.trim() === "sessionLaunchersV2") {
Expand Down Expand Up @@ -105,6 +107,13 @@ async function updateProjectV2Api() {
});
}

async function updateRepositoriesApi() {
updateApiFiles({
specFile: "components/renku_data_services/repositories/api.spec.yaml",
destFile: "src/features/repositories/api/repositories.openapi.json",
});
}

async function updateSearchV2Api() {
updateApiFiles({
specFile: "components/renku_data_services/search/api.spec.yaml",
Expand Down
Loading
Loading