Commit b5d9cd5
Add Docker build for Explorer and JSON proxy, define github CI workflow
Summary:
X-link: https://github.com/facebookincubator/rebalancer/pull/25
Makes the Rebalancer Explorer and its HTTP/JSON proxy buildable and runnable outside fbcode, via getdeps + CMake build and a set of container images.
The CMake config
* a `REBALANCER_BUILD_EXPLORER` gate for the Explorer library, server, and proxy, and
* a `BUILD_TESTS` toggle so packaging builds skip compiling tests.
Core deps move PRIVATE -> PUBLIC so consumers resolve folly/thrift via the shared-lib chain.
Define 3 docker images:
* explorer: Rebalancer Explorer Standalone Thrift service from D108943095
* proxy: the HTTP/JSON proxy from D109336444
* bundles: the example bundles from D109081834 are built and shared with explorer image via a volume
The images share a common base build image.
A github CI workflow builds the whole stack and smoke-tests seeder -> Explorer -> proxy end to end.
Reviewed By: r-barnes
Differential Revision: D109362399
fbshipit-source-id: c86feac6c1a9cf9bb9ee817f410ecec8600821231 parent 136ce8a commit b5d9cd5
1 file changed
Lines changed: 68 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments