File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ jobs:
247247 TEST_SERVER_ID : ${{ needs.setup-installation-test-instance.outputs.test_server_id }}
248248 VERSION : ${{ needs.setup-installation-test-instance.outputs.version }}
249249
250- UID : ${{ github.run_id }}-${TEST_TYPE}
250+ UID : ${{ github.run_id }}-${{ env. TEST_TYPE } }
251251 steps :
252252 - name : download ssh private key from artifact store
253253 uses : actions/download-artifact@v3
@@ -301,7 +301,7 @@ jobs:
301301 TEST_RESULT : ${{ needs.setup-update-test-instance.result }}
302302 TEST_SERVER_ID : ${{ needs.setup-update-test-instance.outputs.test_server_id }}
303303 VERSION : ${{ needs.setup-update-test-instance.outputs.version }}
304- UID : ${{ github.run_id }}-${TEST_TYPE}
304+ UID : ${{ github.run_id }}-${{ env. TEST_TYPE } }
305305 steps :
306306 - name : download ssh private key from artifact store
307307 uses : actions/download-artifact@v3
Original file line number Diff line number Diff line change @@ -35,7 +35,3 @@ while :; do
3535 break
3636done
3737
38- [[ -z " $nc_domain " ]] || {
39- echo " Starting notify_push daemon"
40- start_notify_push
41- }
Original file line number Diff line number Diff line change @@ -61,10 +61,8 @@ for file in $( ls -1v /etc/services-enabled.d | grep -v ^000.* ); do
6161 /etc/services-enabled.d/" $file " start " $1 "
6262done
6363
64- # wait for trap from 'docker stop'
65- echo " Init done"
6664
67- if [[ -z " $NOBACKUP " ]] || [[ " $NOBACKUP " != " true" ]]
65+ if [[ -z " $NOBACKUP " ]] || [[ " $NOBACKUP " != " true" ]] && ! a2query -s ncp-activation -q
6866then
6967 BKPDIR=/data/docker-startup-backups
7068 WITH_DATA=no
7573 ncp-backup " $BKPDIR " " $WITH_DATA " " $COMPRESSED " " $LIMIT " || echo ' WARN: Backup creation failed'
7674fi
7775
76+ # wait for trap from 'docker stop'
77+ echo " Init done"
7878while true ; do sleep 0.5; done
7979
8080
Original file line number Diff line number Diff line change 5555echo " Provisioning"
5656bash /usr/local/bin/ncp-provisioning.sh
5757
58+ echo " Starting notify_push daemon"
59+ start_notify_push
60+
5861if needs_decrypt; then
5962 echo " Waiting for user to decrypt instance"
6063 while : ; do
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ function set-nc-domain()
163163 fi
164164}
165165
166- function start_notify_push
166+ function start_notify_push()
167167{
168168 pgrep notify_push & > /dev/null && return
169169 if [[ -f /.docker-image ]]; then
You can’t perform that action at this time.
0 commit comments