Skip to content

Commit

Permalink
Merge branch 'main' into add-resource-limits
Browse files Browse the repository at this point in the history
  • Loading branch information
zephraph committed Dec 11, 2023
2 parents 2c11210 + baf7347 commit 025cd84
Show file tree
Hide file tree
Showing 82 changed files with 3,756 additions and 876 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hakari.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
toolchain: stable
- name: Install cargo-hakari
uses: taiki-e/install-action@d140130aeedb5a946a5769684d32e3a33539f226 # v2
uses: taiki-e/install-action@6ee6c3ab83eab434138dfa928d72abc7eae14793 # v2
with:
tool: cargo-hakari
- name: Check workspace-hack Cargo.toml is up-to-date
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-maghemite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ jobs:
- name: Extract new maghemite package version
run: |
eval $(cat tools/maghemite_openapi_version | grep COMMIT)
eval $(cat tools/maghemite_mg_openapi_version | grep COMMIT)
echo "version=${COMMIT:0:7}" >> $GITHUB_OUTPUT
id: updated

- name: Commit changes
run: |
. ./tools/reflector/helpers.sh
PATHS=("tools/maghemite_openapi_version")
PATHS=("tools/maghemite_ddm_openapi_version" "tools/maghemite_mg_openapi_version" "tools/maghemite_mgd_checksums")
CHANGES=()
commit $TARGET_BRANCH $INT_BRANCH ${{ inputs.reflector_user_id }} PATHS CHANGES
Expand Down
79 changes: 25 additions & 54 deletions Cargo.lock

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

17 changes: 8 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ cookie = "0.18"
criterion = { version = "0.5.1", features = [ "async_tokio" ] }
crossbeam = "0.8"
crossterm = { version = "0.27.0", features = ["event-stream"] }
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "945f040d259ca8013d3fb26f510453da7cd7b1a6" }
crucible-pantry-client = { git = "https://github.com/oxidecomputer/crucible", rev = "945f040d259ca8013d3fb26f510453da7cd7b1a6" }
crucible-smf = { git = "https://github.com/oxidecomputer/crucible", rev = "945f040d259ca8013d3fb26f510453da7cd7b1a6" }
crucible-agent-client = { git = "https://github.com/oxidecomputer/crucible", rev = "fab27994d0bd12725c17d6b478a9bfc2673ad6f4" }
crucible-pantry-client = { git = "https://github.com/oxidecomputer/crucible", rev = "fab27994d0bd12725c17d6b478a9bfc2673ad6f4" }
crucible-smf = { git = "https://github.com/oxidecomputer/crucible", rev = "fab27994d0bd12725c17d6b478a9bfc2673ad6f4" }
curve25519-dalek = "4"
datatest-stable = "0.2.3"
display-error-chain = "0.2.0"
Expand Down Expand Up @@ -263,7 +263,7 @@ oxide-client = { path = "clients/oxide-client" }
oxide-vpc = { git = "https://github.com/oxidecomputer/opte", rev = "24ceba1969269e4d81bda83d8968d7d7f713c46b", features = [ "api", "std" ] }
once_cell = "1.19.0"
openapi-lint = { git = "https://github.com/oxidecomputer/openapi-lint", branch = "main" }
openapiv3 = "2.0.0-rc.1"
openapiv3 = "2.0.0"
# must match samael's crate!
openssl = "0.10"
openssl-sys = "0.9"
Expand Down Expand Up @@ -292,9 +292,9 @@ pretty-hex = "0.4.0"
proc-macro2 = "1.0"
progenitor = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" }
progenitor-client = { git = "https://github.com/oxidecomputer/progenitor", branch = "main" }
bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "3e1d129151c3621d28ead5c6e5760693ba6e7fec" }
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "3e1d129151c3621d28ead5c6e5760693ba6e7fec" }
propolis-mock-server = { git = "https://github.com/oxidecomputer/propolis", rev = "3e1d129151c3621d28ead5c6e5760693ba6e7fec" }
bhyve_api = { git = "https://github.com/oxidecomputer/propolis", rev = "f1571ce141421cff3d3328f43e7722f5df96fdda" }
propolis-client = { git = "https://github.com/oxidecomputer/propolis", rev = "f1571ce141421cff3d3328f43e7722f5df96fdda" }
propolis-mock-server = { git = "https://github.com/oxidecomputer/propolis", rev = "f1571ce141421cff3d3328f43e7722f5df96fdda" }
proptest = "1.4.0"
quote = "1.0"
rand = "0.8.5"
Expand Down Expand Up @@ -322,7 +322,6 @@ serde_path_to_error = "0.1.14"
serde_tokenstream = "0.2"
serde_urlencoded = "0.7.1"
serde_with = "3.4.0"
serial_test = "0.10"
sha2 = "0.10.8"
sha3 = "0.10.8"
shell-words = "1.1.0"
Expand Down Expand Up @@ -365,7 +364,7 @@ textwrap = "0.16.0"
test-strategy = "0.3.1"
thiserror = "1.0"
tofino = { git = "http://github.com/oxidecomputer/tofino", branch = "main" }
tokio = "1.34.0"
tokio = "1.35.0"
tokio-postgres = { version = "0.7", features = [ "with-chrono-0_4", "with-uuid-1" ] }
tokio-stream = "0.1.14"
tokio-tungstenite = "0.20"
Expand Down
16 changes: 8 additions & 8 deletions certificates/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ impl From<CertificateError> for Error {
| InvalidValidationHostname(_)
| ErrorValidatingHostname(_)
| NoDnsNameMatchingHostname { .. }
| UnsupportedPurpose => Error::InvalidValue {
label: String::from("certificate"),
message: DisplayErrorChain::new(&error).to_string(),
},
BadPrivateKey(_) => Error::InvalidValue {
label: String::from("private-key"),
message: DisplayErrorChain::new(&error).to_string(),
},
| UnsupportedPurpose => Error::invalid_value(
"certificate",
DisplayErrorChain::new(&error).to_string(),
),
BadPrivateKey(_) => Error::invalid_value(
"private-key",
DisplayErrorChain::new(&error).to_string(),
),
Unexpected(_) => Error::InternalError {
internal_message: DisplayErrorChain::new(&error).to_string(),
},
Expand Down
Loading

0 comments on commit 025cd84

Please sign in to comment.