-
Notifications
You must be signed in to change notification settings - Fork 62
[inventory] record caboose SIGN value #8021
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
5116503
567731e
d408a44
ba10e73
8ac5b88
8803cde
f659621
531912b
19c5841
f7dd33a
5a0b0f6
a4e13e7
6c1202e
a581adc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1475,6 +1475,7 @@ table! { | |
| git_commit -> Text, | ||
| name -> Text, | ||
| version -> Text, | ||
| sign -> Nullable<Text>, | ||
| } | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -260,6 +260,10 @@ pub struct Caboose { | |
| pub git_commit: String, | ||
| pub name: String, | ||
| pub version: String, | ||
| // It is very unlikely that the sign hash will not be present. | ||
| // As far as we know, it will only be locally built BART signed images. | ||
| // We will be handling those edge cases by setting this field as an option. | ||
|
||
| pub sign: Option<String>, | ||
| } | ||
|
|
||
| impl From<gateway_client::types::SpComponentCaboose> for Caboose { | ||
|
|
@@ -269,6 +273,7 @@ impl From<gateway_client::types::SpComponentCaboose> for Caboose { | |
| git_commit: c.git_commit, | ||
| name: c.name, | ||
| version: c.version, | ||
| sign: c.sign, | ||
| } | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| ALTER TABLE omicron.public.sw_caboose | ||
| ADD COLUMN IF NOT EXISTS sign TEXT; -- nullable |
Uh oh!
There was an error while loading. Please reload this page.