From 9fde8f2404a0680a7ca0a23d94ca1d3fbccd7982 Mon Sep 17 00:00:00 2001 From: Mihaly Lengyel Date: Thu, 17 Oct 2024 10:22:40 +0200 Subject: [PATCH] ci: update ci scripts to add new encryption key prop --- .circleci/forceRunCI.sh | 4 ++-- .circleci/setupAndTestBackendSDKWithFreeCore.sh | 1 + .circleci/setupAndTestWithAuthReact.sh | 1 + .circleci/setupAndTestWithFreeCore.sh | 1 + .circleci/setupAndTestWithFrontend.sh | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.circleci/forceRunCI.sh b/.circleci/forceRunCI.sh index e0a05f6d9..f8088f23e 100755 --- a/.circleci/forceRunCI.sh +++ b/.circleci/forceRunCI.sh @@ -2,8 +2,8 @@ PAT=`cat .pat` auth=`echo "${PAT}:" | tr -d '\n' | base64 --wrap=0` branch=`git rev-parse --abbrev-ref HEAD` -cdiCoreMap='{ "5.2": "feat/oauth-provider-base" }' -cdiPluginInterfaceMap='{ "5.2": "feat/oauth-provider-base" }' +cdiCoreMap='{ "5.2": "feat/oauth/remaining-changes" }' +cdiPluginInterfaceMap='{ "5.2": "feat/oauth/remaining-changes" }' fdiNodeMap='{ "3.1": "21.0", "4.0": "21.0" }' fdiWebsiteMap='{ "1.17": "20.1", "1.18": "20.1", "1.19": "20.1", "2.0": "20.1", "3.0": "20.1", "3.1": "20.1", "4.0": "20.1" }' fdiAuthReactMap='{ "3.1": "0.49", "4.0": "0.49" }' diff --git a/.circleci/setupAndTestBackendSDKWithFreeCore.sh b/.circleci/setupAndTestBackendSDKWithFreeCore.sh index b139658fb..0870c659a 100755 --- a/.circleci/setupAndTestBackendSDKWithFreeCore.sh +++ b/.circleci/setupAndTestBackendSDKWithFreeCore.sh @@ -77,6 +77,7 @@ git checkout $coreTag sed -i 's/# oauth_provider_public_service_url:/oauth_provider_public_service_url: "http:\/\/localhost:4444"/' devConfig.yaml sed -i 's/# oauth_provider_admin_service_url:/oauth_provider_admin_service_url: "http:\/\/localhost:4445"/' devConfig.yaml sed -i 's/# oauth_provider_consent_login_base_url:/oauth_provider_consent_login_base_url: "http:\/\/localhost:3001\/auth"/' devConfig.yaml +sed -i 's/# oauth_client_secret_encryption_key:/oauth_client_secret_encryption_key: "asdfasdfasdfasdfasdf"/' devConfig.yaml cd ../supertokens-plugin-interface git checkout $pluginInterfaceTag diff --git a/.circleci/setupAndTestWithAuthReact.sh b/.circleci/setupAndTestWithAuthReact.sh index 61ae3f2af..2622c5bbd 100755 --- a/.circleci/setupAndTestWithAuthReact.sh +++ b/.circleci/setupAndTestWithAuthReact.sh @@ -73,6 +73,7 @@ git checkout $coreTag sed -i 's/# oauth_provider_public_service_url:/oauth_provider_public_service_url: "http:\/\/localhost:4444"/' devConfig.yaml sed -i 's/# oauth_provider_admin_service_url:/oauth_provider_admin_service_url: "http:\/\/localhost:4445"/' devConfig.yaml sed -i 's/# oauth_provider_consent_login_base_url:/oauth_provider_consent_login_base_url: "http:\/\/localhost:3001\/auth"/' devConfig.yaml +sed -i 's/# oauth_client_secret_encryption_key:/oauth_client_secret_encryption_key: "asdfasdfasdfasdfasdf"/' devConfig.yaml cd ../supertokens-plugin-interface git checkout $pluginInterfaceTag diff --git a/.circleci/setupAndTestWithFreeCore.sh b/.circleci/setupAndTestWithFreeCore.sh index bda9aa416..100d4ae92 100755 --- a/.circleci/setupAndTestWithFreeCore.sh +++ b/.circleci/setupAndTestWithFreeCore.sh @@ -76,6 +76,7 @@ git checkout $coreTag sed -i 's/# oauth_provider_public_service_url:/oauth_provider_public_service_url: "http:\/\/localhost:4444"/' devConfig.yaml sed -i 's/# oauth_provider_admin_service_url:/oauth_provider_admin_service_url: "http:\/\/localhost:4445"/' devConfig.yaml sed -i 's/# oauth_provider_consent_login_base_url:/oauth_provider_consent_login_base_url: "http:\/\/localhost:3001\/auth"/' devConfig.yaml +sed -i 's/# oauth_client_secret_encryption_key:/oauth_client_secret_encryption_key: "asdfasdfasdfasdfasdf"/' devConfig.yaml cd ../supertokens-plugin-interface git checkout $pluginInterfaceTag diff --git a/.circleci/setupAndTestWithFrontend.sh b/.circleci/setupAndTestWithFrontend.sh index 9721c7a6e..937faf787 100755 --- a/.circleci/setupAndTestWithFrontend.sh +++ b/.circleci/setupAndTestWithFrontend.sh @@ -73,6 +73,7 @@ git checkout $coreTag sed -i 's/# oauth_provider_public_service_url:/oauth_provider_public_service_url: "http:\/\/localhost:4444"/' devConfig.yaml sed -i 's/# oauth_provider_admin_service_url:/oauth_provider_admin_service_url: "http:\/\/localhost:4445"/' devConfig.yaml sed -i 's/# oauth_provider_consent_login_base_url:/oauth_provider_consent_login_base_url: "http:\/\/localhost:3001\/auth"/' devConfig.yaml +sed -i 's/# oauth_client_secret_encryption_key:/oauth_client_secret_encryption_key: "asdfasdfasdfasdfasdf"/' devConfig.yaml cd ../supertokens-plugin-interface git checkout $pluginInterfaceTag