Commit Graph

7 Commits

Author SHA1 Message Date
Roman Dobosz e564b661d9 Change registry from docker.io to quay.io for test container image.
Change-Id: I4180fd7c9b9184ba52c9167e18407f399d3c6e70
2020-12-15 10:13:57 +01:00
Roman Dobosz 0746946003 Use registry at quay.io instead of docker.io.
Lately, Docker.io started to limit their resources[1], so it started to
be annoying in a cases of usual development, to typical test by CI
systems. Although our image is tiny, but still, we can observe that
limits were hit. Let's move on to the quay.io.

[1] https://www.docker.com/increase-rate-limit

Change-Id: I32af39344cb3e590a13bd07b64227d8acab6ccd0
2020-11-18 13:01:28 +01:00
Maysa Macedo f6deb3493d Fix container test image
The test container is failing to execute ping on environments that
do not allow containers to run as root user (e.g. OpenShift 4.6).
This commit fixes the issue by ensuring iputils package from Alpine
is installed. Also, it upgrades packages versions.

Change-Id: I1f429110c888103734ce6657fea729529389eb1f
2020-10-09 17:04:11 +00:00
Yossi Boaron 3ae7eef13e Add support for UDP in kuryr/demo container
Update kuryr/demo container to support UDP server.
After this change, the kuryr/demo image runs both HTTP and UDP
servers.
The listeners ports values could be configured using pod's
environment variables.
And in addition, a simple udp client binary tool was added to
image, to use it, you should run :
udp_client <server's_ip> <server's port>

Change-Id: I9f2f2ad3273f947fecb776c0f56f6829df81aa67
2018-10-18 16:37:04 +03:00
Antoni Segura Puimedon a4c8d8a4f4 Upgrade musl(from alpine) and busybox versions
Change-Id: If5921ac820a5209edc71b41cdfed3c2dea5304d9
Signed-off-by: Antoni Segura Puimedon <asegurap@redhat.com>
2018-07-06 17:39:34 +02:00
Antoni Segura Puimedon 20222a0200
demo container: Include ssl certificates
Without this patch, curl would complain that the path where it expects
the ca certificate bundle is empty.

Change-Id: Iadf0f37118ab1bee2265abfbfab2ab8ce462ac87
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2018-03-21 16:00:45 +01:00
Antoni Segura Puimedon c7ebfeadc6
test_container: Add non-layered demo test image
Often our tests are based on kuryr/demo. That image used to be based on
python and alpine and was taking a very long time to pull for already
slow tests. This change makes this repository have the authoritative
version of the kuryr/demo build.

The way it is built is just by running mkrootfs.sh. But that only needs
to be run if we change the version of curl or modify server.go.
Otherwise, to run test it just needs:

    docker build -t kuryr/demo . -f Dockerfile

This build will not need to go to Docker Hub for anything so we also
eliminate one source of flakiness.

Depends-On: https://review.openstack.org/#/c/547390/
Change-Id: Iab5799e22c3b353a4f2adbaa280ab4a9904ecd95
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
2018-02-23 13:43:54 +01:00