-
Notifications
You must be signed in to change notification settings - Fork 2
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 pitch/connect-renkulab-and-openbis-datasets
- Loading branch information
Showing
25 changed files
with
776 additions
and
620 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 |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
extra-values: ${{ steps.deploy-comment.outputs.extra-values}} | ||
steps: | ||
- id: deploy-comment | ||
uses: SwissDataScienceCenter/renku-actions/[email protected].2 | ||
uses: SwissDataScienceCenter/renku-actions/[email protected].3 | ||
with: | ||
string: /deploy | ||
pr_ref: ${{ github.event.number }} | ||
|
@@ -46,22 +46,22 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Find deplyoment url | ||
uses: peter-evans/find-comment@v1 | ||
uses: peter-evans/find-comment@v3 | ||
id: deploymentUrlMessage | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
comment-author: "RenkuBot" | ||
body-includes: "You can access the deployment of this PR at" | ||
- name: Create comment deployment url | ||
if: steps.deploymentUrlMessage.outputs.comment-id == 0 | ||
uses: peter-evans/create-or-update-comment@v1 | ||
uses: peter-evans/create-or-update-comment@v4 | ||
with: | ||
token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
You can access the deployment of this PR at https://renku-ci-ds-${{ github.event.number }}.dev.renku.ch | ||
- name: Build and deploy | ||
uses: SwissDataScienceCenter/renku-actions/[email protected].2 | ||
uses: SwissDataScienceCenter/renku-actions/[email protected].3 | ||
env: | ||
RANCHER_PROJECT_ID: ${{ secrets.CI_RANCHER_PROJECT }} | ||
DOCKER_PASSWORD: ${{ secrets.RENKU_DOCKER_PASSWORD }} | ||
|
@@ -91,7 +91,7 @@ jobs: | |
if: github.event.action != 'closed' && needs.check-deploy.outputs.pr-contains-string == 'true' && needs.check-deploy.outputs.test-enabled == 'true' | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: SwissDataScienceCenter/renku-actions/[email protected].2 | ||
- uses: SwissDataScienceCenter/renku-actions/[email protected].3 | ||
with: | ||
kubeconfig: ${{ secrets.RENKUBOT_DEV_KUBECONFIG }} | ||
renku-release: renku-ci-ds-${{ github.event.number }} | ||
|
@@ -118,7 +118,7 @@ jobs: | |
steps: | ||
- name: Extract Renku repository reference | ||
run: echo "RENKU_REFERENCE=`echo '${{ needs.check-deploy.outputs.renku }}' | cut -d'@' -f2`" >> $GITHUB_ENV | ||
- uses: SwissDataScienceCenter/renku-actions/[email protected].2 | ||
- uses: SwissDataScienceCenter/renku-actions/[email protected].3 | ||
with: | ||
e2e-target: ${{ matrix.tests }} | ||
renku-reference: ${{ env.RENKU_REFERENCE }} | ||
|
@@ -131,22 +131,22 @@ jobs: | |
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Find deplyoment url | ||
uses: peter-evans/find-comment@v1 | ||
uses: peter-evans/find-comment@v3 | ||
id: deploymentUrlMessage | ||
with: | ||
issue-number: ${{ github.event.pull_request.number }} | ||
comment-author: "RenkuBot" | ||
body-includes: "Tearing down the temporary RenkuLab deplyoment" | ||
- name: Create comment deployment url | ||
if: steps.deploymentUrlMessage.outputs.comment-id == 0 | ||
uses: peter-evans/create-or-update-comment@v1 | ||
uses: peter-evans/create-or-update-comment@v4 | ||
with: | ||
token: ${{ secrets.RENKUBOT_GITHUB_TOKEN }} | ||
issue-number: ${{ github.event.pull_request.number }} | ||
body: | | ||
Tearing down the temporary RenkuLab deplyoment for this PR. | ||
- name: renku teardown | ||
uses: SwissDataScienceCenter/renku-actions/[email protected].2 | ||
uses: SwissDataScienceCenter/renku-actions/[email protected].3 | ||
env: | ||
HELM_RELEASE_REGEX: "^renku-ci-ds-${{ github.event.number }}$" | ||
GITLAB_TOKEN: ${{ secrets.DEV_GITLAB_TOKEN }} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ | |
from renku_data_services.users.db import UserRepo as KcUserRepo | ||
from renku_data_services.users.dummy_kc_api import DummyKeycloakAPI | ||
from renku_data_services.users.kc_api import IKeycloakAPI, KeycloakAPI | ||
from renku_data_services.users.models import UserInfo | ||
from renku_data_services.users.models import UnsavedUserInfo | ||
from renku_data_services.utils.core import merge_api_specs, oidc_discovery | ||
|
||
default_resource_pool = models.ResourcePool( | ||
|
@@ -436,8 +436,8 @@ def from_env(cls, prefix: str = "") -> "Config": | |
user_store = DummyUserStore(user_always_exists=user_always_exists) | ||
gitlab_client = DummyGitlabAPI() | ||
dummy_users = [ | ||
UserInfo("user1", "user1", "doe", "[email protected]"), | ||
UserInfo("user2", "user2", "doe", "[email protected]"), | ||
UnsavedUserInfo(id="user1", first_name="user1", last_name="doe", email="[email protected]"), | ||
UnsavedUserInfo(id="user2", first_name="user2", last_name="doe", email="[email protected]"), | ||
] | ||
kc_api = DummyKeycloakAPI(users=[i._to_keycloak_dict() for i in dummy_users]) | ||
redis = RedisConfig.fake() | ||
|
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.