Skip to content

Commit

Permalink
fix: cicd script
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Oct 13, 2023
1 parent 1c422c7 commit e4af37f
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@ workflows:
- test:
context:
- slack-notification
filters:
tags:
only: /dev-v[0-9]+(\.[0-9]+)*/
branches:
ignore: /.*/
37 changes: 37 additions & 0 deletions .circleci/doTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@ do
currPinnedDb=$(echo "$pinnedDBArray" | jq ".[$i]")
currPinnedDb=$(echo "$currPinnedDb" | tr -d '"')

echo ""
echo ""
echo ""
echo ""
echo ""
echo "===== testing $currPinnedDb with plugin-interface $currVersion ====="
echo ""
echo ""
echo ""
echo ""
echo ""

i=$((i+1))

if [[ $currPinnedDb == "sqlite" ]]
Expand Down Expand Up @@ -148,11 +160,36 @@ do

if [[ $? -ne 0 ]]
then
echo ""
echo ""
echo ""
echo ""
echo ""
echo "===== testing $currPinnedDb with plugin-interface $currVersion FAILED ====="
echo ""
echo ""
echo ""
echo ""
echo ""

cat logs/*
cd ../project/
echo "test failed... exiting!"
exit 1
fi

echo ""
echo ""
echo ""
echo ""
echo ""
echo "===== testing $currPinnedDb with plugin-interface $currVersion SUCCEEDED ====="
echo ""
echo ""
echo ""
echo ""
echo ""

cd ../
rm -rf supertokens-root

Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [7.0.5] - 2023-10-13

- Adds postgres testing to the CICD

## [7.0.4] - 2023-10-12

- Fixes user info from primary user id query
Expand Down

0 comments on commit e4af37f

Please sign in to comment.