Change 32834

tom_tyler (C. Thomas Tyler)
C. Thomas Tyler committed this change into //p4lf/dev
Request Review
Download .zip
Add install.sh and document release/promotion workflow.

install.sh (type text+x):
- Must be run as root (bails immediately if not)
- Detects platform (Linux amd64/arm64, macOS arm64/amd64)
- Downloads binary, p4lf.cfg.example, and p4lf.service via curl -fsSL
  from https://workshop.perforce.com/download/p4lf/<stream>/
- Installs binary to /p4/common/site/log_feeder/p4lf (or custom -d dir)
- Installs p4lf.cfg.example; never overwrites an existing p4lf.cfg
- Installs/updates /etc/systemd/system/p4lf.service only if changed;
  runs 'systemctl daemon-reload' if updated
- Supports -n (dry run), -s <stream>, -d <dir>, -h options
- References P4LF-2 in output (future: perforce user service management)

Makefile:
- release target now includes install.sh in dist/ tarballs
- Added promote section documenting dev->main->rX.Y copy-up workflow,
  correct workshop.perforce.com download URLs, and how to add platform
  binaries in a release stream
  • Files 2
  • Comments 0
1 edited 1 added 0 deleted
Makefile#5
Loading...
install.sh#1
Loading...
Tip: Use n and p to cycle through the changes.