-
Notifications
You must be signed in to change notification settings - Fork 1
Remove version tracking for local Docker builds, use :latest tag #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| ### Want to use specific versions locally | ||
|
|
||
| If you need specific versions for local testing, you can manually override: | ||
| ```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is telling people to manually override in the script the best idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, that wasn't ideal. I've updated the approach to use environment variable overrides instead:
# Override versions without editing the script
SENTRIUS_VERSION="1.2.3" ./ops-scripts/local/deploy-helm.shThe script now uses ${VAR:-default} pattern so users can override any version via environment variables. Updated in commit 7bb8e30.
|
@copilot left a comment |
- Modified build-images.sh to use :latest for local builds - Updated deploy-helm.sh to use :latest instead of reading .local.env - Added deprecation notes to .env and .local.env files - Updated .gitignore to properly handle .env backup files - GCP builds still use version tracking via .gcp.env Co-authored-by: phrocker <[email protected]>
Co-authored-by: phrocker <[email protected]>
- Modified deploy-helm.sh to use ${VAR:-default} pattern
- Users can now override versions via environment variables
- Updated docs to recommend env vars instead of script editing
- Addresses feedback about manual script modification
Co-authored-by: phrocker <[email protected]>
0993e5b to
33a58c9
Compare
* Initial plan * Fix sidebar menu collapse by removing accordion behavior Co-authored-by: phrocker <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: phrocker <[email protected]>
Summary
Successfully removed reliance on .env files for local development version tracking:
Changes Made:
:latesttag for all local builds, only tracks versions for GCPBenefits:
Original prompt
Fixes #106
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.