Change 33768

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //j2j/dev
Request Review
Download .zip
J2J-3: SDP-aware, not SDP-dependent deployment fixes.

sync_jira_to_p4jobs.sh already fell back gracefully from SDP env vars
(P4CSBIN/LOGS/P4TMP) to generic /tmp-based paths at runtime, but three
gaps undercut "deploy anywhere":

- write_example_config() hardcoded StateDir=/p4/1/tmp/jira_sync (an SDP
  instance-1 path) instead of following the same env-var-aware fallback
  as the runtime default; now commented out as an example, matching the
  existing P4ConfigFile treatment.
- No startup visibility into which mode was active. Added a one-line
  preflight log message reporting detected SDP env vars vs standalone
  fallback mode.
- README was written entirely around SDP paths with no standalone
  guidance. Added a "Standalone (non-SDP) deployment" section, and a
  DEPLOYMENT section in -man.
- Fixed a misleading comment overstating python3 as an SDP-specific
  dependency (it is not).

No breaking changes; SDP remains the first-class default. Bumped
Version 3.3.0 -> 3.4.0 (minor) per the version-bump-per-submit policy.
  • Files 2
  • Comments 0
2 edited 0 added 0 deleted
bin/sync_jira_to_p4jobs.sh#20
Loading...
docs/sync_jira_to_p4jobs_README.md#13
Loading...
Tip: Use n and p to cycle through the changes.