Page MenuHomePhabricator

[Services] Update backup CMake
ClosedPublic

Authored by jon on Jul 8 2022, 11:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 4:38 AM
Unknown Object (File)
Sun, Oct 27, 6:36 AM
Unknown Object (File)
Sun, Oct 27, 6:30 AM
Unknown Object (File)
Sat, Oct 26, 12:32 AM
Unknown Object (File)
Oct 22 2024, 3:38 PM
Unknown Object (File)
Oct 14 2024, 10:11 PM
Unknown Object (File)
Oct 11 2024, 9:32 AM
Unknown Object (File)
Sep 27 2024, 4:58 PM

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