Skip to content

Commit

Permalink
Add a constant env var for Sentry's DSN when someone wants to build A…
Browse files Browse the repository at this point in the history
…gent and doesn't have access to GH secrets. (netdata#16892)

Create an interim env var of the sentry DSN, this will eventually overwrite the SENTRY_DSN which our code understands. 

Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
  • Loading branch information
tkatsoulas authored Jan 31, 2024
1 parent 3ee42e8 commit 4f44a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
docker run --security-opt seccomp=unconfined -e DISABLE_TELEMETRY=1 -e VERSION=${{ needs.version-check.outputs.version }} \
-e ENABLE_SENTRY=${{ matrix.bundle_sentry }} -e RELEASE_PIPELINE=${{ env.RELEASE_PIPELINE }} \
-e BUILD_DESTINATION=${{ matrix.distro }}${{ matrix.version }}_${{ matrix.arch }} -e UPLOAD_SENTRY=${{ env.UPLOAD_SENTRY }} \
-e SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_CLI_TOKEN }} -e SENTRY_DSN=${{ secrets.SENTRY_DSN }} \
-e SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_CLI_TOKEN }} -e NETDATA_SENTRY_DSN=${{ secrets.SENTRY_DSN }} \
--platform=${{ matrix.platform }} -v "$PWD":/netdata netdata/package-builders:${{ matrix.distro }}${{ matrix.version }}-v1
- name: Save Packages
id: artifacts
Expand Down

0 comments on commit 4f44a87

Please sign in to comment.