Skip to content

Commit

Permalink
Merge pull request #365 from buanet/beta
Browse files Browse the repository at this point in the history
beta to main
  • Loading branch information
buanet authored Aug 15, 2023
2 parents 47bccc9 + dbae1ff commit 048603b
Show file tree
Hide file tree
Showing 23 changed files with 260 additions and 459 deletions.
2 changes: 1 addition & 1 deletion .VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v8.1.0-beta.2
v8.1.0
4 changes: 2 additions & 2 deletions .github/workflows/build-debian-image-beta-node20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v3.5.3
with:
repository: 'buanet/ioBroker.docker'
ref: ${{ env.RELEASE_TAG }}
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected].0
uses: docker/[email protected].1

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-debian-image-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v3.5.3
with:
repository: 'buanet/ioBroker.docker'
ref: ${{ env.RELEASE_TAG }}
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected].0
uses: docker/[email protected].1

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-debian-image-dev-node20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
repository: 'buanet/ioBroker.docker'

Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected].0
uses: docker/[email protected].1

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-debian-image-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected].0
uses: actions/[email protected].3
with:
repository: 'buanet/ioBroker.docker'

Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected].0
uses: docker/[email protected].1

- name: Login to DockerHub
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-debian-image-latest-iob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v3.5.3
with:
repository: 'buanet/ioBroker.docker'
ref: ${{ env.RELEASE_TAG }}
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected].0
uses: docker/[email protected].1

- name: Login to DockerHub (iobroker)
uses: docker/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-debian-image-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
echo "RELEASE_TAG=$LATESTRELEASE" >> $GITHUB_ENV
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v3.5.3
with:
repository: 'buanet/ioBroker.docker'
ref: ${{ env.RELEASE_TAG }}
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/[email protected].0
uses: docker/[email protected].1
- name: Login to DockerHub (buanet)
uses: docker/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-iobroker-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v3.5.3
with:
repository: 'buanet/ioBroker.docker'
token: ${{ secrets.ACTIONS_PAT }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-docker-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
update-docker-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3.5.3

- name: Update Docker Hub Readme (buanet)
uses: peter-evans/dockerhub-description@v3
uses: peter-evans/dockerhub-description@v3.4.2
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
Expand All @@ -24,7 +24,7 @@ jobs:
readme-filepath: ./docs/README_docker_hub_buanet.md

- name: Update Docker Hub Readme (iobroker)
uses: peter-evans/dockerhub-description@v3
uses: peter-evans/dockerhub-description@v3.4.2
with:
username: ${{ secrets.DOCKER_USER_IOB }}
password: ${{ secrets.DOCKER_PASS_IOB }}
Expand Down
21 changes: 16 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
## Changelog

### v8.1.0-beta.2 (coming soon)
* prohibit restore when startup script is still running
* extend time before restart after restore is done
* influx data repo will be added automatically when PACKAGES contains influxdb or influxdb2-cli package
### v8.1.0 (15.08.2023)
* repo cleanup
* v8.1.0-beta.4 (29.07.2023)
* fix container restart in maintenance script
* fix running maintenance script as iobroker
* enhance quoting ([#357 by @dontobi](https://github.com/buanet/ioBroker.docker/pull/357))
* v8.1.0-beta.3 (05.07.2023)
* fix permission issue for restart container as iobroker user
* fix issue with js-controller ui upgrade
* fix small issues in maintenance script
* update action workflows
* v8.1.0-beta.2 (26.04.2023)
* prohibit restore when startup script is still running
* extend time before restart after restore is done
* influx data repo will be added automatically when PACKAGES contains influxdb or influxdb2-cli package
* v8.1.0-beta.1 (14.04.2023)
* enhance github actions
* enhance log output of maintenance script on restore ([#333](https://github.com/buanet/ioBroker.docker/issues/333))
Expand Down Expand Up @@ -276,4 +287,4 @@
* added support for avahi-daemon (installation and autostart)

### v0.0.1 (2017-01-31)
* project started / initial release
* project started / initial release
97 changes: 0 additions & 97 deletions debian/node12/Dockerfile

This file was deleted.

97 changes: 0 additions & 97 deletions debian/node14/Dockerfile

This file was deleted.

8 changes: 4 additions & 4 deletions debian/scripts/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@

if [ "$(cat /opt/scripts/.docker_config/.healthcheck)" == "starting" ]
then
echo 'Health status: OK - Startup script is still running.'
echo "Health status: OK - Startup script is still running."
exit 0
elif [ "$(cat /opt/scripts/.docker_config/.healthcheck)" == "maintenance" ]
then
echo 'Health status: OK - Container is running in maintenance mode.'
echo "Health status: OK - Container is running in maintenance mode."
exit 0
elif [ "$(ps -fe|grep "[i]obroker.js-controller"|awk '{print $2}')" != "" ]
then
echo 'Health status: OK - Main process (js-controller) is running.'
echo "Health status: OK - Main process (js-controller) is running."
exit 0
fi

echo 'Health status: !!! NOT OK !!! - Something went wrong. Please see container logs for more details and/or try restarting the container.'
echo "Health status: !!! NOT OK !!! - Something went wrong. Please see container logs for more details and/or try restarting the container."
exit 1
Loading

0 comments on commit 048603b

Please sign in to comment.