| Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago | 1 | #!/usr/bin/env dotslash |
| 2 | |
| 3 | // DotSlash itself, so that a remote worker can fetch a toolchain the way this |
| 4 | // machine does. |
| 5 | // |
| 6 | // The other manifests here are pins buck reads and then fetches for itself. |
| 7 | // This one is different: it is fetched so that it can do the fetching. An NDK |
| 8 | // is three gigabytes unpacked, and shipping that to a worker as an action |
| 9 | // input means uploading it to the CAS first; a worker that runs this instead |
| 10 | // downloads the same pinned archive, by the same digest, from Google. |
| 11 | // |
| 12 | // Not runnable as a shim, and nothing tries: a DotSlash file cannot bootstrap |
| 13 | // the program that reads it. |
| 14 | { |
| 15 | "name": "dotslash", |
| 16 | "platforms": { |
| 17 | "linux-x86_64": { |
| 18 | "size": 842816, |
| 19 | "hash": "sha256", |
| 20 | "digest": "4c75c6eb7890ae35993b962073f6d9bbe78b42b81a5691303ad70f63bfbf7196", |
| 21 | "format": "tar.gz", |
| 22 | "path": "dotslash", |
| 23 | "providers": [ |
| 24 | { |
| 25 | "url": "https://github.com/facebook/dotslash/releases/download/v0.5.9/dotslash-linux-musl.x86_64.v0.5.9.tar.gz" |
| 26 | } |
| 27 | ] |
| 28 | }, |
| 29 | "linux-aarch64": { |
| 30 | "size": 754251, |
| 31 | "hash": "sha256", |
| 32 | "digest": "e58374446dacd4a228388cd275d974bbd8f946916b513cf0eb86bdff5d9d675e", |
| 33 | "format": "tar.gz", |
| 34 | "path": "dotslash", |
| 35 | "providers": [ |
| 36 | { |
| 37 | "url": "https://github.com/facebook/dotslash/releases/download/v0.5.9/dotslash-linux-musl.arm64.v0.5.9.tar.gz" |
| 38 | } |
| 39 | ] |
| 40 | }, |
| 41 | "macos-x86_64": { |
| 42 | "size": 716580, |
| 43 | "hash": "sha256", |
| 44 | "digest": "51446593596ffe4cd22bc43a0fe6d82dd367758eb53cb4ade36d6a684ed08469", |
| 45 | "format": "tar.gz", |
| 46 | "path": "dotslash", |
| 47 | "providers": [ |
| 48 | { |
| 49 | "url": "https://github.com/facebook/dotslash/releases/download/v0.5.9/dotslash-macos-amd64.v0.5.9.tar.gz" |
| 50 | } |
| 51 | ] |
| 52 | }, |
| 53 | "macos-aarch64": { |
| 54 | "size": 600404, |
| 55 | "hash": "sha256", |
| 56 | "digest": "eef15be1b554de7b1409cb0c69c24f2cd04f19c0f101ad69fcdf9d66d4d51639", |
| 57 | "format": "tar.gz", |
| 58 | "path": "dotslash", |
| 59 | "providers": [ |
| 60 | { |
| 61 | "url": "https://github.com/facebook/dotslash/releases/download/v0.5.9/dotslash-macos-arm64.v0.5.9.tar.gz" |
| 62 | } |
| 63 | ] |
| 64 | } |
| 65 | } |
| 66 | } |