Skip to content

Commit

Permalink
ci: fix rewriteBatchedStatements in ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Jan 12, 2025
1 parent 2788000 commit 1e7240b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .circleci/doOneMillionUsersTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ do
cd ../
echo $SUPERTOKENS_API_KEY > apiPassword
export ONE_MILLION_USERS_TEST=1
sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@localhost:3306?rewriteBatchedStatements=true/g' config.yaml
./utils/setupTestEnv --cicd
./gradlew :supertokens-mysql-plugin:test --tests io.supertokens.storage.mysql.test.OneMillionUsersTest

Expand Down
1 change: 0 additions & 1 deletion .circleci/doTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ do
git checkout dev-v$pluginVersion
cd ../
echo $SUPERTOKENS_API_KEY > apiPassword
sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@localhost:3306?rewriteBatchedStatements=true/g' config.yaml

./startTestingEnv --cicd
TEST_EXIT_CODE=$?
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
steps:
- uses: actions/checkout@v2

This comment has been minimized.

Copy link
@tamassoltesz

tamassoltesz Jan 12, 2025

Contributor

checkout actions is @v4 currently. For me, the leftover v2 was throwing node dep errors.

- name: Adds mysql host to devConfig.yaml
run: "sed -i 's/# mysql_host:/mysql_host: mysql/g' ./devConfig.yaml"
run: "sed -i 's/# mysql_connection_uri:/mysql_connection_uri: mysql:\/\/root:root@mysql:3306?rewriteBatchedStatements=true/g' ./devConfig.yaml"
- name: Cloning supertokens-root
run: cd ../ && git clone https://github.com/supertokens/supertokens-root.git
- name: Update Java 1
Expand Down

0 comments on commit 1e7240b

Please sign in to comment.