Skip to content

Commit

Permalink
Move priv key to file inject
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffail committed Oct 14, 2024
1 parent 821a30e commit e3cded8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
- name: Release Notes
run: ./resources/scripts/release_notes.sh > ./release_notes.md

- name: Write telemetry private key
run: echo "$CONNECT_TELEMETRY_PRIV_KEY" > ./internal/telemetry/key.pem

- uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand Down
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ builds:
-X main.Version={{.Version}}
-X main.DateBuilt={{.Date}}
-X main.BinaryName=redpanda-connect
-X github.com/redpanda-data/connect/v4/internal/telemetry.PrivateKey={{ if index .Env "CONNECT_TELEMETRY_PRIV_KEY" }}{{ .Env.CONNECT_TELEMETRY_PRIV_KEY }}{{ else }}{{ end }}
-X github.com/redpanda-data/connect/v4/internal/telemetry.ExportDelay={{ if index .Env "CONNECT_TELEMETRY_DELAY" }}{{ .Env.CONNECT_TELEMETRY_DELAY }}{{ else }}{{ end }}
- id: connect-cloud
Expand Down

0 comments on commit e3cded8

Please sign in to comment.