-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update wallabag to v2.6.0 * update actions * update wallabag download url * update version and try automatic update * run updates via console * start using mailer_dsn --------- Co-authored-by: root <[email protected]>
- Loading branch information
Showing
12 changed files
with
111 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
name: Check Wallabag Version | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' # Run daily at 00:00 | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check_updates: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check for new version and update Dockerfile | ||
id: check_version | ||
run: | | ||
n_vers=$(curl --silent "https://api.github.com/repos/wallabag/wallabag/releases/latest" | jq -r .tag_name) | ||
echo "new_version=$n_vers" >> $GITHUB_OUTPUT | ||
echo "version is $n_vers" | ||
- name: Update Dockerfile | ||
run: | | ||
grep "ENV WALLABAG_VERSION=" wallabag/Dockerfile | cut -d= -f2 | ||
sed -i "s/ENV WALLABAG_VERSION=.*/ENV WALLABAG_VERSION=${{ steps.check_version.outputs.new_version }}/" wallabag/Dockerfile | ||
- name: Check if Dockerfile has changed | ||
uses: tj-actions/verify-changed-files@v17 | ||
id: verify_changed_files | ||
with: | ||
files: | | ||
wallabag/Dockerfile | ||
- name: Create PR | ||
if: steps.verify_changed_files.outputs.files_changed == 'true' | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
token: ${{ secrets.DISPATCH_TOKEN }} | ||
commit-message: "update wallabag to version ${{ steps.check_version.outputs.new_version }}" | ||
branch: "new_wallabag_version_${{ steps.check_version.outputs.new_version }}" | ||
delete-branch: true | ||
base: "main" | ||
title: "Update Wallabag version" | ||
body: "Update Wallabag to version ${{ steps.check_version.outputs.new_version }}" | ||
labels: "enhancement" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
build_from: | ||
armv7: "ghcr.io/hassio-addons/debian-base/armv7:5.3.1" | ||
aarch64: "ghcr.io/hassio-addons/debian-base/aarch64:5.3.1" | ||
amd64: "ghcr.io/hassio-addons/debian-base/amd64:5.3.1" | ||
i386: "ghcr.io/hassio-addons/debian-base/i386:5.3.1" | ||
armv7: "ghcr.io/hassio-addons/debian-base/armv7:7.1.0" | ||
aarch64: "ghcr.io/hassio-addons/debian-base/aarch64:7.1.0" | ||
amd64: "ghcr.io/hassio-addons/debian-base/amd64:7.1.0" | ||
i386: "ghcr.io/hassio-addons/debian-base/i386:7.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#!/usr/bin/execlineb -S0 | ||
#!/usr/bin/env bashio | ||
# ============================================================================== | ||
# Home Assistant Community Add-on: Firefly III | ||
# Home Assistant Add-on: Wallabag | ||
# Take down the S6 supervision tree when Nginx fails | ||
# s6-overlay docs: https://github.com/just-containers/s6-overlay | ||
# ============================================================================== | ||
if -n { s6-test $# -ne 0 } | ||
if -n { s6-test ${1} -eq 256 } | ||
|
||
s6-svscanctl -t /var/run/s6/services | ||
if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then | ||
bashio::log.warning "Halt add-on" | ||
exec /run/s6/basedir/bin/halt | ||
fi | ||
|
||
bashio::log.info "Service restart after closing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
#!/usr/bin/execlineb -S0 | ||
#!/usr/bin/env bashio | ||
# ============================================================================== | ||
# Home Assistant Community Add-on: Firefly III | ||
# Home Assistant Add-on: Wallabag | ||
# Take down the S6 supervision tree when PHP FPM fails | ||
# s6-overlay docs: https://github.com/just-containers/s6-overlay | ||
# ============================================================================== | ||
if -n { s6-test $# -ne 0 } | ||
if -n { s6-test ${1} -eq 256 } | ||
|
||
s6-svscanctl -t /var/run/s6/services | ||
if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then | ||
bashio::log.warning "Halt add-on" | ||
exec /run/s6/basedir/bin/halt | ||
fi | ||
|
||
bashio::log.info "Service restart after closing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ fi | |
|
||
bashio::log.info "Starting PHP-FPM..." | ||
|
||
exec php-fpm8.1 --nodaemonize | ||
exec php-fpm8.2 --nodaemonize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters