Skip to content

Commit 840b773

Browse files
committed
ci: add env
1 parent f979c33 commit 840b773

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

.github/actions/build_linux/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
uses: ./.github/actions/setup_build_tool
3131
with:
3232
target: ${{ inputs.target }}
33-
bypass_env_vars: RUSTFLAGS,RUST_LOG,DATABEND_RELEASE_VERSION,DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY,DATABEND_ENTERPRISE_LICENSE_EMBEDDED
33+
bypass_env_vars: RUSTFLAGS,RUST_LOG,DATABEND_RELEASE_VERSION,DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY,DATABEND_ENTERPRISE_LICENSE_EMBEDDED,DATABEND_TELEMETRY_ENDPOINT,DATABEND_TELEMETRY_API_KEY
3434

3535
- name: Cross setup
3636
if: startsWith(inputs.target, 'aarch64-')

.github/workflows/release.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ jobs:
140140
DATABEND_RELEASE_VERSION: ${{ needs.create_release.outputs.version }}
141141
DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY: ${{ secrets.DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY }}
142142
DATABEND_ENTERPRISE_LICENSE_EMBEDDED: ${{ secrets.DATABEND_ENTERPRISE_LICENSE_RELEASE }}
143+
DATABEND_TELEMETRY_ENDPOINT: ${{ secrets.DATABEND_TELEMETRY_ENDPOINT}}
144+
DATABEND_TELEMETRY_API_KEY: ${{ secrets.DATABEND_TELEMETRY_API_KEY}}
143145
with:
144146
sha: ${{ github.sha }}
145147
target: ${{ matrix.target }}
@@ -179,6 +181,8 @@ jobs:
179181
DATABEND_RELEASE_VERSION: ${{ needs.create_release.outputs.version }}
180182
DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY: ${{ secrets.DATABEND_ENTERPRISE_LICENSE_PUBLIC_KEY }}
181183
DATABEND_ENTERPRISE_LICENSE_EMBEDDED: ${{ secrets.DATABEND_ENTERPRISE_LICENSE_RELEASE }}
184+
DATABEND_TELEMETRY_ENDPOINT: ${{ secrets.DATABEND_TELEMETRY_ENDPOINT}}
185+
DATABEND_TELEMETRY_API_KEY: ${{ secrets.DATABEND_TELEMETRY_API_KEY}}
182186
with:
183187
sha: ${{ github.sha }}
184188
target: ${{ matrix.target }}
@@ -193,7 +197,7 @@ jobs:
193197
- Linux
194198
- 2c8g
195199
- aws
196-
needs: [create_release, build_default]
200+
needs: [ create_release, build_default ]
197201
strategy:
198202
fail-fast: false
199203
matrix:
@@ -231,7 +235,7 @@ jobs:
231235
- Linux
232236
- 2c8g
233237
- aws
234-
needs: [create_release, build_default, build_docker]
238+
needs: [ create_release, build_default, build_docker ]
235239
strategy:
236240
fail-fast: false
237241
matrix:
@@ -274,7 +278,7 @@ jobs:
274278
- Linux
275279
- 2c8g
276280
- aws
277-
needs: [create_release, build_default]
281+
needs: [ create_release, build_default ]
278282
strategy:
279283
fail-fast: false
280284
matrix:
@@ -323,7 +327,7 @@ jobs:
323327
- Linux
324328
- 2c8g
325329
- aws
326-
needs: [create_release, build_default]
330+
needs: [ create_release, build_default ]
327331
steps:
328332
- name: Checkout
329333
uses: actions/checkout@v4
@@ -402,7 +406,7 @@ jobs:
402406
- Linux
403407
- 2c8g
404408
- aws
405-
needs: [create_release, build_docker]
409+
needs: [ create_release, build_docker ]
406410
strategy:
407411
fail-fast: false
408412
matrix:
@@ -477,7 +481,7 @@ jobs:
477481
- Linux
478482
- 2c8g
479483
- aws
480-
needs: [create_release, build_default]
484+
needs: [ create_release, build_default ]
481485
strategy:
482486
matrix:
483487
arch:
@@ -534,7 +538,7 @@ jobs:
534538
gh release edit ${{ needs.create_release.outputs.version }} --draft=false
535539
536540
sha256sums:
537-
needs: [create_release, publish, distribution]
541+
needs: [ create_release, publish, distribution ]
538542
runs-on: ubuntu-latest
539543
steps:
540544
- name: checkout
@@ -567,7 +571,7 @@ jobs:
567571
- Linux
568572
- 2c8g
569573
- aws
570-
needs: [create_release, notify]
574+
needs: [ create_release, notify ]
571575
steps:
572576
- uses: actions/checkout@v4
573577
with:
@@ -597,7 +601,7 @@ jobs:
597601
- Linux
598602
- 4c16g
599603
- aws
600-
needs: [create_release, notify]
604+
needs: [ create_release, notify ]
601605
steps:
602606
- uses: actions/checkout@v4
603607
with:
@@ -623,7 +627,7 @@ jobs:
623627
await script({context, core})
624628
625629
benchmark:
626-
needs: [create_release, docker_service, notify]
630+
needs: [ create_release, docker_service, notify ]
627631
uses: ./.github/workflows/reuse.benchmark.yml
628632
secrets: inherit
629633
with:
@@ -635,6 +639,6 @@ jobs:
635639
target: all
636640

637641
deb:
638-
needs: [create_release, distribution, notify]
642+
needs: [ create_release, distribution, notify ]
639643
uses: ./.github/workflows/deb.yml
640644
secrets: inherit

0 commit comments

Comments
 (0)