diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3495ee27..8f68ce18 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -37,6 +37,11 @@ jobs: services: core: image: ${{ matrix.fauna-docker-service.name }} + with: + args: --config /etc/faunadb.yml + volumes: + - ${{ github.workspace }}/.github/workflows/faunadb.yml:/etc/faunadb.yml + - ${{ github.workspace }}/.github/workflows/feature-flags.json:/etc/feature-flag-periodic.d/feature-flags.json steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/faunadb.yml b/.github/workflows/faunadb.yml new file mode 100644 index 00000000..30f4ebcc --- /dev/null +++ b/.github/workflows/faunadb.yml @@ -0,0 +1 @@ +flags_path: /etc/feature-flag-periodic.d/feature-flags.json diff --git a/.github/workflows/feature-flags.json b/.github/workflows/feature-flags.json new file mode 100644 index 00000000..2fc48a0a --- /dev/null +++ b/.github/workflows/feature-flags.json @@ -0,0 +1,27 @@ +{ + "version": 1, + "properties": [ + { + "property_name": "cluster_name", + "property_value": "fauna", + "flags": { + "fql2_schema": true, + "fqlx_typecheck_default": true, + "persisted_fields": true, + "changes_by_collection_index": true, + "fql2_streams": true + } + }, + { + "property_name": "account_id", + "property_value": 0, + "flags": { + "fql2_schema": true, + "fqlx_typecheck_default": true, + "persisted_fields": true, + "changes_by_collection_index": true, + "fql2_streams": true + } + } + ] +}