From a7ab7760c2ea3ca489937bd9e950ffd85d8e7899 Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Tue, 26 Aug 2025 11:24:19 -0400 Subject: [PATCH 1/2] chore: update workspace & project in GHA Integration test --- .github/workflows/test-integration.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index 5eb155ff..0d93f5ad 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -8,8 +8,9 @@ on: - master env: - ORY_PROJECT_ID: "6c2ec103-0b67-4cfe-a975-8008ede7d2ff" - ORY_WORKSPACE_ID: "d4c796bf-6062-4cf0-87fc-5fcbf41743bb" + # project & workspace are managed in Ory Cloud tech integration workspace. + ORY_PROJECT_ID: "3b188173-833c-4074-995c-9085a72c8112" + ORY_WORKSPACE_ID: "f77d4982-46f1-42cd-8d02-8bccfa54f8f7" ORY_WORKSPACE_API_KEY: ${{ secrets.ORY_WORKSPACE_API_KEY }} jobs: From 703ffbf5127a7e854aa3c8ced8cb91a7012fd6fb Mon Sep 17 00:00:00 2001 From: Jonas Hungershausen Date: Tue, 2 Sep 2025 16:08:44 -0400 Subject: [PATCH 2/2] chore: u --- .github/workflows/ci.yaml | 2 ++ cmd/cloudx/project/update_test.go | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7c51a7b4..e827f613 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,6 +7,8 @@ on: tags: - "*" pull_request: + schedule: + - cron: "0 0 * * *" jobs: test: diff --git a/cmd/cloudx/project/update_test.go b/cmd/cloudx/project/update_test.go index da7b5886..e7cc2b1b 100644 --- a/cmd/cloudx/project/update_test.go +++ b/cmd/cloudx/project/update_test.go @@ -46,7 +46,7 @@ func TestUpdateProject(t *testing.T) { subcommand: "project", pathSuccess: "fixtures/update/json/config.json", pathFailure: "fixtures/update/fail/config.json", - failureContains: "minimum 1 items allowed", + failureContains: "field `identities.default_schema_id` can not be empty", fixture: fixtureProject, }, { @@ -54,7 +54,7 @@ func TestUpdateProject(t *testing.T) { projectFlag: "--project", pathSuccess: "fixtures/update-kratos/json/config.json", pathFailure: "fixtures/update-kratos/fail/config.json", - failureContains: "minimum 1 items allowed", + failureContains: "field `identities.default_schema_id` can not be empty", fixture: fixtureKratosConfig, }, {