Compare commits
8 Commits
v6.2.2
...
7df117876f
| Author | SHA1 | Date | |
|---|---|---|---|
| 7df117876f | |||
| ff75860de3 | |||
| 4ff250edac | |||
| 2e24c2d805 | |||
| c7ebaece92 | |||
| 766e61c52a | |||
| 558f0c4bf7 | |||
| 23e48cf544 |
@@ -29,12 +29,12 @@ jobs:
|
|||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
-
|
-
|
||||||
name: Initialize CodeQL
|
name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@4e94bd11f71e507f7f87df81788dff88d1dacbfb #v4.31.0
|
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee #v4.31.2
|
||||||
with:
|
with:
|
||||||
languages: 'python'
|
languages: 'python'
|
||||||
-
|
-
|
||||||
name: Autobuild
|
name: Autobuild
|
||||||
uses: github/codeql-action/autobuild@4e94bd11f71e507f7f87df81788dff88d1dacbfb #v4.31.0
|
uses: github/codeql-action/autobuild@0499de31b99561a6d14a36a5f662c2a54f91beee #v4.31.2
|
||||||
-
|
-
|
||||||
name: Perform CodeQL Analysis
|
name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@4e94bd11f71e507f7f87df81788dff88d1dacbfb #v4.31.0
|
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee #v4.31.2
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ jobs:
|
|||||||
fedora_40,
|
fedora_40,
|
||||||
fedora_41,
|
fedora_41,
|
||||||
fedora_42,
|
fedora_42,
|
||||||
|
fedora_43,
|
||||||
alpine_3_21,
|
alpine_3_21,
|
||||||
alpine_3_22,
|
alpine_3_22,
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ extra_started_commands="reload"
|
|||||||
|
|
||||||
respawn_max=5
|
respawn_max=5
|
||||||
respawn_period=60
|
respawn_period=60
|
||||||
capabilities="^CAP_NET_BIND_SERVICE,CAP_NET_RAW,CAP_NET_ADMIN,CAP_SYS_NICE,CAP_IPC_LOCK,CAP_CHOWN,CAP_SYS_TIME"
|
capabilities="^CAP_NET_BIND_SERVICE,^CAP_NET_RAW,^CAP_NET_ADMIN,^CAP_SYS_NICE,^CAP_IPC_LOCK,^CAP_CHOWN,^CAP_SYS_TIME"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
want net
|
want net
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ EOM
|
|||||||
)
|
)
|
||||||
|
|
||||||
# List of required packages on APK based systems
|
# List of required packages on APK based systems
|
||||||
PIHOLE_META_VERSION_APK=0.1
|
PIHOLE_META_VERSION_APK=0.2
|
||||||
PIHOLE_META_DEPS_APK=(
|
PIHOLE_META_DEPS_APK=(
|
||||||
bash
|
bash
|
||||||
bash-completion
|
bash-completion
|
||||||
@@ -165,6 +165,8 @@ PIHOLE_META_DEPS_APK=(
|
|||||||
cronie
|
cronie
|
||||||
curl
|
curl
|
||||||
dialog
|
dialog
|
||||||
|
doas # sudo replacement
|
||||||
|
doas-sudo-shim
|
||||||
git
|
git
|
||||||
grep
|
grep
|
||||||
iproute2-minimal # piholeARPTable.sh
|
iproute2-minimal # piholeARPTable.sh
|
||||||
@@ -178,7 +180,6 @@ PIHOLE_META_DEPS_APK=(
|
|||||||
procps-ng
|
procps-ng
|
||||||
psmisc
|
psmisc
|
||||||
shadow
|
shadow
|
||||||
sudo
|
|
||||||
tzdata
|
tzdata
|
||||||
unzip
|
unzip
|
||||||
wget
|
wget
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
FROM fedora:43
|
||||||
|
RUN dnf install -y git initscripts
|
||||||
|
|
||||||
|
ENV GITDIR=/etc/.pihole
|
||||||
|
ENV SCRIPTDIR=/opt/pihole
|
||||||
|
|
||||||
|
RUN mkdir -p $GITDIR $SCRIPTDIR /etc/pihole
|
||||||
|
ADD . $GITDIR
|
||||||
|
RUN cp $GITDIR/advanced/Scripts/*.sh $GITDIR/gravity.sh $GITDIR/pihole $GITDIR/automated\ install/*.sh $GITDIR/advanced/Scripts/COL_TABLE $SCRIPTDIR/
|
||||||
|
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$SCRIPTDIR
|
||||||
|
|
||||||
|
RUN true && \
|
||||||
|
chmod +x $SCRIPTDIR/*
|
||||||
|
|
||||||
|
ENV SKIP_INSTALL=true
|
||||||
|
|
||||||
|
#sed '/# Start the installer/Q' /opt/pihole/basic-install.sh > /opt/pihole/stub_basic-install.sh && \
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
[tox]
|
||||||
|
envlist = py3
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
allowlist_externals = docker
|
||||||
|
deps = -rrequirements.txt
|
||||||
|
setenv =
|
||||||
|
COLUMNS=120
|
||||||
|
commands = docker buildx build --load --progress plain -f _fedora_43.Dockerfile -t pytest_pihole:test_container ../
|
||||||
|
pytest {posargs:-vv -n auto} ./test_any_automated_install.py ./test_any_utils.py ./test_centos_fedora_common_support.py
|
||||||
Reference in New Issue
Block a user