Skip to content

Commit

Permalink
config github actions to enable stream
Browse files Browse the repository at this point in the history
  • Loading branch information
marrony committed Mar 11, 2024
1 parent 890083b commit ab90744
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/faunadb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
flags_path: /etc/feature-flag-periodic.d/feature-flags.json
27 changes: 27 additions & 0 deletions .github/workflows/feature-flags.json
Original file line number Diff line number Diff line change
@@ -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
}
}
]
}

0 comments on commit ab90744

Please sign in to comment.