Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
master <> develop (#1177)
Browse files Browse the repository at this point in the history
* fix: add sql endpoint auth + make `run_query` fail gracefully (#1136)

* fix: add sql endpoint auth

* retrigger ci?

---------

Co-authored-by: Rashad Alston <[email protected]>

* chore: switch to manual sqlx query logging (#1138)

* chore: switch to manual sqlx query logging

* fix test

* uat

* add rustdoc

---------

Co-authored-by: Rashad Alston <[email protected]>

* fix: update readme (#1141)

* enhancement: make `NODE_BLOCK_PAGE_SIZE` configurable (#1147)

* Replace blocking `reqwest` usage with async (#1148)

* Revert "Replace blocking `reqwest` usage with async" (#1151)

Revert "Replace blocking `reqwest` usage with async (#1148)"

This reverts commit 19dbf2a.

* docs: adjust docs to include `--block-page-size` on start commands (#1153)

Adjust docs for start commands

* Replace blocking `reqwest` usage with async (#1152)

* fix: don't skip blocks on constraint error (#1154)

* fix: don't skip blocks on constraint error

* fix test

---------

Co-authored-by: Rashad Alston <[email protected]>

* Adding resources to helm chart (#1160)

* Update --replace-indexer and add --remove-data (#1146)

* remove debug info message (#1163)

* docs: update non-book docs (#1161)

* docs: update non-book docs

* updates

* markdownrc

* update contributing.md

* update release schedule

* update example readmes

---------

Co-authored-by: Rashad Alston <[email protected]>

* Fix incorrect schema digest (#1165)

* forc index deploy: register correct schema

* bugfix: we are removing the schema and registering it again

* log registered asset version

* add docs CI (#1158)

* enhancement: implement many-to-many relationships (#1140)

* enhancement: impl m2m inserts

* update implementation

* get the explorer working

* update native exec

* cleanup + updates

* get union types working

* use multiple queries

* rebase origin/develop

* fix test

---------

Co-authored-by: Rashad Alston <[email protected]>

* chore: improve UX of `forc index` plugin commands (#1142)

* Remove forc index new

* Allow for optional namespace in forc index init

* Remove profile and target flags from forc index build; change release bool to debug

* Remove service check from forc index check

* Move service check into forc index status

* Cleanup

* Remove short arg collision from forc index postgres

* Fix CI

* Replace forc_index_init with forc_index_new

* Adjust tests and documentation

* Address feedback; clean up some other things

* Address everything for real this time

* ci: streamline develop <> master merges (#1166)

* ci: use new formatter + fix master<>develop merging  (#1169)

fix: new ci formatting + fix master<>develop merge

Co-authored-by: Rashad Alston <[email protected]>

* v0.19.0 (#1172)

Co-authored-by: Rashad Alston <[email protected]>

---------

Co-authored-by: Rashad Alston <[email protected]>
Co-authored-by: Alexander <[email protected]>
Co-authored-by: JC <[email protected]>
Co-authored-by: roy_fuel <[email protected]>
Co-authored-by: Maciej Woś <[email protected]>
Co-authored-by: Sarah Schwartz <[email protected]>
  • Loading branch information
7 people authored Aug 2, 2023
1 parent 63a13d0 commit 354b330
Show file tree
Hide file tree
Showing 120 changed files with 2,413 additions and 1,874 deletions.
341 changes: 144 additions & 197 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"default": true # Default state for all rules
"MD013": false # Disable rule for line length
"MD033": false # Disable rule banning inline HTML
2 changes: 2 additions & 0 deletions .markdownlintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PULL_REQUEST_TEMPLATE.md
README.md
20 changes: 0 additions & 20 deletions .markdownlintrc

This file was deleted.

61 changes: 34 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,29 +61,29 @@ homepage = "https://fuel.network/"
license = "Apache-2.0"
repository = "https://github.com/FuelLabs/fuel-indexer"
rust-version = "1.69.0"
version = "0.18.5"
version = "0.19.0"

[workspace.dependencies]
async-graphql-parser = "5.0"
async-graphql-value = "5.0"
bincode = "1.3"
clap = "3.1"
forc-index = { version = "0.18.5", path = "./plugins/forc-index" }
forc-postgres = { version = "0.18.5", path = "./plugins/forc-postgres" }
fuel-indexer = { version = "0.18.5", path = "./packages/fuel-indexer" }
fuel-indexer-api-server = { version = "0.18.5", path = "./packages/fuel-indexer-api-server" }
fuel-indexer-database = { version = "0.18.5", path = "./packages/fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.18.5", path = "./packages/fuel-indexer-database/database-types" }
fuel-indexer-graphql = { version = "0.18.5", path = "./packages/fuel-indexer-graphql" }
fuel-indexer-lib = { version = "0.18.5", path = "./packages/fuel-indexer-lib" }
fuel-indexer-macro-utils = { version = "0.18.5", path = "./packages/fuel-indexer-macros/macro-utils" }
fuel-indexer-macros = { version = "0.18.5", path = "./packages/fuel-indexer-macros", default-features = false }
fuel-indexer-metrics = { version = "0.18.5", path = "./packages/fuel-indexer-metrics" }
fuel-indexer-plugin = { version = "0.18.5", path = "./packages/fuel-indexer-plugin", default-features = false }
fuel-indexer-postgres = { version = "0.18.5", path = "./packages/fuel-indexer-database/postgres" }
fuel-indexer-schema = { version = "0.18.5", path = "./packages/fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.18.5", path = "./packages/fuel-indexer-types" }
fuel-indexer-utils = { version = "0.18.5", path = "./packages/fuel-indexer-utils" }
forc-index = { version = "0.19.0", path = "./plugins/forc-index" }
forc-postgres = { version = "0.19.0", path = "./plugins/forc-postgres" }
fuel-indexer = { version = "0.19.0", path = "./packages/fuel-indexer" }
fuel-indexer-api-server = { version = "0.19.0", path = "./packages/fuel-indexer-api-server" }
fuel-indexer-database = { version = "0.19.0", path = "./packages/fuel-indexer-database" }
fuel-indexer-database-types = { version = "0.19.0", path = "./packages/fuel-indexer-database/database-types" }
fuel-indexer-graphql = { version = "0.19.0", path = "./packages/fuel-indexer-graphql" }
fuel-indexer-lib = { version = "0.19.0", path = "./packages/fuel-indexer-lib" }
fuel-indexer-macro-utils = { version = "0.19.0", path = "./packages/fuel-indexer-macros/macro-utils" }
fuel-indexer-macros = { version = "0.19.0", path = "./packages/fuel-indexer-macros", default-features = false }
fuel-indexer-metrics = { version = "0.19.0", path = "./packages/fuel-indexer-metrics" }
fuel-indexer-plugin = { version = "0.19.0", path = "./packages/fuel-indexer-plugin", default-features = false }
fuel-indexer-postgres = { version = "0.19.0", path = "./packages/fuel-indexer-database/postgres" }
fuel-indexer-schema = { version = "0.19.0", path = "./packages/fuel-indexer-schema", default-features = false }
fuel-indexer-types = { version = "0.19.0", path = "./packages/fuel-indexer-types" }
fuel-indexer-utils = { version = "0.19.0", path = "./packages/fuel-indexer-utils" }
fuel-tx = { version = "0.26", default-features = false }
fuel-types = { version = "0.31", default-features = false, features = ["serde"] }
fuel-vm = { version = "0.26", default-features = false }
Expand Down
3 changes: 3 additions & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
# # Allow the web API to accept raw SQL queries.
# accept_sql_queries: true

# # Amount of blocks to return in a request to a Fuel node.
# block_page_size: 10

# # ***********************
# # Fuel Node configuration
# # ************************
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
- "--verbose"
- "--replace-indexer"
- "--accept-sql-queries"
- "--block-page-size"
- "25"
env:
- name: POSTGRES_PASSWORD
valueFrom:
Expand All @@ -74,6 +76,13 @@ spec:
- name: POSTGRES_DATABASE
value: "{{ .Values.app.postgres.database }}"
imagePullPolicy: {{ .Values.app.image.pullPolicy }}
resources:
limits:
cpu: {{ .Values.app.resources.cpu_limits }}
memory: {{ .Values.app.resources.memory_limits }}
requests:
cpu: {{ .Values.app.resources.cpu_requests }}
memory: {{ .Values.app.resources.memory_requests }}
ports:
- name: http
containerPort: {{ .Values.app.target_port }}
Expand Down
5 changes: 5 additions & 0 deletions deployment/charts/fuel-indexer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ app:
storageclass: ${fuel_indexer_pvc_storage_class}
storagerequests: ${fuel_indexer_pvc_storage_requests}
accessmodes: ReadWriteOnce
resources:
cpu_requests: ${fuel_indexer_cpu_requests}
memory_requests: ${fuel_indexer_memory_requests}
cpu_limits: ${fuel_indexer_cpu_limits}
memory_limits: ${fuel_indexer_memory_limits}
postgres:
host: ${postgres_host}
database: ${postgres_database}
Expand Down
Loading

0 comments on commit 354b330

Please sign in to comment.