From dc0f157b493700559d0f73d1666bd811526c96cd Mon Sep 17 00:00:00 2001 From: Piyush Jena Date: Fri, 17 Jan 2025 23:59:39 +0000 Subject: [PATCH] hack --- sources/Cargo.lock | 83 ++++++++++++++++++++++++++++------------------ sources/Cargo.toml | 19 ++++++----- sources/deny.toml | 1 + 3 files changed, 63 insertions(+), 40 deletions(-) diff --git a/sources/Cargo.lock b/sources/Cargo.lock index 4bb6f86f4..dcd8bd9b6 100644 --- a/sources/Cargo.lock +++ b/sources/Cargo.lock @@ -1244,7 +1244,7 @@ dependencies = [ [[package]] name = "bottlerocket-model-derive" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "darling 0.20.10", "quote", @@ -1253,8 +1253,8 @@ dependencies = [ [[package]] name = "bottlerocket-modeled-types" -version = "0.7.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +version = "0.8.0" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "base64 0.22.1", "bottlerocket-model-derive", @@ -1289,7 +1289,7 @@ dependencies = [ [[package]] name = "bottlerocket-scalar" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "serde", "serde_plain", @@ -1298,7 +1298,7 @@ dependencies = [ [[package]] name = "bottlerocket-scalar-derive" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-scalar", "darling 0.20.10", @@ -1322,8 +1322,8 @@ dependencies = [ [[package]] name = "bottlerocket-settings-models" -version = "0.7.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +version = "0.8.0" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -1373,7 +1373,7 @@ dependencies = [ [[package]] name = "bottlerocket-settings-sdk" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "argh", "bottlerocket-template-helper", @@ -1386,7 +1386,7 @@ dependencies = [ [[package]] name = "bottlerocket-string-impls-for" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "serde", ] @@ -1394,7 +1394,7 @@ dependencies = [ [[package]] name = "bottlerocket-template-helper" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "darling 0.20.10", "proc-macro2", @@ -3458,6 +3458,25 @@ dependencies = [ "libc", ] +[[package]] +name = "nvidia-migmanager" +version = "0.1.0" +dependencies = [ + "base64 0.22.1", + "bottlerocket-modeled-types", + "bottlerocket-settings-models", + "constants", + "generate-readme", + "log", + "pciclient", + "serde", + "serde_json", + "simplelog", + "snafu", + "tempfile", + "toml", +] + [[package]] name = "object" version = "0.36.5" @@ -4415,7 +4434,7 @@ dependencies = [ [[package]] name = "settings-extension-autoscaling" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4428,7 +4447,7 @@ dependencies = [ [[package]] name = "settings-extension-aws" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4441,7 +4460,7 @@ dependencies = [ [[package]] name = "settings-extension-bootstrap-commands" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4455,7 +4474,7 @@ dependencies = [ [[package]] name = "settings-extension-bootstrap-containers" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4468,7 +4487,7 @@ dependencies = [ [[package]] name = "settings-extension-cloudformation" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4481,7 +4500,7 @@ dependencies = [ [[package]] name = "settings-extension-container-registry" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4494,7 +4513,7 @@ dependencies = [ [[package]] name = "settings-extension-container-runtime" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4507,7 +4526,7 @@ dependencies = [ [[package]] name = "settings-extension-dns" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4520,7 +4539,7 @@ dependencies = [ [[package]] name = "settings-extension-ecs" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4533,7 +4552,7 @@ dependencies = [ [[package]] name = "settings-extension-host-containers" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4546,7 +4565,7 @@ dependencies = [ [[package]] name = "settings-extension-kernel" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4559,7 +4578,7 @@ dependencies = [ [[package]] name = "settings-extension-kubelet-device-plugins" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4572,7 +4591,7 @@ dependencies = [ [[package]] name = "settings-extension-kubernetes" version = "0.2.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4586,7 +4605,7 @@ dependencies = [ [[package]] name = "settings-extension-metrics" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4599,7 +4618,7 @@ dependencies = [ [[package]] name = "settings-extension-motd" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-settings-sdk", "bottlerocket-string-impls-for", @@ -4611,7 +4630,7 @@ dependencies = [ [[package]] name = "settings-extension-network" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4624,7 +4643,7 @@ dependencies = [ [[package]] name = "settings-extension-ntp" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4637,7 +4656,7 @@ dependencies = [ [[package]] name = "settings-extension-nvidia-container-runtime" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4650,7 +4669,7 @@ dependencies = [ [[package]] name = "settings-extension-oci-defaults" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4664,7 +4683,7 @@ dependencies = [ [[package]] name = "settings-extension-oci-hooks" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4677,7 +4696,7 @@ dependencies = [ [[package]] name = "settings-extension-pki" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", @@ -4690,7 +4709,7 @@ dependencies = [ [[package]] name = "settings-extension-updates" version = "0.1.0" -source = "git+https://github.com/bottlerocket-os/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.7.0#2a7c0986846eb98122e6812634d0526988a72c64" +source = "git+https://github.com/piyush-jena/bottlerocket-settings-sdk?tag=bottlerocket-settings-models-v0.8.0#ef6e3dceb78b708c65bdb1f19e3bc5b6c110add8" dependencies = [ "bottlerocket-model-derive", "bottlerocket-modeled-types", diff --git a/sources/Cargo.toml b/sources/Cargo.toml index 0ad745fd0..ebd8ef325 100644 --- a/sources/Cargo.toml +++ b/sources/Cargo.toml @@ -55,6 +55,8 @@ members = [ "netdog", + "nvidia-migmanager", + "cfsignal", "logdog", @@ -91,6 +93,7 @@ datastore = { version = "0.1", path = "api/datastore" } dogtag = { version = "0.1", path = "dogtag" } early-boot-config-provider = { version = "0.1", path = "early-boot-config/early-boot-config-provider" } generate-readme = { version = "0.1", path = "generate-readme" } +ghostdog = { version = "0.1", path = "ghostdog" } imdsclient = { version = "0.1", path = "imdsclient" } models = { version = "0.1", path = "models" } parse-datetime = { version = "0.1", path = "parse-datetime" } @@ -210,14 +213,14 @@ x509-parser = "0.16" base64 = "0.22" [workspace.dependencies.bottlerocket-modeled-types] -git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk" -tag = "bottlerocket-settings-models-v0.7.0" -version = "0.7.0" +git = "https://github.com/piyush-jena/bottlerocket-settings-sdk" +tag = "bottlerocket-settings-models-v0.8.0" +version = "0.8.0" [workspace.dependencies.bottlerocket-settings-models] -git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk" -tag = "bottlerocket-settings-models-v0.7.0" -version = "0.7.0" +git = "https://github.com/piyush-jena/bottlerocket-settings-sdk" +tag = "bottlerocket-settings-models-v0.8.0" +version = "0.8.0" [workspace.dependencies.bottlerocket-settings-plugin] git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk" @@ -225,8 +228,8 @@ tag = "bottlerocket-settings-plugin-v0.1.0" version = "0.1.0" [workspace.dependencies.settings-extension-oci-defaults] -git = "https://github.com/bottlerocket-os/bottlerocket-settings-sdk" -tag = "bottlerocket-settings-models-v0.7.0" +git = "https://github.com/piyush-jena/bottlerocket-settings-sdk" +tag = "bottlerocket-settings-models-v0.8.0" version = "0.1.0" [profile.release] diff --git a/sources/deny.toml b/sources/deny.toml index 2e256c4d5..d26df643f 100644 --- a/sources/deny.toml +++ b/sources/deny.toml @@ -93,4 +93,5 @@ allow-git = [ # We will allow it as an exception until the following is resolved: # https://github.com/bottlerocket-os/bottlerocket-settings-sdk/issues/18 "https://github.com/bottlerocket-os/bottlerocket-settings-sdk", + "https://github.com/piyush-jena/bottlerocket-settings-sdk", ]