github.phpd.cn/cilium/cilium@v1.6.12/test/helpers/constants/images.go (about) 1 // Copyright 2017-2019 Authors of Cilium 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package constants 16 17 const ( 18 // NetperfImage is the Docker image used for performance testing 19 NetperfImage = "docker.io/tgraf/netperf:v1.0" 20 21 // HttpdImage is the image used for starting an HTTP server. 22 HttpdImage = "docker.io/cilium/demo-httpd:latest" 23 24 // DNSSECContainerImage is the image used for starting a DNSSec client. 25 DNSSECContainerImage = "docker.io/cilium/dnssec-client:v0.1" 26 27 // BindContainerImage is the image used for DNS binding testing. 28 BindContainerImage = "docker.io/cilium/docker-bind:v0.3" 29 30 // KafkaClientImage is the image used for Kafka clients. 31 KafkaClientImage = "docker.io/cilium/kafkaclient2:latest" 32 33 // Zookeeper image is the image used for running Zookeeper. 34 ZookeeperImage = "docker.io/digitalwonderland/zookeeper:latest" 35 36 // BuxyboxImage is a space efficient-image used for basic testing. 37 BusyboxImage = "docker.io/library/busybox:1.28.0" 38 39 // AlpineCurlImage is the image used for invoking curl with a small base image. 40 AlpineCurlImage = "docker.io/byrnedo/alpine-curl:0.1.7" 41 42 // MemcachedImage is the image used to test memcached in the runtime tests. 43 MemcacheDImage = "docker.io/library/memcached:1.5.11" 44 45 // MemcacheBinClient is the image used during binary memcached parser tests. 46 MemcacheBinClient = "docker.io/cilium/python-bmemcached:v0.0.1" 47 48 // AlpineImage is used during the memcached tests as the text client. 49 AlpineImage = "docker.io/library/alpine:3.9" 50 51 // CassandraImage is the image used for testing of the cassandra proxy 52 // functionality in Cilium. 53 CassandraImage = "docker.io/library/cassandra:3.11.3" 54 55 // KafkaImage is the image used for setting up a multi-broker Kafka container. 56 KafkaImage = "docker.io/wurstmeister/kafka:2.11-0.11.0.3" 57 ) 58 59 // AllImages is the set of all container images which are ran directly via 60 // `docker run` in the Cilium CI. It is used to provide a central location in 61 // the code of all images that are used. 62 var AllImages = map[string]struct{}{ 63 NetperfImage: {}, 64 HttpdImage: {}, 65 DNSSECContainerImage: {}, 66 BindContainerImage: {}, 67 KafkaClientImage: {}, 68 ZookeeperImage: {}, 69 BusyboxImage: {}, 70 AlpineCurlImage: {}, 71 MemcacheDImage: {}, 72 MemcacheBinClient: {}, 73 AlpineImage: {}, 74 CassandraImage: {}, 75 KafkaImage: {}, 76 }