Skip to content

Commit 2d644b5

Browse files
authored
Merge pull request #170 from OneLiteFeatherNET/feat/broker
Feat/broker
2 parents baabe1b + 54fb490 commit 2d644b5

File tree

142 files changed

+9138
-2750
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+9138
-2750
lines changed

.gitguardian.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version: 2
2+
3+
secret:
4+
ignored_paths:
5+
- 'tests/**/*'

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- uses: extractions/setup-just@v2
20-
20+
2121
- name: Setup Node
2222
uses: actions/setup-node@v4
2323
with:
@@ -39,7 +39,7 @@ jobs:
3939
uses: actions/checkout@v4
4040

4141
- uses: extractions/setup-just@v2
42-
42+
4343
- name: Setup Node
4444
uses: actions/setup-node@v4
4545
with:
@@ -120,8 +120,14 @@ jobs:
120120
with:
121121
repo-token: ${{ secrets.GITHUB_TOKEN }}
122122

123+
- name: Install FluvioCLI
124+
run: |
125+
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
126+
123127
- name: Tests
124-
run: just test-all
128+
run: |
129+
export PATH=${PATH}:~/.fluvio/bin:~/.fvm/bin
130+
just test-all
125131
126132
- name: Upload coverage reports to Codecov
127133
uses: codecov/codecov-action@v5

.github/workflows/nightly.yml

Lines changed: 19 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -73,42 +73,33 @@ jobs:
7373
with:
7474
repo-token: ${{ secrets.GITHUB_TOKEN }}
7575

76+
- name: Install FluvioCLI
77+
run: |
78+
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
79+
7680
- name: Tests
77-
run: just test-all
81+
run: |
82+
export PATH=${PATH}:~/.fluvio/bin:~/.fvm/bin
83+
just test-all
7884
7985
docker:
8086
needs: [tests]
8187
name: docker
8288
runs-on: ubuntu-latest
83-
steps:
84-
- name: Checkout Sources
85-
uses: actions/checkout@v4
8689

87-
- name: Login into repository
88-
uses: docker/login-action@v3
89-
with:
90-
registry: ghcr.io
91-
username: ${{ github.actor }}
92-
password: ${{ secrets.GITHUB_TOKEN }}
90+
strategy:
91+
fail-fast: true
92+
matrix:
93+
include:
94+
- dockerfile: ./build/server/Dockerfile
95+
image: feedback-fusion
9396

94-
- name: Set up QEMU
95-
uses: docker/setup-qemu-action@v3
96-
97-
- name: Set up Docker Buildx
98-
uses: docker/setup-buildx-action@v3
97+
- dockerfile: ./build/indexer/Dockerfile
98+
image: feedback-fusion-indexer
9999

100-
- name: Build and push Docker image
101-
uses: docker/build-push-action@v6
102-
with:
103-
platforms: linux/amd64,linux/arm64
104-
context: .
105-
push: true
106-
tags: ghcr.io/onelitefeathernet/feedback-fusion:nightly
100+
- dockerfile: ./build/dashboard/Dockerfile
101+
image: feedback-fusion-dashboard
107102

108-
dashboard:
109-
needs: [docker]
110-
name: dashboard
111-
runs-on: ubuntu-latest
112103
steps:
113104
- name: Checkout Sources
114105
uses: actions/checkout@v4
@@ -131,9 +122,9 @@ jobs:
131122
with:
132123
platforms: linux/amd64,linux/arm64
133124
context: .
134-
file: ./dashboard/Dockerfile
125+
file: ${{ matrix.dockerfile }}
135126
push: true
136-
tags: ghcr.io/onelitefeathernet/feedback-fusion-dashboard:nightly
127+
tags: ghcr.io/onelitefeathernet/${{ matrix.image }}:nightly
137128

138129
docs:
139130
needs: [docker]

.github/workflows/release.yml

Lines changed: 19 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -73,47 +73,33 @@ jobs:
7373
with:
7474
repo-token: ${{ secrets.GITHUB_TOKEN }}
7575

76+
- name: Install FluvioCLI
77+
run: |
78+
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
79+
7680
- name: Tests
77-
run: just test-all
81+
run: |
82+
export PATH=${PATH}:~/.fluvio/bin:~/.fvm/bin
83+
just test-all
7884
7985
docker:
8086
needs: [tests]
8187
name: docker
8288
runs-on: ubuntu-latest
83-
steps:
84-
- name: Checkout Sources
85-
uses: actions/checkout@v4
86-
87-
- name: Extract version
88-
run: |
89-
VERSION=$(grep '^version = ' Cargo.toml | sed -E 's/version = "(.*)"/\1/')
90-
echo "VERSION=$VERSION" >> $GITHUB_ENV
91-
92-
- name: Login into repository
93-
uses: docker/login-action@v3
94-
with:
95-
registry: ghcr.io
96-
username: ${{ github.actor }}
97-
password: ${{ secrets.GITHUB_TOKEN }}
9889

99-
- name: Set up QEMU
100-
uses: docker/setup-qemu-action@v3
90+
strategy:
91+
fail-fast: true
92+
matrix:
93+
include:
94+
- dockerfile: ./build/server/Dockerfile
95+
image: feedback-fusion
10196

102-
- name: Set up Docker Buildx
103-
uses: docker/setup-buildx-action@v3
97+
- dockerfile: ./build/indexer/Dockerfile
98+
image: feedback-fusion-indexer
10499

105-
- name: Build and push Docker image
106-
uses: docker/build-push-action@v6
107-
with:
108-
platforms: linux/amd64,linux/arm64
109-
context: .
110-
push: true
111-
tags: ghcr.io/onelitefeathernet/feedback-fusion:${{env.VERSION}},ghcr.io/onelitefeathernet/feedback-fusion:latest
100+
- dockerfile: ./build/dashboard/Dockerfile
101+
image: feedback-fusion-dashboard
112102

113-
dashboard:
114-
needs: [docker]
115-
name: dashboard
116-
runs-on: ubuntu-latest
117103
steps:
118104
- name: Checkout Sources
119105
uses: actions/checkout@v4
@@ -141,9 +127,9 @@ jobs:
141127
with:
142128
platforms: linux/amd64,linux/arm64
143129
context: .
144-
file: ./dashboard/Dockerfile
130+
file: ${{ matrix.dockerfile }}
145131
push: true
146-
tags: ghcr.io/onelitefeathernet/feedback-fusion-dashboard:${{env.VERSION}},ghcr.io/onelitefeathernet/feedback-fusion-dashboard:latest
132+
tags: ghcr.io/onelitefeathernet/${{ matrix.image }}:${{env.VERSION}},ghcr.io/onelitefeathernet/${{ matrix.image }}:latest
147133

148134
docs:
149135
needs: [docker]

0 commit comments

Comments
 (0)