Page MenuHomePhabricator

[Services] Update backup CMake
ClosedPublic

Authored by jon on Jul 8 2022, 11:00 PM.
Tags
None
Referenced Files
F3347201: D4494.id15392.diff
Fri, Nov 22, 11:15 AM
F3347101: D4494.id15175.diff
Fri, Nov 22, 11:09 AM
F3347071: D4494.id15166.diff
Fri, Nov 22, 11:00 AM
F3347064: D4494.id15297.diff
Fri, Nov 22, 10:58 AM
F3347057: D4494.id15120.diff
Fri, Nov 22, 10:56 AM
F3347036: D4494.id14379.diff
Fri, Nov 22, 10:49 AM
F3346961: D4494.id15441.diff
Fri, Nov 22, 10:29 AM
F3345082: D4494.diff
Fri, Nov 22, 5:20 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