Page MenuHomePhabricator

[Services] Update backup CMake
ClosedPublic

Authored by jon on Jul 8 2022, 11:00 PM.
Tags
None
Referenced Files
F3521648: D4494.diff
Mon, Dec 23, 4:19 AM
F3521433: D4494.id15175.diff
Mon, Dec 23, 3:31 AM
Unknown Object (File)
Fri, Dec 20, 3:21 AM
Unknown Object (File)
Mon, Dec 16, 10:06 AM
Unknown Object (File)
Mon, Dec 16, 12:45 AM
Unknown Object (File)
Mon, Dec 16, 12:13 AM
Unknown Object (File)
Mon, Dec 16, 12:13 AM
Unknown Object (File)
Mon, Dec 16, 12:13 AM

Details

Summary

Make backup more nix friendly
Allow backup to be built outside of docker

Also moved Item.h to shared lib

Test Plan
nix develop
cd services/backup && mkdir build && cd build && cmake .. && make

docker workflow:

cd services/base-image
docker build -t commapp/services-base . -f Dockerfile

cd ../..
docker build . -f services/backup/Dockerfile

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 8 2022, 11:02 PM
Harbormaster failed remote builds in B10435: Diff 14379!
Harbormaster returned this revision to the author for changes because remote builds failed.Jul 25 2022, 9:06 PM
Harbormaster failed remote builds in B10844: Diff 14907!

Clean up backup cmake and docker build

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 29 2022, 3:05 PM
Harbormaster failed remote builds in B10986: Diff 15120!
jon edited the test plan for this revision. (Show Details)
jon added a reviewer: atul.
jon retitled this revision from [Services] Export backup as CMake project to [Services] Update backup CMake.
jon edited the summary of this revision. (Show Details)
cd services/base-image
docker build -t commapp/services-base . -f Dockerfile

cd ../..
docker build . -f services/backup/Dockerfile

Confirmed that this worked locally for me

This revision is now accepted and ready to land.Aug 1 2022, 10:04 AM

Merge MacOS fixes into this to ease review