Last active
February 15, 2019 20:27
-
-
Save cgwalters/b41d275266f76766a3eabb6d88b2ea99 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
``` | |
$ oc adm release new -n openshift --server https://api.ci.openshift.org \ | |
--from-release=$(oc get clusterversion -o jsonpath='{.items[0].status.desired.image}') \ | |
--to-image quay.io/cgwalters/ostest:latest \ | |
machine-os-content=registry.svc.ci.openshift.org/rhcos/maipo@sha256:9cbbb97c56593c3ed703adac0cbc887f4f8e568812a940edd4421f91385142ba | |
``` | |
``` | |
$ oc adm upgrade --to-image=quay.io/cgwalters/ostest:latest | |
``` | |
``` | |
$ oc get clusterversion | |
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS | |
version 0.0.1-2019-02-15-200336 True False 6m46s Cluster version is 0.0.1-2019-02-15-200336 | |
$ oc describe clusterversion | |
Name: version | |
Namespace: | |
Labels: <none> | |
Annotations: <none> | |
API Version: config.openshift.io/v1 | |
Kind: ClusterVersion | |
Metadata: | |
Creation Timestamp: 2019-02-15T19:37:32Z | |
Generation: 3 | |
Resource Version: 24101 | |
Self Link: /apis/config.openshift.io/v1/clusterversions/version | |
UID: 235a29d7-3159-11e9-ade7-028c7b421ffa | |
Spec: | |
Channel: fast | |
Cluster ID: f146cedb-27b9-4bf3-8803-00fdf57801bb | |
Desired Update: | |
Image: quay.io/cgwalters/ostest:latest | |
Version: | |
Upstream: | |
Status: | |
Available Updates: <nil> | |
Conditions: | |
Last Transition Time: 2019-02-15T20:00:36Z | |
Message: Done applying 0.0.1-2019-02-15-200336 | |
Status: True | |
Type: Available | |
Last Transition Time: 2019-02-15T20:00:36Z | |
Status: False | |
Type: Failing | |
Last Transition Time: 2019-02-15T20:06:41Z | |
Message: Cluster version is 0.0.1-2019-02-15-200336 | |
Status: False | |
Type: Progressing | |
Last Transition Time: 2019-02-15T19:37:45Z | |
Message: Unable to retrieve available updates: unknown version 0.0.1-2019-02-15-200336 | |
Reason: RemoteFailed | |
Status: False | |
Type: RetrievedUpdates | |
Desired: | |
Image: quay.io/cgwalters/ostest:latest | |
Version: 0.0.1-2019-02-15-200336 | |
History: | |
Completion Time: 2019-02-15T20:06:41Z | |
Image: quay.io/cgwalters/ostest:latest | |
Started Time: 2019-02-15T20:06:11Z | |
State: Completed | |
Version: 0.0.1-2019-02-15-200336 | |
Completion Time: 2019-02-15T20:06:11Z | |
Image: quay.io/cgwalters/ostest:latest | |
Started Time: 2019-02-15T20:05:21Z | |
State: Partial | |
Version: 0.0.1-2019-02-15-200336 | |
Completion Time: 2019-02-15T20:05:21Z | |
Image: registry.svc.ci.openshift.org/openshift/origin-release@sha256:a1d83e973b2bda35e98ef28a957124bd7417853881f3cdf8b2a5b153fe37e0bd | |
Started Time: 2019-02-15T19:37:45Z | |
State: Completed | |
Version: 4.0.0-0.alpha-2019-02-15-153712 | |
Observed Generation: 2 | |
Version Hash: -Qso5axBHhk= | |
Events: <none> | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment