Merge branch 'release/2022-11-10' into test

* release/2022-11-10:
  CI Test
This commit is contained in:
Patrick Fic
2022-11-09 16:35:48 -08:00

View File

@@ -84,6 +84,7 @@ jobs:
name: Execute migration
command: |
npm install hasura-cli -g
echo ${HASURA_TEST_SECRET}
hasura migrate apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >>
hasura metadata apply --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >>
hasura metadata reload --endpoint https://db.test.bodyshop.app/ --admin-secret << parameters.secret >>
@@ -160,7 +161,7 @@ workflows:
branches:
only: master
- hasura-migrate:
secret: $HASURA_PROD_SECRET
secret: ${HASURA_PROD_SECRET}
filters:
branches:
only: master
@@ -169,7 +170,7 @@ workflows:
branches:
only: test
- test-hasura-migrate:
secret: $HASURA_TEST_SECRET1
secret: ${HASURA_TEST_SECRET}
filters:
branches:
only: test