-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: Adds human readable output format to bootc status
Implements a human readable output format as the primary `bootc status` output. Also implements associated testing using specs from systems in various stages of bootc deployment. Co-authored-by: Huijing Hei <[email protected]> Co-authored-by: Yasmin de Souza <[email protected]> Co-authored-by: Steven Presti <[email protected]> Co-authored-by: Luke Yang <[email protected]> Co-authored-by: Joseph Marrero <[email protected]> Signed-off-by: djach7 <[email protected]>
- Loading branch information
Showing
6 changed files
with
260 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: org.containers.bootc/v1alpha1 | ||
kind: BootcHost | ||
metadata: | ||
name: host | ||
spec: | ||
image: | ||
image: quay.io/centos-bootc/centos-bootc:stream9 | ||
transport: registry | ||
bootOrder: default | ||
status: | ||
staged: null | ||
booted: | ||
image: | ||
image: | ||
image: quay.io/centos-bootc/centos-bootc:stream9 | ||
transport: registry | ||
version: stream9.20240807.0 | ||
timestamp: null | ||
imageDigest: sha256:47e5ed613a970b6574bfa954ab25bb6e85656552899aa518b5961d9645102b38 | ||
cachedUpdate: null | ||
incompatible: false | ||
pinned: false | ||
ostree: | ||
checksum: 439f6bd2e2361bee292c1f31840d798c5ac5ba76483b8021dc9f7b0164ac0f48 | ||
deploySerial: 0 | ||
rollback: null | ||
rollbackQueued: false | ||
type: bootcHost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: org.containers.bootc/v1alpha1 | ||
kind: BootcHost | ||
metadata: | ||
name: host | ||
spec: | ||
image: | ||
image: quay.io/centos-bootc/centos-bootc:stream9 | ||
transport: registry | ||
bootOrder: default | ||
status: | ||
staged: | ||
image: | ||
image: | ||
image: quay.io/centos-bootc/centos-bootc:stream9 | ||
transport: registry | ||
version: stream9.20240807.0 | ||
timestamp: null | ||
imageDigest: sha256:47e5ed613a970b6574bfa954ab25bb6e85656552899aa518b5961d9645102b38 | ||
cachedUpdate: null | ||
incompatible: false | ||
pinned: false | ||
store: ostreeContainer | ||
ostree: | ||
checksum: 05cbf6dcae32e7a1c5a0774a648a073a5834a305ca92204b53fb6c281fe49db1 | ||
deploySerial: 0 | ||
booted: | ||
image: null | ||
cachedUpdate: null | ||
incompatible: false | ||
pinned: false | ||
store: null | ||
ostree: | ||
checksum: f9fa3a553ceaaaf30cf85bfe7eed46a822f7b8fd7e14c1e3389cbc3f6d27f791 | ||
deploySerial: 0 | ||
rollback: null | ||
rollbackQueued: false | ||
type: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apiVersion: org.containers.bootc/v1alpha1 | ||
kind: BootcHost | ||
metadata: | ||
name: host | ||
spec: | ||
image: null | ||
bootOrder: default | ||
status: | ||
staged: | ||
image: null | ||
cachedUpdate: null | ||
incompatible: true | ||
pinned: false | ||
store: null | ||
ostree: | ||
checksum: 1c24260fdd1be20f72a4a97a75c582834ee3431fbb0fa8e4f482bb219d633a45 | ||
deploySerial: 0 | ||
booted: | ||
image: null | ||
cachedUpdate: null | ||
incompatible: false | ||
pinned: false | ||
store: null | ||
ostree: | ||
checksum: f9fa3a553ceaaaf30cf85bfe7eed46a822f7b8fd7e14c1e3389cbc3f6d27f791 | ||
deploySerial: 0 | ||
rollback: null | ||
rollbackQueued: false | ||
type: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
apiVersion: org.containers.bootc/v1alpha1 | ||
kind: BootcHost | ||
metadata: | ||
name: host | ||
spec: | ||
image: | ||
image: quay.io/example/someimage:latest | ||
transport: registry | ||
signature: insecure | ||
status: | ||
staged: | ||
image: | ||
image: | ||
image: quay.io/example/someimage:latest | ||
transport: registry | ||
signature: insecure | ||
version: nightly | ||
timestamp: 2023-10-14T19:22:15Z | ||
imageDigest: sha256:16dc2b6256b4ff0d2ec18d2dbfb06d117904010c8cf9732cdb022818cf7a7566 | ||
incompatible: false | ||
pinned: false | ||
ostree: | ||
checksum: 3c6dad657109522e0b2e49bf44b5420f16f0b438b5b9357e5132211cfbad135d | ||
deploySerial: 0 | ||
booted: | ||
image: | ||
image: | ||
image: quay.io/example/someimage:latest | ||
transport: registry | ||
signature: insecure | ||
version: nightly | ||
timestamp: 2023-09-30T19:22:16Z | ||
imageDigest: sha256:736b359467c9437c1ac915acaae952aad854e07eb4a16a94999a48af08c83c34 | ||
incompatible: false | ||
pinned: false | ||
ostree: | ||
checksum: 26836632adf6228d64ef07a26fd3efaf177104efd1f341a2cf7909a3e4e2c72c | ||
deploySerial: 0 | ||
rollback: null | ||
isContainer: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters