Commit Graph

248 Commits

Author SHA1 Message Date
Dominik 963dec401b Merge pull request #2091 from pi-hole/update/ftl-build
Use new ftl-build:v2.9
2024-10-18 22:22:35 +02:00
DL6ER f48aaeef66 Use new ftl-build:v2.9
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-10-18 21:02:11 +02:00
DL6ER 35cdf0f276 Fix incorrect Github Actions if syntax
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-10-18 17:03:55 +02:00
yubiuser c83da0b68e Update base image and remove purposely added failing test
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-20 09:16:37 +02:00
yubiuser 75f11f3f4f Prettify BATS output
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-19 13:45:49 +02:00
yubiuser d88eabed6b Filter alerts from dependencies
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-15 22:32:45 +02:00
yubiuser 7a398aaa19 Enable security-and-quality query pack
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-15 20:41:39 +02:00
yubiuser 39626b25ee Install nettle and mbedTLS and dependencies
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-15 19:44:56 +02:00
yubiuser bc5833d756 Use build.sh
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-15 19:07:11 +02:00
yubiuser e0d2271b3a Add CodeQL
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-15 18:07:57 +02:00
Adam Warner a2dbfeddee Merge pull request #2051 from pi-hole/master
Sync master back into development
2024-09-02 22:38:31 +01:00
Adam Warner ae426776fd Remove development-v6 references from dependabot
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 22:24:49 +01:00
DL6ER 1e0bec5e2e Use ftl-build:v2.7 builder for Actions
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-08-31 16:26:49 +02:00
DL6ER 17b9bfcc34 If multiple records are returned but at least one is a blocked IP address, the entire query should be blocked. This is already the case but this commit adds an explicit CI test for this desired behavior.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-08-21 20:14:51 +02:00
DL6ER 23c2607165 Add new GET /api/padd endpoint
Build, Test, Deploy / smoke-tests (push) Has been cancelled
Codespell / spell-check (push) Has been cancelled
Check for merge conflicts / merge-conflict (push) Has been cancelled
API validation / Node (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-386, , linux/386) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-amd64, , linux/amd64) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-amd64-clang, clang, linux/amd64) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-riscv64, , linux/riscv64) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-arm64, linux/arm64/v8) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-armv6, linux/arm/v6) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-armv7, linux/arm/v7) (push) Has been cancelled
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-08-05 22:06:53 +02:00
DL6ER f07d902802 Merge branch 'development-v6' into tweak/api_network_info
Build, Test, Deploy / smoke-tests (push) Has been cancelled
Codespell / spell-check (push) Has been cancelled
Check for merge conflicts / merge-conflict (push) Has been cancelled
API validation / Node (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-386, , linux/386) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-amd64, , linux/amd64) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-amd64-clang, clang, linux/amd64) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-riscv64, , linux/riscv64) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-arm64, linux/arm64/v8) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-armv6, linux/arm/v6) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-armv7, linux/arm/v7) (push) Has been cancelled
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-19 09:47:18 +02:00
DL6ER 5d2d74a3e3 Fix LegacyKeyValueFormat warning during CI builds
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-16 12:14:06 +02:00
DL6ER 35166fd00c Fix a small bug in the API response verifier and ensure we always favor using 64 bit interface statistics if available. The reason is that the legacy statistics use 32 bit conters which overflow every 4 GB of interface traffic
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-14 15:45:29 +02:00
dependabot[bot] bf476509b5 Bump actions/checkout in the github_action-dependencies group
Bumps the github_action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.6...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-15 10:14:29 +00:00
dependabot[bot] 4be0ff6082 Bump eps1lon/actions-label-merge-conflict
Bumps the github_action-dependencies group with 1 update: [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict).


Updates `eps1lon/actions-label-merge-conflict` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/eps1lon/actions-label-merge-conflict/releases)
- [Changelog](https://github.com/eps1lon/actions-label-merge-conflict/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eps1lon/actions-label-merge-conflict/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: eps1lon/actions-label-merge-conflict
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-01 10:35:49 +00:00
DL6ER 86d683340a Merge branch 'development-v6' into fix/resolver 2024-05-29 19:39:33 +02:00
Dominik 23d94763a5 Merge pull request #1962 from pi-hole/new/clang
Add Clang compiler support and update project to C17 standard
2024-05-29 19:19:26 +02:00
DL6ER 5db4ade057 Use TCP queries for internal name resolution to avoid truncated replies
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-26 21:22:29 +02:00
DL6ER 40eee1ac9c Addres spellchecker complaints
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-25 09:57:46 +02:00
DL6ER dc204a41b0 Use v2.6 CI containers and nightly for the devcontainer
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-25 09:54:37 +02:00
DL6ER 62413141ff Only one builder is allowed to push the API documentation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-22 20:19:32 +02:00
DL6ER be9fe875f6 Always try to chown auxiliary database files, not only when chown of the database files itself failed
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-21 19:59:51 +02:00
DL6ER e10d2a52e1 Clang-built binaries are expected to be dynamic
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-21 19:58:19 +02:00
DL6ER 4a70b5989c Use new-clang ftl-build containers
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-20 20:46:18 +02:00
DL6ER 8c5da713f8 Add clang build
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-20 11:05:15 +02:00
DL6ER bfbe309b42 Update build containers to ftl-build v2.5.1
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-20 10:24:58 +02:00
DL6ER f88d96a884 Skip attestation and deployment steps for fork-based PRs having no access to secrets
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-19 09:14:46 +02:00
dependabot[bot] 6fed81a916 Bump actions/checkout in the github_action-dependencies group
Bumps the github_action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.5 to 4.1.6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.5...v4.1.6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-18 10:36:18 +00:00
Dominik 95b1dc1c72 Merge pull request #1964 from pi-hole/new/artifact_attestations
Add artifact attestation
2024-05-18 06:48:13 +02:00
dependabot[bot] ede734051b Bump the github_action-dependencies group with 2 updates
Bumps the github_action-dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict).


Updates `actions/checkout` from 4.1.4 to 4.1.5
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.4...v4.1.5)

Updates `eps1lon/actions-label-merge-conflict` from 3.0.0 to 3.0.1
- [Release notes](https://github.com/eps1lon/actions-label-merge-conflict/releases)
- [Changelog](https://github.com/eps1lon/actions-label-merge-conflict/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eps1lon/actions-label-merge-conflict/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
- dependency-name: eps1lon/actions-label-merge-conflict
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-11 10:54:00 +00:00
DL6ER 633b825f35 Add artifact attestation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-05 10:44:29 +02:00
dependabot[bot] 771db50d8f Bump actions/checkout
Bumps the github_action-dependencies group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.2...v4.1.4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-27 10:40:49 +00:00
dependabot[bot] 40864d5c38 Bump the github_action-dependencies group with 1 update
Bumps the github_action-dependencies group with 1 update: [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict).


Updates `eps1lon/actions-label-merge-conflict` from 2.1.0 to 3.0.0
- [Release notes](https://github.com/eps1lon/actions-label-merge-conflict/releases)
- [Changelog](https://github.com/eps1lon/actions-label-merge-conflict/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eps1lon/actions-label-merge-conflict/compare/v2.1.0...v3.0.0)

---
updated-dependencies:
- dependency-name: eps1lon/actions-label-merge-conflict
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-30 10:42:21 +00:00
dependabot[bot] 16fb8b6366 Bump the github_action-dependencies group with 1 update
Bumps the github_action-dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...v4.1.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 10:42:38 +00:00
DL6ER 9cfd936621 Merge branch 'development-v6' into new/self-hosted
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-09 22:08:15 +01:00
DL6ER d41fbeef26 Include RISCV64 in GHA job
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-09 20:25:15 +01:00
dependabot[bot] 082543ea97 Bump the github_action-dependencies group with 2 updates
Bumps the github_action-dependencies group with 2 updates: [Wandalen/wretry.action](https://github.com/wandalen/wretry.action) and [softprops/action-gh-release](https://github.com/softprops/action-gh-release).


Updates `Wandalen/wretry.action` from 1.4.5 to 1.4.8
- [Release notes](https://github.com/wandalen/wretry.action/releases)
- [Commits](https://github.com/wandalen/wretry.action/compare/v1.4.5...v1.4.8)

Updates `softprops/action-gh-release` from 1 to 2
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: Wandalen/wretry.action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github_action-dependencies
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 10:35:47 +00:00
DL6ER af7d521bfc Download documentation in amd64 build and further reduce code duplication
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-09 07:56:48 +01:00
DL6ER 4019bd7745 Try direct deployment
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-09 07:32:55 +01:00
DL6ER 753bdd3574 Do not try to upload documentation in deferred riscv64 upload step
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-09 07:28:04 +01:00
DL6ER 9318909368 Reduce code duplication by outsourcing into composite actions
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-08 19:50:48 +01:00
DL6ER d85492d113 Independent building of RISCV64
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-07 21:19:58 +01:00
DL6ER 59c1e2b6bf Build x86 binaries on GHA, only build ARM/RISCV on our self-hosted ARM64 runners
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-07 20:41:20 +01:00
DL6ER 84d6e2db42 Try building on self-hosted GHA runner
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-07 20:12:12 +01:00
Dominik 7ef8e6c916 Merge pull request #1882 from pi-hole/merge-v5-6
Sync v5 -> v6
2024-03-02 18:30:31 +01:00