Allow tracker script name configuration via secret#234
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #234 +/- ##
==========================================
- Coverage 85.16% 84.58% -0.59%
==========================================
Files 53 55 +2
Lines 1773 1855 +82
Branches 495 517 +22
==========================================
+ Hits 1510 1569 +59
- Misses 235 252 +17
- Partials 28 34 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Closes #136 by allowing the tracker script to have a custom name by setting
CF_TRACKER_NAME. To allow this, we also add anenvcli command to enable updating counterscale related secrets.Changes by Package
@counterscale/cli
envthat can be used to update counterscale secrets/env variable async from deployments.@counterscale/server
tracker.jsfor backward compat@counterscale/tracker
Other Changes
Additional Notes