Skip to content

Commit 447598d

Browse files
committed
Merge branch 'affinity-expose-name' into affinity-pagination-cleanup
2 parents 56cc30d + 8dc32a0 commit 447598d

File tree

60 files changed

+1904
-981
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1904
-981
lines changed

.github/buildomat/build-and-test.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ banner ls-apis
7070
ptime -m cargo xtask ls-apis apis &&
7171
ptime -m cargo xtask ls-apis deployment-units &&
7272
ptime -m cargo xtask ls-apis servers &&
73-
ptime -m cargo xtask ls-apis check
73+
ptime -m cargo xtask ls-apis check && \
74+
ptime -m cargo xtask ls-apis adoc > /dev/null
7475
)
7576

7677
#

Cargo.lock

+36-29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/wicketd-client/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ progenitor::generate_api!(
3333
replace = {
3434
AbortUpdateOptions = wicket_common::rack_update::AbortUpdateOptions,
3535
AllowedSourceIps = omicron_common::api::internal::shared::AllowedSourceIps,
36+
ArtifactId = omicron_common::update::ArtifactId,
3637
Baseboard = sled_hardware_types::Baseboard,
3738
BgpAuthKey = wicket_common::rack_setup::BgpAuthKey,
3839
BgpAuthKeyId = wicket_common::rack_setup::BgpAuthKeyId,

common/src/update.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ use schemars::{
1010
gen::SchemaGenerator,
1111
schema::{Schema, SchemaObject},
1212
};
13-
use semver::Version;
1413
use serde::{Deserialize, Serialize};
15-
use tufaceous_artifact::{Artifact, ArtifactKind};
14+
use tufaceous_artifact::{Artifact, ArtifactKind, ArtifactVersion};
1615

1716
/// An identifier for an artifact.
1817
///
@@ -35,7 +34,7 @@ pub struct ArtifactId {
3534
pub name: String,
3635

3736
/// The artifact's version.
38-
pub version: Version,
37+
pub version: ArtifactVersion,
3938

4039
/// The kind of artifact this is.
4140
pub kind: ArtifactKind,

dev-tools/ls-apis/api-manifest.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,7 @@ versioned_how = "server"
255255
client_package_name = "dpd-client"
256256
label = "Dendrite DPD"
257257
server_package_name = "dpd"
258-
# TODO We might need to pick this apart more carefully. DPD invokes and is
259-
# invoked by several different services. It's possible that some of them can
260-
# treat it as server-managed.
261-
versioned_how = "client"
262-
versioned_how_reason = "Sled Agent calling DPD creates a circular dependency"
258+
versioned_how = "server"
263259
notes = """
264260
Dendrite's data plane daemon (`dpd`) is the interface to configure and manage \
265261
the rack switches. It's consumed by sled-agent to get the rack off the \

0 commit comments

Comments
 (0)