1
0
mirror of https://github.com/Tecnativa/docker-socket-proxy synced 2024-11-27 10:28:18 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
Sam McLeod
8d737c82f4 feat: add options for allowing stop and start 2023-11-26 12:25:03 +11:00
Sam McLeod
085fd0a23c feat: add options for allowing stop and start 2023-11-26 12:16:23 +11:00
Pedro M. Baeza
41d6a276fd
Merge pull request #100 from sammcj/patch-1
Fix: minor typo in readme
2023-09-26 08:20:07 +02:00
Sam
6a3923c8f1
Fix minor typo 2023-09-26 07:14:28 +10:00
Pedro M. Baeza
bb675df9b3
Merge pull request #98 from xstefanox/fix/events-timeout
fix: no timeout for events route
2023-09-25 17:21:42 +02:00
Stefano Varesi
0185748432 fix: no timeout for events route 2023-09-25 17:19:59 +02:00
Pedro M. Baeza
eb918c2e3b
Merge pull request #99 from Tecnativa/fix-ci-pre-commit
[DCK] pre-commit dependences updated
2023-09-25 17:19:11 +02:00
josep-tecnativa
eea3ae59a7 [DCK] pre-commit dependences updated 2023-09-25 17:09:09 +02:00
Pedro M. Baeza
2d108070c4
Merge pull request #77 from mikemhenry/patch-1
flake8 has moved to github
2022-12-21 09:03:46 +01:00
Mike Henry
db85b82d94
flake8 has moved to github 2022-12-21 00:53:38 -07:00
Alexandre Díaz
eba9354db5
Merge pull request #73 from Tecnativa/dependabot/pip/py-1.10.0
Bump py from 1.9.0 to 1.10.0
2022-06-29 18:58:31 +02:00
dependabot[bot]
cfe90a48b5
Bump py from 1.9.0 to 1.10.0
Bumps [py](https://github.com/pytest-dev/py) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pytest-dev/py/releases)
- [Changelog](https://github.com/pytest-dev/py/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/py/compare/1.9.0...1.10.0)

---
updated-dependencies:
- dependency-name: py
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 15:12:53 +00:00
Alexandre Díaz
59a67d506d
Merge pull request #71 from RealOrangeOne/patch-2
Rebuild container weekly
2022-06-24 17:11:47 +02:00
Jake Howard
a23328012a
Reformat cron expression line 2022-06-22 14:18:35 +01:00
Jake Howard
f7c8b41cc6 Rebuild container weekly
Due to its nature, the container has access to sensitive data. Therefore the underlying OS should be updated regularly
2022-06-22 13:20:55 +02:00
Alexandre Díaz
24d40af7f4
Merge pull request #72 from Tecnativa/imp-precommit
[UPD] pre-commit
2022-06-22 13:15:19 +02:00
Alexandre D. Díaz
a47de10b35 [UPD] pre-commit 2022-06-22 13:12:32 +02:00
Aaron Bach
5dd3a1efb9 Linting 2021-11-25 08:15:13 -05:00
Aaron Bach
8ed50a6526 Add environment variable to configure Docker socket location in image 2021-11-25 08:15:13 -05:00
Ruben Gees
08910fecaa Add support for /grpc api 2021-10-20 14:16:31 +01:00
Krasimir Nedelchev
f48305fe92 Fix typo in link 2021-08-20 07:56:32 +01:00
João Marques
b30e0097a4 Update README info after #40 2021-07-07 10:36:12 +01:00
João Marques
fae59cf3e8 Fix docs: specify port on DOCKER_HOST variable
Fixes https://github.com/Tecnativa/docker-socket-proxy/issues/51
2021-04-26 15:25:17 +01:00
Trenton Holmes
0ae2b3ea0d Updates HAProxy to the 2.2-alpine tag 2021-04-15 09:13:57 +01:00
Jairo Llopis
6dce4aab3c Remove unused metadata
Since #40, the correct labels are applied at build. These lines were 🗑 now.

@Tecnativa TT27819
2021-02-09 08:38:42 +00:00
João Marques
b911e572d0 Delete old badges 2021-01-26 10:27:45 +00:00
João Marques
2ad5a8c080 Update image template to v0.1.3 2021-01-26 10:27:45 +00:00
João Marques
f1de9a0ccf
Merge pull request #40 from Tecnativa/migrate-to-template
Apply image template
2021-01-26 09:52:37 +00:00
João Marques
49c962b048 Apply image template
TT27819
2021-01-26 09:49:46 +00:00
Jairo Llopis
74c627bb27 Fix build
- Update labels to match those from https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys
- Add missing build args.
- Remove unneeded python (which was failing to install, BTW) from the image.
- Remove `hooks` folder, which was used to build the image automatically in the Docker Hub. It's done in GitHub Actions now.
2020-12-14 09:16:47 +00:00
Jairo Llopis
144ea28cf3 Fix README formatting
Regression introduced in 492bfa465a.
2020-12-14 09:16:47 +00:00
Jairo Llopis
492bfa465a
Update instructions about container images
Fix #37 by clearly advertising which is our main container image registry and what tags are supported.
2020-12-14 08:42:03 +00:00
Jairo Llopis
baea7eefad Allow commits to master
This will fix CI when being run in master.

See https://github.com/Tecnativa/docker-socket-proxy/runs/1529426822.
2020-12-11 08:22:11 +00:00
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
a07d4ae4d9 Sorted environment variables alphabetically 2019-08-23 13:45:33 +01:00
javieryanez
bb302b5470 Added LOG_LEVEL environment variable to set logging severity level. 2019-08-23 13:45:33 +01:00
ViViDboarder
e46d26a7c4 First stab at multi-arch builds 2019-08-16 14:57:42 +02:00
Pedro M. Baeza
f16482ddff
Merge pull request #16 from Artiume/patch-1
spelling error, no change.
2019-06-16 00:17:18 +02:00
Artiume
158c560a56
spelling error, no change. 2019-06-14 20:58:36 -04: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
Bret Fisher
a249e65a77 Update haproxy to current stable 1.8 2018-12-12 11:00:15 +00:00
Kirill
d280f2bc10 #7 - privileged explanation 2018-05-21 10:45:42 +01:00
Cell
746c20f2c8 FIX label with URL of the repo (#5) 2018-02-19 10:09:22 +00:00
Jairo Llopis
6e7cec107e 📝 Increase API version support 2017-07-31 12:32:26 +02:00
d848124
6c6ad0a801 Deny URL encoded requests. Closes #1 2017-07-28 10:46:30 +10:00