Page MenuHomePhabricator

[Services] Update backup CMake
ClosedPublic

Authored by jon on Jul 8 2022, 11:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 10:35 PM
Unknown Object (File)
Sat, Nov 23, 4:24 PM
Unknown Object (File)
Fri, Nov 22, 11:15 AM
Unknown Object (File)
Fri, Nov 22, 11:09 AM
Unknown Object (File)
Fri, Nov 22, 11:00 AM
Unknown Object (File)
Fri, Nov 22, 10:58 AM
Unknown Object (File)
Fri, Nov 22, 10:56 AM
Unknown Object (File)
Fri, Nov 22, 10:49 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