mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-17 18:39:01 +02:00
update docker image test
This commit is contained in:
27
.github/workflows/test-buildnumber.yml
vendored
27
.github/workflows/test-buildnumber.yml
vendored
@@ -1,27 +0,0 @@
|
|||||||
name: Buildnumber test
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repo
|
|
||||||
uses: actions/checkout@v4.1.7
|
|
||||||
with:
|
|
||||||
repository: 'buanet/ioBroker.docker'
|
|
||||||
token: ${{ secrets.ACTIONS_PAT }}
|
|
||||||
|
|
||||||
- name: Write build number
|
|
||||||
run: |
|
|
||||||
BUILD="$(date +"%Y%m%d.%H%M%S")"
|
|
||||||
echo "$BUILD" > .github/dependencies/.latest-build
|
|
||||||
echo "[LOG] Buildnumber: $BUILD"
|
|
||||||
|
|
||||||
- name: Commit latest release version
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'buanet'
|
|
||||||
git config --global user.email 'info@buanet.de'
|
|
||||||
git commit -am "new build"
|
|
||||||
git push
|
|
||||||
4
.github/workflows/testing-docker-image.yml
vendored
4
.github/workflows/testing-docker-image.yml
vendored
@@ -23,11 +23,11 @@ jobs:
|
|||||||
echo "[LOG] Done."
|
echo "[LOG] Done."
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "[LOG] Checking Web UI..."
|
echo "[LOG] Checking Web UI..."
|
||||||
curl --insecure http://127.0.0.1:8081 2> /dev/null | grep '<title>Admin</title>' &> /dev/null || exit 1
|
curl --insecure https://iobroker:8081 2> /dev/null | grep '<title>Admin</title>' &> /dev/null || exit 1
|
||||||
echo "[LOG] Done."
|
echo "[LOG] Done."
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "[LOG] Output testrun.log:"
|
echo "[LOG] Output testrun.log:"
|
||||||
cat testrun.log
|
cat testrun.log
|
||||||
echo ' '
|
echo ' '
|
||||||
echo "[LOG] Test sucesssful."
|
echo "[LOG] Test successful."
|
||||||
echo ' '
|
echo ' '
|
||||||
|
|||||||
Reference in New Issue
Block a user