@@ -115,7 +115,7 @@ func manifestSchema1FromComponentsLikeFixture(t *testing.T) genericManifest {
115
115
{BlobSum : "sha256:4aa565ad8b7a87248163ce7dba1dd3894821aac97e846b932ff6b8ef9a8a508a" },
116
116
{BlobSum : "sha256:9cadd93b16ff2a0c51ac967ea2abfadfac50cfa3af8b5bf983d89b8f8647f3e4" },
117
117
}, []manifest.Schema1History {
118
- {V1Compatibility : "{\" architecture\" :\" amd64\" ,\" config\" :{\" Hostname\" :\" 9428cdea83ba\" ,\" Domainname\" :\" \" ,\" User\" :\" nova\" ,\" AttachStdin\" :false,\" AttachStdout\" :false,\" AttachStderr\" :false,\" Tty\" :false,\" OpenStdin\" :false,\" StdinOnce\" :false,\" Env\" :[\" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" ,\" container=oci\" ,\" KOLLA_BASE_DISTRO=rhel\" ,\" KOLLA_INSTALL_TYPE=binary\" ,\" KOLLA_INSTALL_METATYPE=rhos\" ,\" PS1=$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ \" ],\" Cmd\" :[\" kolla_start\" ],\" Healthcheck\" :{\" Test\" :[\" CMD-SHELL\" ,\" /openstack/healthcheck\" ]},\" ArgsEscaped\" :true,\" Image\" :\" 3bf9afe371220b1eb1c57bec39b5a99ba976c36c92d964a1c014584f95f51e33\" ,\" Volumes\" :null,\" WorkingDir\" :\" \" ,\" Entrypoint\" :null,\" OnBuild\" :[],\" Labels\" :{\" Kolla-SHA\" :\" 5.0.0-39-g6f1b947b\" ,\" architecture\" :\" x86_64\" ,\" authoritative-source-url\" :\" registry.access.redhat.com\" ,\" build-date\" :\" 2018-01-25T00:32:27.807261\" ,\" com.redhat.build-host\" :\" ip-10-29-120-186.ec2.internal\" ,\" com.redhat.component\" :\" openstack-nova-api-docker\" ,\" description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" distribution-scope\" :\" public\" ,\" io.k8s.description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.k8s.display-name\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.openshift.tags\" :\" rhosp osp openstack osp-12.0\" ,\" kolla_version\" :\" stable/pike\" ,\" name\" :\" rhosp12/openstack-nova-api\" ,\" release\" :\" 20180124.1\" ,\" summary\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" tripleo-common_version\" :\" 7.6.3-23-g4891cfe\" ,\" url\" :\" https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp12/openstack-nova-api/images/12.0-20180124.1\" ,\" vcs-ref\" :\" 9b31243b7b448eb2fc3b6e2c96935b948f806e98\" ,\" vcs-type\" :\" git\" ,\" vendor\" :\" Red Hat, Inc.\" ,\" version\" :\" 12.0\" ,\" version-release\" :\" 12.0-20180124.1\" }},\" container_config\" :{\" Hostname\" :\" 9428cdea83ba\" ,\" Domainname\" :\" \" ,\" User\" :\" nova\" ,\" AttachStdin\" :false,\" AttachStdout\" :false,\" AttachStderr\" :false,\" Tty\" :false,\" OpenStdin\" :false,\" StdinOnce\" :false,\" Env\" :[\" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" ,\" container=oci\" ,\" KOLLA_BASE_DISTRO=rhel\" ,\" KOLLA_INSTALL_TYPE=binary\" ,\" KOLLA_INSTALL_METATYPE=rhos\" ,\" PS1=$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ \" ],\" Cmd\" :[\" /bin/sh\" ,\" -c\" ,\" #(nop) \" ,\" USER [nova]\" ],\" Healthcheck\" :{\" Test\" :[\" CMD-SHELL\" ,\" /openstack/healthcheck\" ]},\" ArgsEscaped\" :true,\" Image\" :\" sha256:274ce4dcbeb09fa173a5d50203ae5cec28f456d1b8b59477b47a42bd74d068bf\" ,\" Volumes\" :null,\" WorkingDir\" :\" \" ,\" Entrypoint\" :null,\" OnBuild\" :[],\" Labels\" :{\" Kolla-SHA\" :\" 5.0.0-39-g6f1b947b\" ,\" architecture\" :\" x86_64\" ,\" authoritative-source-url\" :\" registry.access.redhat.com\" ,\" build-date\" :\" 2018-01-25T00:32:27.807261\" ,\" com.redhat.build-host\" :\" ip-10-29-120-186.ec2.internal\" ,\" com.redhat.component\" :\" openstack-nova-api-docker\" ,\" description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" distribution-scope\" :\" public\" ,\" io.k8s.description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.k8s.display-name\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.openshift.tags\" :\" rhosp osp openstack osp-12.0\" ,\" kolla_version\" :\" stable/pike\" ,\" name\" :\" rhosp12/openstack-nova-api\" ,\" release\" :\" 20180124.1\" ,\" summary\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" tripleo-common_version\" :\" 7.6.3-23-g4891cfe\" ,\" url\" :\" https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp12/openstack-nova-api/images/12.0-20180124.1\" ,\" vcs-ref\" :\" 9b31243b7b448eb2fc3b6e2c96935b948f806e98\" ,\" vcs-type\" :\" git\" ,\" vendor\" :\" Red Hat, Inc.\" ,\" version\" :\" 12.0\" ,\" version-release\" :\" 12.0-20180124.1\" }},\" created\" :\" 2018-01-25T00:37:48.268558Z\" ,\" docker_version\" :\" 1.12.6\" ,\" id\" :\" 486cbbaf6c6f7d890f9368c86eda3f4ebe3ae982b75098037eb3c3cc6f0e0cdf\" ,\" os\" :\" linux\" ,\" parent\" :\" 20d0c9c79f9fee83c4094993335b9b321112f13eef60ed9ec1599c7593dccf20\" }" },
118
+ {V1Compatibility : "{\" architecture\" :\" amd64\" ,\" comment\" : \" test comment\" ,\" config\" :{\" Hostname\" :\" 9428cdea83ba\" ,\" Domainname\" :\" \" ,\" User\" :\" nova\" ,\" AttachStdin\" :false,\" AttachStdout\" :false,\" AttachStderr\" :false,\" Tty\" :false,\" OpenStdin\" :false,\" StdinOnce\" :false,\" Env\" :[\" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" ,\" container=oci\" ,\" KOLLA_BASE_DISTRO=rhel\" ,\" KOLLA_INSTALL_TYPE=binary\" ,\" KOLLA_INSTALL_METATYPE=rhos\" ,\" PS1=$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ \" ],\" Cmd\" :[\" kolla_start\" ],\" Healthcheck\" :{\" Test\" :[\" CMD-SHELL\" ,\" /openstack/healthcheck\" ]},\" ArgsEscaped\" :true,\" Image\" :\" 3bf9afe371220b1eb1c57bec39b5a99ba976c36c92d964a1c014584f95f51e33\" ,\" Volumes\" :null,\" WorkingDir\" :\" \" ,\" Entrypoint\" :null,\" OnBuild\" :[],\" Labels\" :{\" Kolla-SHA\" :\" 5.0.0-39-g6f1b947b\" ,\" architecture\" :\" x86_64\" ,\" authoritative-source-url\" :\" registry.access.redhat.com\" ,\" build-date\" :\" 2018-01-25T00:32:27.807261\" ,\" com.redhat.build-host\" :\" ip-10-29-120-186.ec2.internal\" ,\" com.redhat.component\" :\" openstack-nova-api-docker\" ,\" description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" distribution-scope\" :\" public\" ,\" io.k8s.description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.k8s.display-name\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.openshift.tags\" :\" rhosp osp openstack osp-12.0\" ,\" kolla_version\" :\" stable/pike\" ,\" name\" :\" rhosp12/openstack-nova-api\" ,\" release\" :\" 20180124.1\" ,\" summary\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" tripleo-common_version\" :\" 7.6.3-23-g4891cfe\" ,\" url\" :\" https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp12/openstack-nova-api/images/12.0-20180124.1\" ,\" vcs-ref\" :\" 9b31243b7b448eb2fc3b6e2c96935b948f806e98\" ,\" vcs-type\" :\" git\" ,\" vendor\" :\" Red Hat, Inc.\" ,\" version\" :\" 12.0\" ,\" version-release\" :\" 12.0-20180124.1\" }},\" container_config\" :{\" Hostname\" :\" 9428cdea83ba\" ,\" Domainname\" :\" \" ,\" User\" :\" nova\" ,\" AttachStdin\" :false,\" AttachStdout\" :false,\" AttachStderr\" :false,\" Tty\" :false,\" OpenStdin\" :false,\" StdinOnce\" :false,\" Env\" :[\" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\" ,\" container=oci\" ,\" KOLLA_BASE_DISTRO=rhel\" ,\" KOLLA_INSTALL_TYPE=binary\" ,\" KOLLA_INSTALL_METATYPE=rhos\" ,\" PS1=$(tput bold)($(printenv KOLLA_SERVICE_NAME))$(tput sgr0)[$(id -un)@$(hostname -s) $(pwd)]$ \" ],\" Cmd\" :[\" /bin/sh\" ,\" -c\" ,\" #(nop) \" ,\" USER [nova]\" ],\" Healthcheck\" :{\" Test\" :[\" CMD-SHELL\" ,\" /openstack/healthcheck\" ]},\" ArgsEscaped\" :true,\" Image\" :\" sha256:274ce4dcbeb09fa173a5d50203ae5cec28f456d1b8b59477b47a42bd74d068bf\" ,\" Volumes\" :null,\" WorkingDir\" :\" \" ,\" Entrypoint\" :null,\" OnBuild\" :[],\" Labels\" :{\" Kolla-SHA\" :\" 5.0.0-39-g6f1b947b\" ,\" architecture\" :\" x86_64\" ,\" authoritative-source-url\" :\" registry.access.redhat.com\" ,\" build-date\" :\" 2018-01-25T00:32:27.807261\" ,\" com.redhat.build-host\" :\" ip-10-29-120-186.ec2.internal\" ,\" com.redhat.component\" :\" openstack-nova-api-docker\" ,\" description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" distribution-scope\" :\" public\" ,\" io.k8s.description\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.k8s.display-name\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" io.openshift.tags\" :\" rhosp osp openstack osp-12.0\" ,\" kolla_version\" :\" stable/pike\" ,\" name\" :\" rhosp12/openstack-nova-api\" ,\" release\" :\" 20180124.1\" ,\" summary\" :\" Red Hat OpenStack Platform 12.0 nova-api\" ,\" tripleo-common_version\" :\" 7.6.3-23-g4891cfe\" ,\" url\" :\" https://access.redhat.com/containers/#/registry.access.redhat.com/rhosp12/openstack-nova-api/images/12.0-20180124.1\" ,\" vcs-ref\" :\" 9b31243b7b448eb2fc3b6e2c96935b948f806e98\" ,\" vcs-type\" :\" git\" ,\" vendor\" :\" Red Hat, Inc.\" ,\" version\" :\" 12.0\" ,\" version-release\" :\" 12.0-20180124.1\" }},\" created\" :\" 2018-01-25T00:37:48.268558Z\" ,\" docker_version\" :\" 1.12.6\" ,\" id\" :\" 486cbbaf6c6f7d890f9368c86eda3f4ebe3ae982b75098037eb3c3cc6f0e0cdf\" ,\" os\" :\" linux\" ,\" parent\" :\" 20d0c9c79f9fee83c4094993335b9b321112f13eef60ed9ec1599c7593dccf20\" }" },
119
119
{V1Compatibility : "{\" id\" :\" 20d0c9c79f9fee83c4094993335b9b321112f13eef60ed9ec1599c7593dccf20\" ,\" parent\" :\" 47a1014db2116c312736e11adcc236fb77d0ad32457f959cbaec0c3fc9ab1caa\" ,\" created\" :\" 2018-01-24T23:08:25.300741Z\" ,\" container_config\" :{\" Cmd\" :[\" /bin/sh -c rm -f '/etc/yum.repos.d/rhel-7.4.repo' '/etc/yum.repos.d/rhos-optools-12.0.repo' '/etc/yum.repos.d/rhos-12.0-container-yum-need_images.repo'\" ]}}" },
120
120
{V1Compatibility : "{\" id\" :\" 47a1014db2116c312736e11adcc236fb77d0ad32457f959cbaec0c3fc9ab1caa\" ,\" parent\" :\" cec66cab6c92a5f7b50ef407b80b83840a0d089b9896257609fd01de3a595824\" ,\" created\" :\" 2018-01-24T22:00:57.807862Z\" ,\" container_config\" :{\" Cmd\" :[\" /bin/sh -c rm -f '/etc/yum.repos.d/rhel-7.4.repo' '/etc/yum.repos.d/rhos-optools-12.0.repo' '/etc/yum.repos.d/rhos-12.0-container-yum-need_images.repo'\" ]}}" },
121
121
{V1Compatibility : "{\" id\" :\" cec66cab6c92a5f7b50ef407b80b83840a0d089b9896257609fd01de3a595824\" ,\" parent\" :\" 0e7730eccb3d014b33147b745d771bc0e38a967fd932133a6f5325a3c84282e2\" ,\" created\" :\" 2018-01-24T21:40:32.494686Z\" ,\" container_config\" :{\" Cmd\" :[\" /bin/sh -c rm -f '/etc/yum.repos.d/rhel-7.4.repo' '/etc/yum.repos.d/rhos-optools-12.0.repo' '/etc/yum.repos.d/rhos-12.0-container-yum-need_images.repo'\" ]}}" },
@@ -268,6 +268,7 @@ func TestManifestSchema1Inspect(t *testing.T) {
268
268
assert .Equal (t , types.ImageInspectInfo {
269
269
Tag : "latest" ,
270
270
Created : & created ,
271
+ Comment : "test comment" ,
271
272
DockerVersion : "1.12.6" ,
272
273
Labels : map [string ]string {
273
274
"Kolla-SHA" : "5.0.0-39-g6f1b947b" ,
0 commit comments