1
0
mirror of https://github.com/Tecnativa/docker-socket-proxy synced 2024-11-13 19:08:56 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
João Marques
e84babd1c4
Add tests and CI (#34)
* Add first version of tests

From https://github.com/Tecnativa/docker-socket-proxy/pull/14

* Expand tests

* Add GH CI

* Apply suggestions

* Apply autopretty template + fix prettier

* Fix isort

* Apply autoprettier

* Fix VSCode settings

* Make tests run in parallel

* Build docker image before testing

* Update workspace settings

* Try multi-platform builds and push to ghcr.io

* Push to docker hub as well from ci

* Upgrade autopretty

* Update pyproject configurations

* Improve test configuration and execution

TT26468

* Provide initial conftest

* Improve tests

* Add python3 in image

* Remove POST rule from proxy

* Build image before testing and push at the end

Builds the image (in single arch) before testing
Loads the image into local docker (See https://github.com/docker/build-push-action#export-image-to-docker)
Rebuilds and pushes the final image in multi-arch at the end.

* Fix python path

* Remove build fixture from tests to see if image is built in CI

* Organize docker tests definition and document

* Restore fixture allowing usage for local testing

This reverts commit dc0b60e63f and allows using `--prebuild` CLI flag for pytest when doing local tests.

Co-authored-by: Jairo Llopis <jairo.llopis@tecnativa.com>
2020-12-10 08:52:55 +00:00
javieryanez
bb302b5470 Added LOG_LEVEL environment variable to set logging severity level. 2019-08-23 13:45:33 +01:00
Andre Zoledziowski
f41f9d25d2 Fixed possible security problem. 2019-01-21 15:23:09 +00:00
Andre Zoledziowski
eddf7b2a42 Inverted HAProxy security policy. 2019-01-21 15:23:09 +00:00
Andre Zoledziowski
5a7bc8fd17 Added explicit "allow restarts" permission. 2019-01-21 15:23:09 +00:00
Andre Zoledziowski
3a1d5bb03a Added missing experimental SESSION API 2019-01-21 15:23:09 +00:00
Jairo Llopis
8bb3bce15a
Support Docker API 1.37
Add CONFIGS and DISTRIBUTION sections.
2019-01-08 08:57:45 +00:00
Jairo Llopis
7da0037161
Use HAProxy 1.9 and log to stdout 2019-01-08 08:57:45 +00:00
d848124
6c6ad0a801 Deny URL encoded requests. Closes #1 2017-07-28 10:46:30 +10:00
Jairo Llopis
0715eb786b Support hopefully upcoming logging
See https://github.com/docker-library/haproxy/pull/39.
2017-03-31 13:33:09 +02:00
Jairo Llopis
53d9ee0732 Support any API version prefix 2017-03-29 13:11:26 +02:00
Jairo Llopis
17ff117058 🎉 Hello world 2017-03-29 13:06:56 +02:00