Page MenuHomePhabricator

[Services] Update blob CMake project
ClosedPublic

Authored by jon on Jul 8 2022, 10:58 PM.
Tags
None
Referenced Files
F3365696: D4493.id15440.diff
Mon, Nov 25, 7:26 AM
F3365293: D4493.id15391.diff
Mon, Nov 25, 7:19 AM
Unknown Object (File)
Tue, Nov 19, 4:35 AM
Unknown Object (File)
Mon, Nov 18, 8:29 PM
Unknown Object (File)
Sun, Oct 27, 4:32 AM
Unknown Object (File)
Oct 24 2024, 4:15 PM
Unknown Object (File)
Oct 12 2024, 11:20 AM
Unknown Object (File)
Sep 30 2024, 5:51 PM

Details

Summary

Make blob more nix friendly
and make use of the native/cpp cmake work

DatabaseEntitiesTools.h was moved to lib/src as it was largely duplicated across three projects

Backup docker + cmake is fixed in D4494

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

docker:

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

cd ../..
docker build . -f services/blob/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:00 PM
Harbormaster failed remote builds in B10434: Diff 14378!
Harbormaster returned this revision to the author for changes because remote builds failed.Jul 25 2022, 9:05 PM
Harbormaster failed remote builds in B10843: Diff 14906!

Adjust cmake to new docker workflow

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 29 2022, 9:52 AM
Harbormaster failed remote builds in B10979: Diff 15107!

Clean up 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 B10985: Diff 15119!

gates will be failing until base-image is updated

jon added a reviewer: atul.
atul requested changes to this revision.Aug 1 2022, 7:04 AM
In D4493#134704, @jon wrote:

gates will be failing until base-image is updated

Is there an ETA for that?

Should I review this diff right now, or should I put it back on your queue until it's ready?

This revision now requires changes to proceed.Aug 1 2022, 7:04 AM

The test plan doesn't need dockerhub. And waiting for the base image diff to be approved before pushing https://phab.comm.dev/D4630

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

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

Tested this locally and it build successfully

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

Update base-image reference

jon retitled this revision from [Services] Export blob as CMake project to [Services] Update blob CMake project.Aug 1 2022, 1:39 PM
jon edited the summary of this revision. (Show Details)

Rebase with fixes

I was going to try and fix this by doing the header additions first, but I realize I really can't with #include "DatabaseEntitiesTools.h" still needing to be somewhere.

atul requested changes to this revision.Aug 8 2022, 10:40 AM
This comment was removed by atul.
This revision now requires changes to proceed.Aug 8 2022, 10:40 AM

Sorry just checked and looks like the Test Plan here continues to work, intended to request changes on D4762

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

Merge mac fixes into this diff to ease review

This revision was landed with ongoing or failed builds.Aug 8 2022, 1:45 PM
This revision was automatically updated to reflect the committed changes.