File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ ARG UID=991
4343ARG GID=991
4444
4545RUN apk add --no-cache \
46+ 'curl>=8' \
4647 'gcompat>=0' \
4748 'tzdata>=2024' \
4849 'libxml2>=2' \
Original file line number Diff line number Diff line change @@ -51,6 +51,19 @@ task :test do
5151 Output . describe 'Listing docker containers matching html2rss-web-test filter'
5252 sh 'docker ps -a --filter name=html2rss-web-test'
5353
54+ Output . describe 'Expect health status to be healthy'
55+ 5 . times do
56+ health_status = `docker inspect --format='{{.State.Health.Status}}' html2rss-web-test` . strip
57+
58+ if health_status == 'healthy'
59+ puts '✅ Health status reports healthy'
60+ break
61+ else
62+ putc '.'
63+ sleep 1
64+ end
65+ end
66+
5467 Output . describe 'Generating feed from a html2rss-configs config'
5568 sh 'curl -f http://127.0.0.1:3000/dfs.de/pressemitteilungen.rss || exit 1'
5669
You can’t perform that action at this time.
0 commit comments