File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,16 +72,22 @@ jobs:
7272
7373 - name : Test
7474 if : ${{ !cancelled() && steps.auto_install_upgrade.conclusion == 'success' }}
75- # The auto-install script installs docker-openwisp by default in
76- # /opt/openwisp/docker-openwisp. To ensure the test runs correctly
77- # and environment variables remain intact, it is essential to
78- # execute the test from this directory.
79- run : |
80- (make develop-pythontests && make stop) || (docker compose logs && exit 1)
81- working-directory : /opt/openwisp/docker-openwisp
75+ uses : openwisp/openwisp-utils/.github/actions/retry-command@master
76+ with :
77+ delay_seconds : 30
78+ max_attempts : 5
79+ # The auto-install script installs docker-openwisp by default in
80+ # /opt/openwisp/docker-openwisp. To ensure the test runs correctly
81+ # and environment variables remain intact, it is essential to
82+ # execute the test from this directory.
83+ command : cd /opt/openwisp/docker-openwisp && make develop-pythontests && make stop
8284 env :
8385 SELENIUM_HEADLESS : 1
8486
87+ - name : Print docker logs
88+ if : ${{ failure() }}
89+ run : docker compose logs
90+
8591 # the following action is equivalent to
8692 # echo "$DOCKER_HUB_SECRET" | docker login --username "$DOCKER_HUB_USERNAME" --password-stdin
8793 - name : Login to Docker Hub
Original file line number Diff line number Diff line change 1- FROM alpine:3.20
1+ FROM alpine:3.21
22
33# hadolint ignore=DL3018
44RUN apk add --no-cache --update --verbose \
5- tzdata~=2024b -r0 \
6- nfs-utils~=2.6.4-r1 && \
5+ tzdata~=2025b -r0 \
6+ nfs-utils~=2.6.4-r3 && \
77 rm -rf /var/cache/apk/* /tmp/*
88
99COPY ./openwisp_nfs/init_command.sh /init_command.sh
Original file line number Diff line number Diff line change 1- FROM nginx:1.27.3 -alpine
1+ FROM nginx:1.27.4 -alpine
22
33RUN apk add --update --no-cache \
4- openssl~=3.3.2-r1 \
5- py3-pip~=24.0-r2 \
6- certbot~=2.10.0-r1 \
7- certbot-nginx~=2.10.0-r1 && \
4+ openssl~=3.3.3-r0 \
5+ py3-pip~=24.3.1-r0 \
6+ certbot~=3.0.1-r0 \
7+ certbot-nginx~=3.0.1-r0 && \
88 rm -rf /var/cache/apk/* /tmp/*
99
1010WORKDIR /etc/nginx/
Original file line number Diff line number Diff line change 1- FROM alpine:3.20
1+ FROM alpine:3.21
22
33WORKDIR /opt/openwisp/
44RUN apk add --no-cache --upgrade \
5- openssl~=3.3.2-r1 \
6- cyrus-sasl~=2.1.28-r6 \
7- cyrus-sasl-login~=2.1.28-r6 && \
5+ openssl~=3.3.3-r0 \
6+ cyrus-sasl~=2.1.28-r8 \
7+ cyrus-sasl-login~=2.1.28-r8 && \
88 apk add --no-cache \
9- postfix~=3.9.1 -r0 \
10- rsyslog~=8.2404 .0-r0 \
11- tzdata~=2024b -r0 && \
9+ postfix~=3.9.3 -r0 \
10+ rsyslog~=8.2410 .0-r0 \
11+ tzdata~=2025b -r0 && \
1212 rm -rf /tmp/* /var/cache/apk/*
1313
1414CMD ["sh" , "init_command.sh" ]
Original file line number Diff line number Diff line change 11docker~=7.1.0
2- openwisp-utils[qa,selenium]~=1.1.1
2+ openwisp-utils[qa,selenium] @ https://github.com/openwisp/openwisp-utils/tarball/1.2
You can’t perform that action at this time.
0 commit comments