Commit Graph

2141 Commits

Author SHA1 Message Date
Adam Warner
89eb7f6b0d Correct the documentation for the TAIL_FTL_LOG variable 2024-09-25 15:28:01 +01:00
yubiuser
5f3b829dc5 Merge pull request #1648 from pi-hole/dependabot/pip/test/development/pytest-8.3.3
Bump pytest from 8.3.2 to 8.3.3 in /test
2024-09-14 12:52:36 +02:00
dependabot[bot]
3070e68ca8 Bump pytest from 8.3.2 to 8.3.3 in /test
Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.2 to 8.3.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.3.2...8.3.3)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-14 10:50:57 +00:00
yubiuser
c020a70d0c Merge pull request #1647 from IngmarStein/patch-1
Update README.md
2024-09-14 09:55:52 +02:00
Ingmar Stein
39f5df9866 Update README.md
Add a missing word in the description of the `TAIL_FTL_LOG` variable.

Signed-off-by: Ingmar Stein <IngmarStein@users.noreply.github.com>
2024-09-14 09:49:48 +02:00
RD WebDesign
a780403fa5 Tweak Readme text and formatting
mainly format changes, removal of trailing spaces, addition or removal
of line breaks and some text corrections

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-09-13 16:29:42 -03:00
RD WebDesign
ca7637decd Use the same logo and header used in web repo
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-09-13 16:04:04 -03:00
RD WebDesign
17279be549 Use a better format for the "BREAKING CHANGES" alert
and set the new version number to v6

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-09-13 16:02:36 -03:00
Adam Warner
563179499c Add some hardening to the build script. Check if system has docker buildx installed. When using custom branches, check they actuall exist before proceeding with the build
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-13 18:43:51 +01:00
Adam Warner
4c058620bf Merge pull request #1645 from pi-hole/fix-tests
Fix development tests
2024-09-13 18:43:17 +01:00
Adam Warner
af8863a156 Clean Shutdown test: Remove check for the "Shutting down..." line in FTL log as this is now only printed when debug logging is on
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-13 18:36:47 +01:00
Adam Warner
3454f65bb3 Merge pull request #1643 from pi-hole/sanity-check-downloaded-FTL
Confirm validity of downloaded FTL binary when building
2024-09-11 21:11:17 +01:00
Adam Warner
e938d1a39b Actually do something with the result of readelf in case of invalid FTL binary
Remove the `cat` of the pihole-FTL binary as it could lead to a very difficult to read logs
Add some more helpful output to the build script

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-11 19:09:35 +01:00
Adam Warner
2823d1d1ce Merge pull request #1641 from pi-hole/migrage-dnsmasq-conf
Migrate old Pi-hole owned dnsmasq config files into /etc/pihole/migration_backup_v6
2024-09-06 15:51:20 +01:00
Adam Warner
df97235946 Migrate the dnsmasq.d configs that are owned by Pi-hole into /etc/pihole/migration_backup_v6, where FTL expects to find them
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-05 19:30:01 +01:00
Adam Warner
a5d4e0727f Merge pull request #1639 from pi-hole/master
Sync master back into development
2024-09-02 22:42:48 +01:00
Adam Warner
f9d305635d Merge branch 'development' into master 2024-09-02 22:42:38 +01:00
yubiuser
15085ce33e Merge pull request #1635 from pi-hole/dependabot/pip/test/development/pytest-xdist-3.6.1
Bump pytest-xdist from 3.5.0 to 3.6.1 in /test
2024-09-02 23:31:05 +02:00
dependabot[bot]
8a2c70e961 Bump pytest-xdist from 3.5.0 to 3.6.1 in /test
Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 3.5.0 to 3.6.1.
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v3.5.0...v3.6.1)

---
updated-dependencies:
- dependency-name: pytest-xdist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 21:30:03 +00:00
yubiuser
1ae858253a Merge pull request #1637 from pi-hole/dependabot/pip/test/development/pytest-8.3.2
Bump pytest from 7.4 to 8.3.2 in /test
2024-09-02 23:29:07 +02:00
dependabot[bot]
1a77fbdb81 Bump pytest from 7.4 to 8.3.2 in /test
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4 to 8.3.2.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.0...8.3.2)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 21:26:11 +00:00
yubiuser
98eb89d107 Merge pull request #1638 from pi-hole/dependabot/pip/test/development/pytest-testinfra-10.1.1
Bump pytest-testinfra from 10.0.0 to 10.1.1 in /test
2024-09-02 23:25:24 +02:00
dependabot[bot]
adc64d0db5 Bump pytest-testinfra from 10.0.0 to 10.1.1 in /test
Bumps [pytest-testinfra](https://github.com/pytest-dev/pytest-testinfra) from 10.0.0 to 10.1.1.
- [Release notes](https://github.com/pytest-dev/pytest-testinfra/releases)
- [Changelog](https://github.com/pytest-dev/pytest-testinfra/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-testinfra/compare/10.0.0...10.1.1)

---
updated-dependencies:
- dependency-name: pytest-testinfra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 21:23:36 +00:00
yubiuser
a9a9a9a6ff Merge pull request #1636 from pi-hole/dependabot/pip/test/development/black-24.8.0
Bump black from 23.12.0 to 24.8.0 in /test
2024-09-02 23:22:49 +02:00
Adam Warner
a796a89d61 Merge branch 'development' into master
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 22:19:00 +01:00
Adam Warner
4cb3c3a16d Update branch name in sync-back-to-dev workflow
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 22:18:02 +01:00
dependabot[bot]
34f6116c83 Bump black from 23.12.0 to 24.8.0 in /test
Bumps [black](https://github.com/psf/black) from 23.12.0 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/23.12.0...24.8.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 21:16:07 +00:00
Adam Warner
f96fddda41 Merge pull request #1633 from pi-hole/sort-master-scheduled-build
[Housekeeping] Bring build script across from development
2024-09-02 22:15:38 +01:00
Adam Warner
bd54136d08 update dependabot.yml to run against development not dev - remove v6 references
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 22:09:55 +01:00
Adam Warner
fa5344e16c remove old build scripts from master (we wont use them again) and bring accross the v6 one so that the nightly image is built using the correct branches
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 22:05:41 +01:00
Adam Warner
c38a6ea487 Merge pull request #1626 from pi-hole/development-v6
Development v6 -> dev
2024-09-02 21:59:46 +01:00
Adam Warner
d00f17f169 Merge pull request #1632 from pi-hole/build-scripts-once-v6-in-dev
Final changes for merge to `development`
2024-09-02 21:57:57 +01:00
Adam Warner
9e39ed34e0 Disbale arm64 testing for the time being
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 21:55:43 +01:00
Adam Warner
32c57752cf dev branch becomes development
Default the component branches in Dockerfile to be `development` (might change to master after full v6 release)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 21:46:22 +01:00
Adam Warner
7a33749f4e Set the flavor and tags in the metadata base on the current build yaml for v5 namely:
- schedule = nightly
 - latest = only on tag/publish
 - else branch name (on dev)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 18:36:20 +01:00
Adam Warner
26d0b85942 Quick rename (makes it easier to find in the required checks list)
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 18:13:20 +01:00
Adam Warner
b012c809b1 Add src/pihole-FTL to .gitignore
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-09-02 17:34:47 +01:00
Adam Warner
442480448f Merge pull request #1629 from pi-hole/v6/migrate-v5-checks
Be more graceful when detecting a v5->v6 migration
2024-09-02 17:32:44 +01:00
Adam Warner
5a9e67025b * Clean up some of the output for the container startup
* Only start tailing pihole-FTL log from most recent pihole-FTL start
* If v5 config files are detected, but no v6 files are, then we must defer some of the configuration until after FTL has migrated the files
* move some of the logic from start into bash_functions to make it easier to follow the start

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-08-25 22:29:20 +01:00
Adam Warner
bcc63933ae Merge pull request #1628 from pi-hole/default_tag
Set default tag for locally build images to pihole:local
2024-08-25 13:51:42 +01:00
Adam Warner
794ba9a552 Update Readme to reflect new local image tag name
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-08-25 13:45:08 +01:00
yubiuser
c0fa8de914 Set default tag for locally build images to pihole:local
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-25 11:51:13 +02:00
Adam Warner
13798f0987 Merge branch 'dev' into development-v6 2024-08-17 22:30:24 +01:00
Adam Warner
353094cf43 correct directory for local FTL binary
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-08-14 17:57:05 +01:00
Adam Warner
1c7d276aa2 Merge pull request #1621 from pi-hole/update-alpine
Bump alpine to 3.20
2024-08-09 14:50:16 +01:00
yubiuser
953cee4019 No need to remember to update the python version
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 12:21:08 +02:00
yubiuser
c0d822f35e Fix tests
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-07 21:45:19 +02:00
Adam Warner
1c6c1b3075 bump alpine to 3.20
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2024-08-06 16:18:10 +01:00
yubiuser
6239412098 Merge pull request #1620 from pi-hole/dependabot/pip/test/dev/black-24.8.0
Bump black from 24.4.2 to 24.8.0 in /test
2024-08-03 13:42:05 +02:00
dependabot[bot]
9a48b6daa1 Bump black from 24.4.2 to 24.8.0 in /test
Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-03 10:54:53 +00:00