Skip to content

Commit

Permalink
Merge branch 'main' into feat/eugene/wss
Browse files Browse the repository at this point in the history
  • Loading branch information
0xterminator committed Dec 9, 2024
2 parents b275a60 + 525d84f commit e0a2e92
Show file tree
Hide file tree
Showing 63 changed files with 1,668 additions and 962 deletions.
7 changes: 6 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ SURREALDB_URL=127.0.0.1:8000
SURREALDB_USER=root
SURREALDB_PASS=root
USE_ELASTIC_LOGGING=false
USE_PUBLISHER_METRICS=true
USE_METRICS=true
PUBLISHER_MAX_THREADS=16
ELASTICSEARCH_URL=http://127.0.0.1:9200
ELASTICSEARCH_USERNAME=elastic
ELASTICSEARCH_PASSWORD=generated-secret
S3_ENABLED=false
S3_REGION=s3-region
S3_BUCKET=s3-bucket
S3_ENDPOINT=s3-endpoint
JWT_AUTH_SECRET=generated-secret

# Mainnet Configuration
MAINNET_RELAYER=https://mainnet.infura.io/v3/<infura-api-key>
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ jobs:
- fuel-streams-core
- fuel-streams-macros
- fuel-streams-publisher
- fuel-streams-ws

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -240,6 +241,7 @@ jobs:
matrix:
package:
- fuel-streams-publisher
- fuel-streams-ws
is_release:
- ${{ github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch' }}
platform:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/docker_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,19 @@ jobs:
github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- name: Build and push Fuel Core NATS image
- name: Build and push Fuel publisher image
uses: ./.github/actions/docker-publish
id: publish
id: publish-fuel-streams-nats
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
image: ghcr.io/fuellabs/fuel-streams-publisher
dockerfile: docker/fuel-streams-publisher.Dockerfile
- name: Build and push fule ws streams image
uses: ./.github/actions/docker-publish
id: publish-fuel-ws-nats
with:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
image: ghcr.io/fuellabs/fuel-streams-ws
dockerfile: docker/fuel-streams-ws.Dockerfile
2 changes: 2 additions & 0 deletions .github/workflows/helm_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- main
paths:
- cluster/charts/fuel-streams-publisher/Chart.yaml
- cluster/charts/fuel-streams-ws/Chart.yaml
- cluster/charts/fuel-nats/Chart.yaml

permissions:
Expand All @@ -26,6 +27,7 @@ jobs:
matrix:
chart:
- fuel-streams-publisher
- fuel-streams-ws
- fuel-nats
steps:
- name: Check out code
Expand Down
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ extend-exclude = [
"pnpm-lock.yaml",
"crates/fuel-streams-publisher/README.md",
"crates/fuel-streams-publisher/src/elastic.rs",
"crates/fuel-streams-ws/README.md",
"crates/fuel-indexer/*",
"docker/chain-config",
"docker/monitoring",
Expand Down
Loading

0 comments on commit e0a2e92

Please sign in to comment.