Skip to content

Commit a88bc67

Browse files
authored
use buildomat artifact to download propolis (#137)
1 parent 80b976b commit a88bc67

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ slog = { version = "2.7", features = ["max_level_trace"] }
2929
slog-term = "2.7"
3030
slog-async = "2.7"
3131
slog-envlogger = "2.2"
32-
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "ba4d338f0c98faa0328502c99aa6fa0e0948d3da" }
3332
toml = "0.8"
33+
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "bdaaf207c7d7f9a6d905a3589eb8e159aa78df12" }
3434
libc = "0.2"
3535
tokio = { version = "1.44.2", features = ["full"] }
3636
tokio-tungstenite = "0.21"

get-propolis.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22

3-
# from propolis' `falcon` job, commit ba4d338f0c98faa0328502c99aa6fa0e0948d3da
4-
curl -OL https://buildomat.eng.oxide.computer/wg/0/artefact/01JQA00H3HQ2H7JW0PWMDQ7XDN/52rIztYQlpRJEttYOMaflSu2b8GnmLPUnW6TsjkChj37dvgp/01JQA00TDFWX2870391FPKBY76/01JQA0N556K971D0XGQPGJYVKJ/propolis-server
3+
# get propolis version from Cargo.toml
4+
rev=`cat Cargo.toml | grep propolis | sed -E 's/.*rev = "([^"]+)".*/\1/'`
5+
echo "Fetching propolis version $rev"
6+
7+
curl -OL https://buildomat.eng.oxide.computer/public/file/oxidecomputer/propolis/falcon/$rev/propolis-server
58
chmod +x propolis-server
69
pfexec mv propolis-server /usr/bin/

0 commit comments

Comments
 (0)