Page MenuHomePhabricator

[Services] Update backup CMake
ClosedPublic

Authored by jon on Jul 8 2022, 11:00 PM.
Tags
None
Referenced Files
F2126895: D4494.id.diff
Thu, Jun 27, 6:44 AM
Unknown Object (File)
Wed, Jun 26, 5:47 AM
Unknown Object (File)
Wed, Jun 26, 5:47 AM
Unknown Object (File)
Wed, Jun 26, 5:47 AM
Unknown Object (File)
Wed, Jun 26, 5:47 AM
Unknown Object (File)
Wed, Jun 26, 5:47 AM
Unknown Object (File)
Wed, Jun 26, 5:47 AM
Unknown Object (File)
Wed, Jun 26, 5:47 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
Lint Not Applicable
Unit
Tests Not Applicable

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