Commit Graph

1495 Commits

Author SHA1 Message Date
Adam Warner cb16942096
Address Sonar rules S125 (https://rules.sonarsource.com/python/RSPEC-125) and S1481 (https://rules.sonarsource.com/python/RSPEC-1481)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-06-06 22:04:44 +01:00
Adam Warner 29f81fcfbc
Address Sonar rule S1192 (https://rules.sonarsource.com/python/RSPEC-1192)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-06-06 21:58:09 +01:00
Adam Warner b3717000ae
Address Sonar rules S117 (https://rules.sonarsource.com/python/RSPEC-117) and S1542(https://rules.sonarsource.com/python/RSPEC-1542) in all test .py files
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-06-06 21:26:47 +01:00
Adam Warner 5b0ea12766
Merge pull request #1106 from pi-hole/use_env_webpassword
Always use WEBPASSWORD env var if set
2022-06-06 20:43:23 +01:00
Adam Warner 64e449c133
fix [this code smell](https://sonarcloud.io/project/issues?pullRequest=1106&issues=AYE6byrIbM3H9G6ifn9K&open=AYE6byrIbM3H9G6ifn9K&id=pi-hole_docker-pi-hole)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-06-06 20:26:26 +01:00
Adam Warner 6b9a4e6216
Fix up tests to work with new logic
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-06-06 20:14:26 +01:00
RD WebDesign 67fc925153 Using the same format for the new message
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-30 17:31:57 -03:00
RD WebDesign f9d990145a Always use WEBPASSWORD env var if set
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-30 03:00:16 -03:00
Adam Warner 9f9010edaa
Merge pull request #1104 from pi-hole/master
sync: master to dev
2022-05-24 22:27:41 +01:00
Adam Warner 20e51e77da
Update sync-back-to-dev.yml 2022-05-24 22:26:29 +01:00
Adam Warner 1570a7682e
Merge pull request #1102 from pi-hole/dev
Merge Dev->master for new tag
2022-05-23 17:18:02 +01:00
Adam Warner 8cedb5b030
Merge pull request #1082 from canepan/patch-2
Update README.md to mention minimum required docker version
2022-05-23 17:16:54 +01:00
Adam Warner 0e7013e890
Update README.md 2022-05-23 17:15:47 +01:00
Adam Warner c7d1fe5e82
Merge pull request #1088 from pi-hole/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-23 17:11:09 +01:00
Adam Warner bd3a69e056
Merge pull request #1089 from pi-hole/dependabot/github_actions/docker/metadata-action-4
Bump docker/metadata-action from 3 to 4
2022-05-23 17:10:58 +01:00
Adam Warner 6d894a3f34
Merge pull request #1090 from pi-hole/dependabot/github_actions/docker/setup-buildx-action-2
Bump docker/setup-buildx-action from 1 to 2
2022-05-23 17:10:15 +01:00
Adam Warner f246384bb3
Merge pull request #1091 from pi-hole/dependabot/github_actions/docker/login-action-2
Bump docker/login-action from 1 to 2
2022-05-23 17:09:26 +01:00
Adam Warner 62c1fee49a
Merge pull request #1092 from pi-hole/dependabot/github_actions/docker/setup-qemu-action-2
Bump docker/setup-qemu-action from 1 to 2
2022-05-23 17:08:55 +01:00
Adam Warner 33baaa4bb0
Merge pull request #1101 from pi-hole/allow-checkout
Allow pihole checkout on any image rather than just dev/nightly image…
2022-05-23 17:07:51 +01:00
Adam Warner 6037832d5d
Allow pihole checkout on any image rather than just dev/nightly images - sometimes it is useful to troubleshoot
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-05-23 16:59:50 +01:00
dependabot[bot] 725711c9aa
Bump docker/setup-qemu-action from 1 to 2
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 06:14:49 +00:00
dependabot[bot] 820c4818e9
Bump docker/login-action from 1 to 2
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 06:14:46 +00:00
dependabot[bot] 287c45a624
Bump docker/setup-buildx-action from 1 to 2
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 06:14:43 +00:00
dependabot[bot] ab6bdd7e77
Bump docker/metadata-action from 3 to 4
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3 to 4.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 06:14:40 +00:00
dependabot[bot] f7c4053179
Bump docker/build-push-action from 2 to 3
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 06:14:38 +00:00
Adam Warner d083079b17
Merge pull request #1086 from klutchell/kyle/fix-capabilities
Fix capability detection for privileged containers
2022-05-06 20:11:14 +01:00
Kyle Harding 6d3ab13a4d
Check each cap explicitly against the permitted vector
Privileged containers do not list each cap by name,
instead they lead with =eip and selectively remove
caps with cap_foo_bar-eip.

Instead we can use the --has-p flag of capsh to check
for the permitted cap.

Signed-off-by: Kyle Harding <kyle@balena.io>
2022-05-05 11:13:42 -04:00
Adam Warner ad9d7cb710
Merge pull request #1084 from lightswitch05/feature/update-default-debian-to-bullseye
Update default debian to bullseye. Update README to describe docker tags.
2022-05-04 18:20:26 +01:00
Adam Warner 2079c6adce
Merge pull request #1083 from lightswitch05/bugfix/minor-corrections-per-sonarcloud
Minor corrections per sonarcloud
2022-05-04 18:15:43 +01:00
Daniel 6e36311d6f
Update README.md to describe the current docker tagging pattern 2022-05-02 22:49:08 -04:00
Daniel 08627a1ba7
Update everything to use bullseye as the default debian version 2022-05-02 22:36:59 -04:00
Daniel f1c5662265
Minor bugfixes per SonarCloud results 2022-05-02 21:44:33 -04:00
canepan 3d27c94595
Update README.md
Signed-off-by: Nicola Canepa <nicola.canepa.74@gmail.com>
Mention the required update to docker.io in additon to libseccomp2 on ARM
2022-05-02 06:20:30 +01:00
Adam Warner c4542d651d
Merge pull request #1079 from pi-hole/master
sync: master to dev
2022-04-25 17:44:52 +01:00
Adam Warner c4b105853c
Merge branch 'dev' 2022-04-25 17:44:19 +01:00
Adam Warner 84766ff1cb
Merge pull request #1080 from pi-hole/tweakreadme
Expand on information in Readme about libseccomp
2022-04-25 17:43:41 +01:00
Adam Warner 89480b1e9d
Expand on information about libseccomp
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-04-25 17:42:35 +01:00
Adam Warner 99b43a8795
Merge pull request #1076 from pi-hole/codespell
Implement codespell action
2022-04-22 17:53:02 +01:00
Adam Warner e1dc289d7d
Fix suggested spelling mistakes
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-04-22 17:41:29 +01:00
Adam Warner 59b3ae999f
Add codespell
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-04-22 17:37:57 +01:00
Adam Warner ebbbdae2df
Merge pull request #1074 from pi-hole/dev
2022.04.3
2022-04-20 21:07:44 +01:00
Adam Warner 93e7daddc1
Merge pull request #1006 from PeterDaveHelloKitchen/Improve-Dockerfile_build
Improve/Refactor Dockerfile_build
2022-04-20 20:49:13 +01:00
Adam Warner 2afb0fc703
Merge pull request #1071 from vterron/patch-1
Fix typo
2022-04-18 15:42:46 +01:00
Víctor Terrón a88124acdd Fix typo
Signed-off-by: Víctor Terrón <quintanar@gmail.com>
2022-04-18 15:46:27 +02:00
Adam Warner f6d6a31743
Merge pull request #1060 from pi-hole/master
sync: master to dev
2022-04-12 17:29:34 +01:00
Adam Warner f3260fb0f9
Update README.md 2022-04-12 17:28:10 +01:00
Adam Warner 4b9e142d54
Update README.md 2022-04-12 17:26:55 +01:00
Adam Warner fedf69beeb
Merge pull request #1067 from pi-hole/dev-image-tools
If building `dev` or `nightly`, add some additional tools via apt
2022-04-11 22:37:57 +01:00
Adam Warner 12ded16443
Merge pull request #1066 from pi-hole/tweak-s6-service-wrapper
read pids into an array in case of multiple instances of FTL running.…
2022-04-11 22:31:46 +01:00
Adam Warner edd67d73c5
Merge pull request #1065 from pi-hole/dependabot/github_actions/actions/stale-5
Bump actions/stale from 4 to 5
2022-04-11 21:25:24 +01:00