Skip to content

Remove CI-only flags from public script and docs#36

Open
DASimp wants to merge 1 commit into
mainfrom
remove-ci-flags
Open

Remove CI-only flags from public script and docs#36
DASimp wants to merge 1 commit into
mainfrom
remove-ci-flags

Conversation

@DASimp
Copy link
Copy Markdown
Contributor

@DASimp DASimp commented May 11, 2026

Summary

  • Removed -t|--testing flag (used internally to target the testing release URL)
  • Removed --validate-os-only flag (used by Jenkins to verify OS support without installing)
  • Removed all associated VALIDATE_ONLY guards from setup() and validate_os_and_version()
  • Hardcoded release URL to updates.simplerisk.com (no more testing URL toggle)
  • Updated README.md to remove both CI-only flags from the help section

Why

These flags are for internal CI/Jenkins use only. Exposing them in the public repo creates a surface for malicious external contributions that could affect our testing infrastructure. Both flags remain fully intact in setup-scripts-dev.

Test plan

  • Verify simplerisk-setup.sh --help no longer shows --testing or --validate-os-only
  • Verify normal installation flow still works (no VALIDATE_ONLY regressions)
  • Confirm updates.simplerisk.com resolves correctly for production installs

🤖 Generated with Claude Code

The --testing and --validate-os-only flags are intended for internal
CI/Jenkins use only. Keeping them in the public repo exposes testing
infrastructure details and creates a surface for malicious contributions.
These flags remain in setup-scripts-dev.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant