Skip to content

Commit

Permalink
Merge branch 'main' into update_crucible_and_propolis
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Hanson committed Oct 21, 2023
2 parents b1bbb09 + e451ca5 commit a8973b3
Show file tree
Hide file tree
Showing 135 changed files with 7,574 additions and 1,364 deletions.
4 changes: 2 additions & 2 deletions .github/buildomat/jobs/build-and-test-linux.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
#:
#: name = "build-and-test (ubuntu-20.04)"
#: name = "build-and-test (ubuntu-22.04)"
#: variety = "basic"
#: target = "ubuntu-20.04"
#: target = "ubuntu-22.04"
#: rust_toolchain = "1.72.1"
#: output_rules = [
#: "/var/tmp/omicron_tmp/*",
Expand Down
1 change: 1 addition & 0 deletions .github/buildomat/jobs/clippy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ ptime -m bash ./tools/install_builder_prerequisites.sh -y

banner clippy
ptime -m cargo xtask clippy
ptime -m cargo doc
10 changes: 5 additions & 5 deletions .github/buildomat/jobs/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,11 @@ infra_ip_first = \"$UPLINK_IP\"
/^infra_ip_last/c\\
infra_ip_last = \"$UPLINK_IP\"
}
/^\\[\\[rack_network_config.uplinks/,/^\$/ {
/^gateway_ip/c\\
gateway_ip = \"$GATEWAY_IP\"
/^uplink_cidr/c\\
uplink_cidr = \"$UPLINK_IP/32\"
/^\\[\\[rack_network_config.ports/,/^\$/ {
/^routes/c\\
routes = \\[{nexthop = \"$GATEWAY_IP\", destination = \"0.0.0.0/0\"}\\]
/^addresses/c\\
addresses = \\[\"$UPLINK_IP/32\"\\]
}
" pkg/config-rss.toml
diff -u pkg/config-rss.toml{~,} || true
Expand Down
6 changes: 3 additions & 3 deletions .github/buildomat/jobs/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ tarball_src_dir="$(pwd)/out/versioned"
stamp_packages() {
for package in "$@"; do
# TODO: remove once https://github.com/oxidecomputer/omicron-package/pull/54 lands
if [[ $package == maghemite ]]; then
if [[ $package == mg-ddm-gz ]]; then
echo "0.0.0" > VERSION
tar rvf "out/$package.tar" VERSION
rm VERSION
Expand All @@ -90,7 +90,7 @@ ptime -m cargo run --locked --release --bin omicron-package -- \
-t host target create -i standard -m gimlet -s asic -r multi-sled
ptime -m cargo run --locked --release --bin omicron-package -- \
-t host package
stamp_packages omicron-sled-agent maghemite propolis-server overlay
stamp_packages omicron-sled-agent mg-ddm-gz propolis-server overlay

# Create global zone package @ /work/global-zone-packages.tar.gz
ptime -m ./tools/build-global-zone-packages.sh "$tarball_src_dir" /work
Expand Down Expand Up @@ -135,7 +135,7 @@ ptime -m cargo run --locked --release --bin omicron-package -- \
-t recovery target create -i trampoline
ptime -m cargo run --locked --release --bin omicron-package -- \
-t recovery package
stamp_packages installinator maghemite
stamp_packages installinator mg-ddm-gz

# Create trampoline global zone package @ /work/trampoline-global-zone-packages.tar.gz
ptime -m ./tools/build-trampoline-global-zone-packages.sh "$tarball_src_dir" /work
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ core
*.vdev
debug.out
rusty-tags.vi
*.sw*
tags
26 changes: 26 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ members = [
"clients/dpd-client",
"clients/gateway-client",
"clients/installinator-artifact-client",
"clients/mg-admin-client",
"clients/nexus-client",
"clients/oxide-client",
"clients/oximeter-client",
Expand Down Expand Up @@ -82,6 +83,7 @@ default-members = [
"clients/oximeter-client",
"clients/sled-agent-client",
"clients/wicketd-client",
"clients/mg-admin-client",
"common",
"dev-tools/crdb-seed",
"dev-tools/omdb",
Expand Down Expand Up @@ -227,6 +229,7 @@ macaddr = { version = "1.0.1", features = ["serde_std"] }
mime_guess = "2.0.4"
mockall = "0.11"
newtype_derive = "0.1.6"
mg-admin-client = { path = "clients/mg-admin-client" }
nexus-client = { path = "clients/nexus-client" }
nexus-db-model = { path = "nexus/db-model" }
nexus-db-queries = { path = "nexus/db-queries" }
Expand Down
Loading

0 comments on commit a8973b3

Please sign in to comment.