Repository: libcloud Updated Branches: refs/heads/trunk 0f67da81a -> 4a96fc3e1
moved docker test fixtures to new location Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/6dfe9404 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/6dfe9404 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/6dfe9404 Branch: refs/heads/trunk Commit: 6dfe9404aa8cef4637687d966e39672745a48e93 Parents: f18f653 Author: Anthony Shaw <anthonys...@apache.org> Authored: Fri Jun 24 10:59:16 2016 +1000 Committer: Anthony Shaw <anthonys...@apache.org> Committed: Fri Jun 24 10:59:16 2016 +1000 ---------------------------------------------------------------------- .../fixtures/docker/container_a68.json | 163 --------------- .../container/fixtures/docker/containers.json | 143 ------------- .../fixtures/docker/create_container.json | 4 - .../container/fixtures/docker/create_image.json | 1 - .../test/container/fixtures/docker/images.json | 50 ----- .../docker/linux_121/container_a68.json | 163 +++++++++++++++ .../fixtures/docker/linux_121/containers.json | 143 +++++++++++++ .../docker/linux_121/create_container.json | 4 + .../fixtures/docker/linux_121/create_image.json | 1 + .../fixtures/docker/linux_121/images.json | 50 +++++ .../fixtures/docker/linux_121/logs.txt | 1 + .../fixtures/docker/linux_121/search.json | 202 +++++++++++++++++++ .../fixtures/docker/linux_121/version.json | 10 + .../test/container/fixtures/docker/logs.txt | 1 - .../test/container/fixtures/docker/search.json | 202 ------------------- .../test/container/fixtures/docker/version.json | 10 - 16 files changed, 574 insertions(+), 574 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/container_a68.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/container_a68.json b/libcloud/test/container/fixtures/docker/container_a68.json deleted file mode 100644 index 88282ec..0000000 --- a/libcloud/test/container/fixtures/docker/container_a68.json +++ /dev/null @@ -1,163 +0,0 @@ -{ - "Id": "a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303", - "Created": "2015-12-23T01:05:40.56937184Z", - "Path": "/entrypoint.sh", - "Args": [ - "None" - ], - "State": { - "Status": "exited", - "Running": false, - "Paused": false, - "Restarting": false, - "OOMKilled": false, - "Dead": false, - "Pid": 0, - "ExitCode": 127, - "Error": "", - "StartedAt": "2015-12-23T01:06:29.018395755Z", - "FinishedAt": "2015-12-23T01:06:30.144487212Z" - }, - "Image": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", - "ResolvConfPath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/resolv.conf", - "HostnamePath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/hostname", - "HostsPath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/hosts", - "LogPath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303-json.log", - "Name": "/gigantic_goldberg", - "RestartCount": 0, - "Driver": "aufs", - "ExecDriver": "native-0.2", - "MountLabel": "", - "ProcessLabel": "", - "AppArmorProfile": "", - "ExecIDs": null, - "HostConfig": { - "Binds": null, - "ContainerIDFile": "", - "LxcConf": null, - "Memory": 0, - "MemoryReservation": 0, - "MemorySwap": 0, - "KernelMemory": 0, - "CpuShares": 0, - "CpuPeriod": 0, - "CpusetCpus": "", - "CpusetMems": "", - "CpuQuota": 0, - "BlkioWeight": 0, - "OomKillDisable": false, - "MemorySwappiness": null, - "Privileged": false, - "PortBindings": {}, - "Links": null, - "PublishAllPorts": true, - "Dns": null, - "DnsOptions": null, - "DnsSearch": null, - "ExtraHosts": null, - "VolumesFrom": null, - "Devices": null, - "NetworkMode": "default", - "IpcMode": "", - "PidMode": "", - "UTSMode": "", - "CapAdd": null, - "CapDrop": null, - "GroupAdd": null, - "RestartPolicy": { - "Name": "", - "MaximumRetryCount": 0 - }, - "SecurityOpt": null, - "ReadonlyRootfs": false, - "Ulimits": null, - "LogConfig": { - "Type": "json-file", - "Config": {} - }, - "CgroupParent": "", - "ConsoleSize": [ - 0, - 0 - ], - "VolumeDriver": "" - }, - "GraphDriver": { - "Name": "aufs", - "Data": null - }, - "Mounts": [ - { - "Name": "b1a70d8e1ebd7d5865e59ff91cf06357e3ef4d829af44c31675c2d0a24894444", - "Source": "/var/lib/docker/volumes/b1a70d8e1ebd7d5865e59ff91cf06357e3ef4d829af44c31675c2d0a24894444/_data", - "Destination": "/data/db", - "Driver": "local", - "Mode": "", - "RW": true - } - ], - "Config": { - "Hostname": "a68c1872c746", - "Domainname": "", - "User": "", - "AttachStdin": true, - "AttachStdout": true, - "AttachStderr": true, - "ExposedPorts": { - "27017/tcp": {} - }, - "Tty": true, - "OpenStdin": true, - "StdinOnce": false, - "Env": [ - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", - "GPG_KEYS=DFFA3DCF326E302C4787673A01C4E7FAAAB2461C \t42F3E95A2C4F08279C4960ADD68FA50FEA312927", - "MONGO_MAJOR=3.2", - "MONGO_VERSION=3.2.0" - ], - "Cmd": [ - "None" - ], - "Image": "mongo:latest", - "Volumes": { - "/data/db": {} - }, - "WorkingDir": "", - "Entrypoint": [ - "/entrypoint.sh" - ], - "OnBuild": null, - "Labels": {} - }, - "NetworkSettings": { - "Bridge": "", - "SandboxID": "", - "HairpinMode": false, - "LinkLocalIPv6Address": "", - "LinkLocalIPv6PrefixLen": 0, - "Ports": null, - "SandboxKey": "", - "SecondaryIPAddresses": null, - "SecondaryIPv6Addresses": null, - "EndpointID": "", - "Gateway": "", - "GlobalIPv6Address": "", - "GlobalIPv6PrefixLen": 0, - "IPAddress": "", - "IPPrefixLen": 0, - "IPv6Gateway": "", - "MacAddress": "", - "Networks": { - "bridge": { - "EndpointID": "", - "Gateway": "", - "IPAddress": "", - "IPPrefixLen": 0, - "IPv6Gateway": "", - "GlobalIPv6Address": "", - "GlobalIPv6PrefixLen": 0, - "MacAddress": "" - } - } - } -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/containers.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/containers.json b/libcloud/test/container/fixtures/docker/containers.json deleted file mode 100644 index 3228e3f..0000000 --- a/libcloud/test/container/fixtures/docker/containers.json +++ /dev/null @@ -1,143 +0,0 @@ -[ - { - "Id": "160936dc54fe8c332095676d9379003534b8cddd7565fa63018996e06dae1b6b", - "Names": [ - "/hubot" - ], - "Image": "stackstorm/hubot", - "ImageID": "05c5761707b3970a9bf17c00886176add79ac087b4d6a500ac87985bf8ec07b1", - "Command": "/app/bin/hubot", - "Created": 1450130345, - "Ports": [], - "Labels": {}, - "Status": "Exited (137) 11 minutes ago", - "HostConfig": { - "NetworkMode": "bridge" - } - }, - { - "Id": "f159072147ee7d253e21ec8fd2778a27ac29d7fc5f865641900d16665b46215a", - "Names": [ - "/mongo" - ], - "Image": "mongo", - "ImageID": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", - "Command": "/entrypoint.sh mongod", - "Created": 1450130332, - "Ports": [], - "Labels": {}, - "Status": "Exited (14) 2 hours ago", - "HostConfig": { - "NetworkMode": "bridge" - } - }, - { - "Id": "e687b33f9ced0153104308e6ff7a2138b8cc026fa4085d31da831a02ed0dc03d", - "Names": [ - "/rabbitmq" - ], - "Image": "rabbitmq", - "ImageID": "448afeda0388b18c6f3be18c7aaece29e0f8dbdfab30364e678c382bab1037c5", - "Command": "/docker-entrypoint.sh rabbitmq-server", - "Created": 1450130331, - "Ports": [ - { - "IP": "0.0.0.0", - "PrivatePort": 5672, - "PublicPort": 5672, - "Type": "tcp" - }, - { - "PrivatePort": 25672, - "Type": "tcp" - }, - { - "PrivatePort": 4369, - "Type": "tcp" - }, - { - "PrivatePort": 5671, - "Type": "tcp" - } - ], - "Labels": {}, - "Status": "Exited (137) 11 minutes ago", - "HostConfig": { - "NetworkMode": "bridge" - } - }, - { - "Id": "b82c16423c6dbb7cd1564f8fc413c822df45cc0c7aa35c24683a1329af6ec102", - "Names": [ - "/fervent_bhabha" - ], - "Image": "rabbitmq", - "ImageID": "448afeda0388b18c6f3be18c7aaece29e0f8dbdfab30364e678c382bab1037c5", - "Command": "/docker-entrypoint.sh rabbitmq-server", - "Created": 1450059506, - "Ports": [ - { - "PrivatePort": 4369, - "Type": "tcp" - }, - { - "PrivatePort": 5671, - "Type": "tcp" - }, - { - "IP": "0.0.0.0", - "PrivatePort": 5672, - "PublicPort": 5672, - "Type": "tcp" - }, - { - "PrivatePort": 25672, - "Type": "tcp" - } - ], - "Labels": {}, - "Status": "Dead", - "HostConfig": { - "NetworkMode": "bridge" - } - }, - { - "Id": "8cc5481aa4621578f8dd2c942d74e27e75170c6899ea012db7a44ea5f1ba2069", - "Names": [ - "/suspicious_swirles" - ], - "Image": "mongo", - "ImageID": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", - "Command": "/entrypoint.sh mongod", - "Created": 1450059505, - "Ports": [ - { - "IP": "0.0.0.0", - "PrivatePort": 27017, - "PublicPort": 27017, - "Type": "tcp" - } - ], - "Labels": {}, - "Status": "Dead", - "HostConfig": { - "NetworkMode": "bridge" - } - }, - { - "Id": "598b3e4d15a406390baaa2947f910e7b52b810a4120028692ed309247f2e8346", - "Names": [ - "/mongodata" - ], - "Image": "mongo", - "ImageID": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", - "Command": "/entrypoint.sh /bin/true", - "Created": 1449637213, - "Ports": [], - "Labels": {}, - "Status": "Created", - "HostConfig": { - "NetworkMode": "default" - } - } -] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/create_container.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/create_container.json b/libcloud/test/container/fixtures/docker/create_container.json deleted file mode 100644 index e05a941..0000000 --- a/libcloud/test/container/fixtures/docker/create_container.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "Id": "a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303", - "Warnings": null -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/create_image.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/create_image.json b/libcloud/test/container/fixtures/docker/create_image.json deleted file mode 100644 index 4509f55..0000000 --- a/libcloud/test/container/fixtures/docker/create_image.json +++ /dev/null @@ -1 +0,0 @@ -{"status":"Download complete","progressDetail":{},"id":"cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/images.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/images.json b/libcloud/test/container/fixtures/docker/images.json deleted file mode 100644 index ac04cf3..0000000 --- a/libcloud/test/container/fixtures/docker/images.json +++ /dev/null @@ -1,50 +0,0 @@ -[ - { - "Id": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", - "ParentId": "3e408cde1b7f6276b9ead7b8111d80a367f9223dfbbd4102ea89a5fc42947960", - "RepoTags": [ - "mongo:latest" - ], - "RepoDigests": [], - "Created": 1449618009, - "Size": 0, - "VirtualSize": 316957672, - "Labels": null - }, - { - "Id": "05c5761707b3970a9bf17c00886176add79ac087b4d6a500ac87985bf8ec07b1", - "ParentId": "be7965ce1bef5d2e3b27efb3f4fe2253683bc7144d2ebae614e9e7155066c833", - "RepoTags": [ - "stackstorm/hubot:latest" - ], - "RepoDigests": [], - "Created": 1449466772, - "Size": 0, - "VirtualSize": 550102318, - "Labels": {} - }, - { - "Id": "448afeda0388b18c6f3be18c7aaece29e0f8dbdfab30364e678c382bab1037c5", - "ParentId": "67edbf589f9af9b2c6f87e8481ec0299c50bfce5f9b98b95316c7235494c7bea", - "RepoTags": [ - "rabbitmq:latest" - ], - "RepoDigests": [], - "Created": 1449312753, - "Size": 0, - "VirtualSize": 304310861, - "Labels": null - }, - { - "Id": "9da5438fedb2e9a1e11a3361c4a53e0801ed1f8f4c014d83a5a514f0c60892bf", - "ParentId": "64ccc5e9d20c638849eadddab4f23204c3fcdd62d497cdbd0ecf44d863b086c8", - "RepoTags": [ - "mongo:2.4.14" - ], - "RepoDigests": [], - "Created": 1449299455, - "Size": 0, - "VirtualSize": 344445131, - "Labels": null - } -] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/container_a68.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/container_a68.json b/libcloud/test/container/fixtures/docker/linux_121/container_a68.json new file mode 100644 index 0000000..88282ec --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/container_a68.json @@ -0,0 +1,163 @@ +{ + "Id": "a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303", + "Created": "2015-12-23T01:05:40.56937184Z", + "Path": "/entrypoint.sh", + "Args": [ + "None" + ], + "State": { + "Status": "exited", + "Running": false, + "Paused": false, + "Restarting": false, + "OOMKilled": false, + "Dead": false, + "Pid": 0, + "ExitCode": 127, + "Error": "", + "StartedAt": "2015-12-23T01:06:29.018395755Z", + "FinishedAt": "2015-12-23T01:06:30.144487212Z" + }, + "Image": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", + "ResolvConfPath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/resolv.conf", + "HostnamePath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/hostname", + "HostsPath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/hosts", + "LogPath": "/var/lib/docker/containers/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303/a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303-json.log", + "Name": "/gigantic_goldberg", + "RestartCount": 0, + "Driver": "aufs", + "ExecDriver": "native-0.2", + "MountLabel": "", + "ProcessLabel": "", + "AppArmorProfile": "", + "ExecIDs": null, + "HostConfig": { + "Binds": null, + "ContainerIDFile": "", + "LxcConf": null, + "Memory": 0, + "MemoryReservation": 0, + "MemorySwap": 0, + "KernelMemory": 0, + "CpuShares": 0, + "CpuPeriod": 0, + "CpusetCpus": "", + "CpusetMems": "", + "CpuQuota": 0, + "BlkioWeight": 0, + "OomKillDisable": false, + "MemorySwappiness": null, + "Privileged": false, + "PortBindings": {}, + "Links": null, + "PublishAllPorts": true, + "Dns": null, + "DnsOptions": null, + "DnsSearch": null, + "ExtraHosts": null, + "VolumesFrom": null, + "Devices": null, + "NetworkMode": "default", + "IpcMode": "", + "PidMode": "", + "UTSMode": "", + "CapAdd": null, + "CapDrop": null, + "GroupAdd": null, + "RestartPolicy": { + "Name": "", + "MaximumRetryCount": 0 + }, + "SecurityOpt": null, + "ReadonlyRootfs": false, + "Ulimits": null, + "LogConfig": { + "Type": "json-file", + "Config": {} + }, + "CgroupParent": "", + "ConsoleSize": [ + 0, + 0 + ], + "VolumeDriver": "" + }, + "GraphDriver": { + "Name": "aufs", + "Data": null + }, + "Mounts": [ + { + "Name": "b1a70d8e1ebd7d5865e59ff91cf06357e3ef4d829af44c31675c2d0a24894444", + "Source": "/var/lib/docker/volumes/b1a70d8e1ebd7d5865e59ff91cf06357e3ef4d829af44c31675c2d0a24894444/_data", + "Destination": "/data/db", + "Driver": "local", + "Mode": "", + "RW": true + } + ], + "Config": { + "Hostname": "a68c1872c746", + "Domainname": "", + "User": "", + "AttachStdin": true, + "AttachStdout": true, + "AttachStderr": true, + "ExposedPorts": { + "27017/tcp": {} + }, + "Tty": true, + "OpenStdin": true, + "StdinOnce": false, + "Env": [ + "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", + "GPG_KEYS=DFFA3DCF326E302C4787673A01C4E7FAAAB2461C \t42F3E95A2C4F08279C4960ADD68FA50FEA312927", + "MONGO_MAJOR=3.2", + "MONGO_VERSION=3.2.0" + ], + "Cmd": [ + "None" + ], + "Image": "mongo:latest", + "Volumes": { + "/data/db": {} + }, + "WorkingDir": "", + "Entrypoint": [ + "/entrypoint.sh" + ], + "OnBuild": null, + "Labels": {} + }, + "NetworkSettings": { + "Bridge": "", + "SandboxID": "", + "HairpinMode": false, + "LinkLocalIPv6Address": "", + "LinkLocalIPv6PrefixLen": 0, + "Ports": null, + "SandboxKey": "", + "SecondaryIPAddresses": null, + "SecondaryIPv6Addresses": null, + "EndpointID": "", + "Gateway": "", + "GlobalIPv6Address": "", + "GlobalIPv6PrefixLen": 0, + "IPAddress": "", + "IPPrefixLen": 0, + "IPv6Gateway": "", + "MacAddress": "", + "Networks": { + "bridge": { + "EndpointID": "", + "Gateway": "", + "IPAddress": "", + "IPPrefixLen": 0, + "IPv6Gateway": "", + "GlobalIPv6Address": "", + "GlobalIPv6PrefixLen": 0, + "MacAddress": "" + } + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/containers.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/containers.json b/libcloud/test/container/fixtures/docker/linux_121/containers.json new file mode 100644 index 0000000..3228e3f --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/containers.json @@ -0,0 +1,143 @@ +[ + { + "Id": "160936dc54fe8c332095676d9379003534b8cddd7565fa63018996e06dae1b6b", + "Names": [ + "/hubot" + ], + "Image": "stackstorm/hubot", + "ImageID": "05c5761707b3970a9bf17c00886176add79ac087b4d6a500ac87985bf8ec07b1", + "Command": "/app/bin/hubot", + "Created": 1450130345, + "Ports": [], + "Labels": {}, + "Status": "Exited (137) 11 minutes ago", + "HostConfig": { + "NetworkMode": "bridge" + } + }, + { + "Id": "f159072147ee7d253e21ec8fd2778a27ac29d7fc5f865641900d16665b46215a", + "Names": [ + "/mongo" + ], + "Image": "mongo", + "ImageID": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", + "Command": "/entrypoint.sh mongod", + "Created": 1450130332, + "Ports": [], + "Labels": {}, + "Status": "Exited (14) 2 hours ago", + "HostConfig": { + "NetworkMode": "bridge" + } + }, + { + "Id": "e687b33f9ced0153104308e6ff7a2138b8cc026fa4085d31da831a02ed0dc03d", + "Names": [ + "/rabbitmq" + ], + "Image": "rabbitmq", + "ImageID": "448afeda0388b18c6f3be18c7aaece29e0f8dbdfab30364e678c382bab1037c5", + "Command": "/docker-entrypoint.sh rabbitmq-server", + "Created": 1450130331, + "Ports": [ + { + "IP": "0.0.0.0", + "PrivatePort": 5672, + "PublicPort": 5672, + "Type": "tcp" + }, + { + "PrivatePort": 25672, + "Type": "tcp" + }, + { + "PrivatePort": 4369, + "Type": "tcp" + }, + { + "PrivatePort": 5671, + "Type": "tcp" + } + ], + "Labels": {}, + "Status": "Exited (137) 11 minutes ago", + "HostConfig": { + "NetworkMode": "bridge" + } + }, + { + "Id": "b82c16423c6dbb7cd1564f8fc413c822df45cc0c7aa35c24683a1329af6ec102", + "Names": [ + "/fervent_bhabha" + ], + "Image": "rabbitmq", + "ImageID": "448afeda0388b18c6f3be18c7aaece29e0f8dbdfab30364e678c382bab1037c5", + "Command": "/docker-entrypoint.sh rabbitmq-server", + "Created": 1450059506, + "Ports": [ + { + "PrivatePort": 4369, + "Type": "tcp" + }, + { + "PrivatePort": 5671, + "Type": "tcp" + }, + { + "IP": "0.0.0.0", + "PrivatePort": 5672, + "PublicPort": 5672, + "Type": "tcp" + }, + { + "PrivatePort": 25672, + "Type": "tcp" + } + ], + "Labels": {}, + "Status": "Dead", + "HostConfig": { + "NetworkMode": "bridge" + } + }, + { + "Id": "8cc5481aa4621578f8dd2c942d74e27e75170c6899ea012db7a44ea5f1ba2069", + "Names": [ + "/suspicious_swirles" + ], + "Image": "mongo", + "ImageID": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", + "Command": "/entrypoint.sh mongod", + "Created": 1450059505, + "Ports": [ + { + "IP": "0.0.0.0", + "PrivatePort": 27017, + "PublicPort": 27017, + "Type": "tcp" + } + ], + "Labels": {}, + "Status": "Dead", + "HostConfig": { + "NetworkMode": "bridge" + } + }, + { + "Id": "598b3e4d15a406390baaa2947f910e7b52b810a4120028692ed309247f2e8346", + "Names": [ + "/mongodata" + ], + "Image": "mongo", + "ImageID": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", + "Command": "/entrypoint.sh /bin/true", + "Created": 1449637213, + "Ports": [], + "Labels": {}, + "Status": "Created", + "HostConfig": { + "NetworkMode": "default" + } + } +] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/create_container.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/create_container.json b/libcloud/test/container/fixtures/docker/linux_121/create_container.json new file mode 100644 index 0000000..e05a941 --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/create_container.json @@ -0,0 +1,4 @@ +{ + "Id": "a68c1872c74630522c7aa74b85558b06824c5e672cee334296c50fb209825303", + "Warnings": null +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/create_image.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/create_image.json b/libcloud/test/container/fixtures/docker/linux_121/create_image.json new file mode 100644 index 0000000..4509f55 --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/create_image.json @@ -0,0 +1 @@ +{"status":"Download complete","progressDetail":{},"id":"cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0"} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/images.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/images.json b/libcloud/test/container/fixtures/docker/linux_121/images.json new file mode 100644 index 0000000..ac04cf3 --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/images.json @@ -0,0 +1,50 @@ +[ + { + "Id": "cf55d61f5307b7a18a45980971d6cfd40b737dd661879c4a6b3f2aecc3bc37b0", + "ParentId": "3e408cde1b7f6276b9ead7b8111d80a367f9223dfbbd4102ea89a5fc42947960", + "RepoTags": [ + "mongo:latest" + ], + "RepoDigests": [], + "Created": 1449618009, + "Size": 0, + "VirtualSize": 316957672, + "Labels": null + }, + { + "Id": "05c5761707b3970a9bf17c00886176add79ac087b4d6a500ac87985bf8ec07b1", + "ParentId": "be7965ce1bef5d2e3b27efb3f4fe2253683bc7144d2ebae614e9e7155066c833", + "RepoTags": [ + "stackstorm/hubot:latest" + ], + "RepoDigests": [], + "Created": 1449466772, + "Size": 0, + "VirtualSize": 550102318, + "Labels": {} + }, + { + "Id": "448afeda0388b18c6f3be18c7aaece29e0f8dbdfab30364e678c382bab1037c5", + "ParentId": "67edbf589f9af9b2c6f87e8481ec0299c50bfce5f9b98b95316c7235494c7bea", + "RepoTags": [ + "rabbitmq:latest" + ], + "RepoDigests": [], + "Created": 1449312753, + "Size": 0, + "VirtualSize": 304310861, + "Labels": null + }, + { + "Id": "9da5438fedb2e9a1e11a3361c4a53e0801ed1f8f4c014d83a5a514f0c60892bf", + "ParentId": "64ccc5e9d20c638849eadddab4f23204c3fcdd62d497cdbd0ecf44d863b086c8", + "RepoTags": [ + "mongo:2.4.14" + ], + "RepoDigests": [], + "Created": 1449299455, + "Size": 0, + "VirtualSize": 344445131, + "Labels": null + } +] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/logs.txt ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/logs.txt b/libcloud/test/container/fixtures/docker/linux_121/logs.txt new file mode 100644 index 0000000..12c3a44 --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/logs.txt @@ -0,0 +1 @@ +/entrypoint.sh: line 19: exec: None: not found http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/search.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/search.json b/libcloud/test/container/fixtures/docker/linux_121/search.json new file mode 100644 index 0000000..dd9454c --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/search.json @@ -0,0 +1,202 @@ +[ + { + "star_count": 1502, + "is_official": true, + "name": "mysql", + "is_trusted": false, + "is_automated": false, + "description": "MySQL is a widely used, open-source relational database management system (RDBMS)." + }, + { + "star_count": 80, + "is_official": false, + "name": "mysql/mysql-server", + "is_trusted": true, + "is_automated": true, + "description": "Optimized MySQL Server Docker images. Created, maintained and supported by the MySQL team at Oracle" + }, + { + "star_count": 31, + "is_official": false, + "name": "centurylink/mysql", + "is_trusted": true, + "is_automated": true, + "description": "Image containing mysql. Optimized to be linked to another image/container." + }, + { + "star_count": 6, + "is_official": false, + "name": "appcontainers/mysql", + "is_trusted": true, + "is_automated": true, + "description": "CentOS/Ubuntu/Debian based customizible MySQL 5.5 Container - 284MB/283MB/245MB - Updated 12/14/2015" + }, + { + "star_count": 2, + "is_official": false, + "name": "alterway/mysql", + "is_trusted": true, + "is_automated": true, + "description": "Docker Mysql" + }, + { + "star_count": 0, + "is_official": false, + "name": "tozd/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL (MariaDB fork) Docker image." + }, + { + "star_count": 0, + "is_official": false, + "name": "wenzizone/mysql", + "is_trusted": true, + "is_automated": true, + "description": "mysql" + }, + { + "star_count": 0, + "is_official": false, + "name": "dockerizedrupal/mysql", + "is_trusted": true, + "is_automated": true, + "description": "docker-mysql" + }, + { + "star_count": 2, + "is_official": false, + "name": "azukiapp/mysql", + "is_trusted": true, + "is_automated": true, + "description": "Docker image to run MySQL by Azuki - http://azk.io" + }, + { + "star_count": 1, + "is_official": false, + "name": "phpmentors/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL server image" + }, + { + "star_count": 0, + "is_official": false, + "name": "lancehudson/docker-mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL is a widely used, open-source relational database management system (RDBMS)." + }, + { + "star_count": 1, + "is_official": false, + "name": "bahmni/mysql", + "is_trusted": true, + "is_automated": true, + "description": "Mysql container for bahmni. Contains the openmrs database" + }, + { + "star_count": 2, + "is_official": false, + "name": "yfix/mysql", + "is_trusted": true, + "is_automated": true, + "description": "Yfix docker built mysql" + }, + { + "star_count": 23, + "is_official": false, + "name": "sameersbn/mysql", + "is_trusted": true, + "is_automated": true, + "description": "" + }, + { + "star_count": 0, + "is_official": false, + "name": "nanobox/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL service for nanobox.io" + }, + { + "star_count": 0, + "is_official": false, + "name": "withinboredom/mysql", + "is_trusted": true, + "is_automated": true, + "description": "A MySQL container using s6 and Consul -- built on tatum/mysql" + }, + { + "star_count": 4, + "is_official": false, + "name": "marvambass/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL Server based on Ubuntu 14.04" + }, + { + "star_count": 14, + "is_official": false, + "name": "google/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL server for Google Compute Engine" + }, + { + "star_count": 1, + "is_official": false, + "name": "frodenas/mysql", + "is_trusted": true, + "is_automated": true, + "description": "A Docker Image for MySQL" + }, + { + "star_count": 0, + "is_official": false, + "name": "ahmet2mir/mysql", + "is_trusted": true, + "is_automated": true, + "description": "This is a Debian based image with MySQL server installed listening on port 3306. " + }, + { + "star_count": 25, + "is_official": false, + "name": "wnameless/mysql-phpmyadmin", + "is_trusted": true, + "is_automated": true, + "description": "MySQL + phpMyAdmin\nhttps://index.docker.io/u/wnameless/mysql-phpmyadmin/" + }, + { + "star_count": 0, + "is_official": false, + "name": "drupaldocker/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL for Drupal" + }, + { + "star_count": 0, + "is_official": false, + "name": "tetraweb/mysql", + "is_trusted": true, + "is_automated": true, + "description": "" + }, + { + "star_count": 1, + "is_official": false, + "name": "boomtownroi/mysql-dev", + "is_trusted": true, + "is_automated": true, + "description": "A mysql box with consul integration for development. Based on tatum box" + }, + { + "star_count": 5, + "is_official": false, + "name": "ioggstream/mysql", + "is_trusted": true, + "is_automated": true, + "description": "MySQL Image with Master-Slave replication" + } +] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/linux_121/version.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/linux_121/version.json b/libcloud/test/container/fixtures/docker/linux_121/version.json new file mode 100644 index 0000000..3b51d72 --- /dev/null +++ b/libcloud/test/container/fixtures/docker/linux_121/version.json @@ -0,0 +1,10 @@ +{ + "Version": "1.9.1", + "ApiVersion": "1.21", + "GitCommit": "a34a1d5", + "GoVersion": "go1.4.3", + "Os": "linux", + "Arch": "amd64", + "KernelVersion": "3.13.0-46-generic", + "BuildTime": "Fri Nov 20 17:56:04 UTC 2015" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/logs.txt ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/logs.txt b/libcloud/test/container/fixtures/docker/logs.txt deleted file mode 100644 index 12c3a44..0000000 --- a/libcloud/test/container/fixtures/docker/logs.txt +++ /dev/null @@ -1 +0,0 @@ -/entrypoint.sh: line 19: exec: None: not found http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/search.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/search.json b/libcloud/test/container/fixtures/docker/search.json deleted file mode 100644 index dd9454c..0000000 --- a/libcloud/test/container/fixtures/docker/search.json +++ /dev/null @@ -1,202 +0,0 @@ -[ - { - "star_count": 1502, - "is_official": true, - "name": "mysql", - "is_trusted": false, - "is_automated": false, - "description": "MySQL is a widely used, open-source relational database management system (RDBMS)." - }, - { - "star_count": 80, - "is_official": false, - "name": "mysql/mysql-server", - "is_trusted": true, - "is_automated": true, - "description": "Optimized MySQL Server Docker images. Created, maintained and supported by the MySQL team at Oracle" - }, - { - "star_count": 31, - "is_official": false, - "name": "centurylink/mysql", - "is_trusted": true, - "is_automated": true, - "description": "Image containing mysql. Optimized to be linked to another image/container." - }, - { - "star_count": 6, - "is_official": false, - "name": "appcontainers/mysql", - "is_trusted": true, - "is_automated": true, - "description": "CentOS/Ubuntu/Debian based customizible MySQL 5.5 Container - 284MB/283MB/245MB - Updated 12/14/2015" - }, - { - "star_count": 2, - "is_official": false, - "name": "alterway/mysql", - "is_trusted": true, - "is_automated": true, - "description": "Docker Mysql" - }, - { - "star_count": 0, - "is_official": false, - "name": "tozd/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL (MariaDB fork) Docker image." - }, - { - "star_count": 0, - "is_official": false, - "name": "wenzizone/mysql", - "is_trusted": true, - "is_automated": true, - "description": "mysql" - }, - { - "star_count": 0, - "is_official": false, - "name": "dockerizedrupal/mysql", - "is_trusted": true, - "is_automated": true, - "description": "docker-mysql" - }, - { - "star_count": 2, - "is_official": false, - "name": "azukiapp/mysql", - "is_trusted": true, - "is_automated": true, - "description": "Docker image to run MySQL by Azuki - http://azk.io" - }, - { - "star_count": 1, - "is_official": false, - "name": "phpmentors/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL server image" - }, - { - "star_count": 0, - "is_official": false, - "name": "lancehudson/docker-mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL is a widely used, open-source relational database management system (RDBMS)." - }, - { - "star_count": 1, - "is_official": false, - "name": "bahmni/mysql", - "is_trusted": true, - "is_automated": true, - "description": "Mysql container for bahmni. Contains the openmrs database" - }, - { - "star_count": 2, - "is_official": false, - "name": "yfix/mysql", - "is_trusted": true, - "is_automated": true, - "description": "Yfix docker built mysql" - }, - { - "star_count": 23, - "is_official": false, - "name": "sameersbn/mysql", - "is_trusted": true, - "is_automated": true, - "description": "" - }, - { - "star_count": 0, - "is_official": false, - "name": "nanobox/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL service for nanobox.io" - }, - { - "star_count": 0, - "is_official": false, - "name": "withinboredom/mysql", - "is_trusted": true, - "is_automated": true, - "description": "A MySQL container using s6 and Consul -- built on tatum/mysql" - }, - { - "star_count": 4, - "is_official": false, - "name": "marvambass/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL Server based on Ubuntu 14.04" - }, - { - "star_count": 14, - "is_official": false, - "name": "google/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL server for Google Compute Engine" - }, - { - "star_count": 1, - "is_official": false, - "name": "frodenas/mysql", - "is_trusted": true, - "is_automated": true, - "description": "A Docker Image for MySQL" - }, - { - "star_count": 0, - "is_official": false, - "name": "ahmet2mir/mysql", - "is_trusted": true, - "is_automated": true, - "description": "This is a Debian based image with MySQL server installed listening on port 3306. " - }, - { - "star_count": 25, - "is_official": false, - "name": "wnameless/mysql-phpmyadmin", - "is_trusted": true, - "is_automated": true, - "description": "MySQL + phpMyAdmin\nhttps://index.docker.io/u/wnameless/mysql-phpmyadmin/" - }, - { - "star_count": 0, - "is_official": false, - "name": "drupaldocker/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL for Drupal" - }, - { - "star_count": 0, - "is_official": false, - "name": "tetraweb/mysql", - "is_trusted": true, - "is_automated": true, - "description": "" - }, - { - "star_count": 1, - "is_official": false, - "name": "boomtownroi/mysql-dev", - "is_trusted": true, - "is_automated": true, - "description": "A mysql box with consul integration for development. Based on tatum box" - }, - { - "star_count": 5, - "is_official": false, - "name": "ioggstream/mysql", - "is_trusted": true, - "is_automated": true, - "description": "MySQL Image with Master-Slave replication" - } -] \ No newline at end of file http://git-wip-us.apache.org/repos/asf/libcloud/blob/6dfe9404/libcloud/test/container/fixtures/docker/version.json ---------------------------------------------------------------------- diff --git a/libcloud/test/container/fixtures/docker/version.json b/libcloud/test/container/fixtures/docker/version.json deleted file mode 100644 index 3b51d72..0000000 --- a/libcloud/test/container/fixtures/docker/version.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Version": "1.9.1", - "ApiVersion": "1.21", - "GitCommit": "a34a1d5", - "GoVersion": "go1.4.3", - "Os": "linux", - "Arch": "amd64", - "KernelVersion": "3.13.0-46-generic", - "BuildTime": "Fri Nov 20 17:56:04 UTC 2015" -} \ No newline at end of file