File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,8 +215,9 @@ jobs:
215215 }
216216 - name : perform update
217217 working-directory : /ncp-test-automation/bin
218+ shell : bash
218219 run : |
219- set -e
220+ set -ex
220221
221222 echo "Setup ssh"
222223 chmod 0600 /__w/nextcloudpi/nextcloudpi/.ssh/automation_ssh_key
@@ -230,12 +231,12 @@ jobs:
230231 ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" "DBG=x ncp-update '$VERSION'"
231232 echo "Updating Nextcloud"
232233
233- ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" "ncc status" | grep "version:" | awk '{ print $3 }')"
234+ ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" "ncc status" | grep "version:" | awk '{ print $3 }'
234235 latest_nc_version="$(cat /__w/nextcloudpi/nextcloudpi/etc/ncp.cfg | jq -r '.nextcloud_version')"
235236
236237 for i in {1..10};
237238 do
238- echo "running nc update ( $i/10) ..."
239+ echo "running nc update $i/10..."
239240 ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" "DBG=x ncp-update-nc ${latest_nc_version?}"
240241
241242 ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" /usr/local/bin/ncc status
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ install()
4040 install_with_shadow_workaround --no-install-recommends systemd
4141 $APTINSTALL -t $RELEASE php${PHPVER} php${PHPVER} -curl php${PHPVER} -gd php${PHPVER} -fpm php${PHPVER} -cli php${PHPVER} -opcache \
4242 php${PHPVER} -mbstring php${PHPVER} -xml php${PHPVER} -zip php${PHPVER} -fileinfo php${PHPVER} -ldap \
43- php${PHPVER} -intl php${PHPVER} -bz2
43+ php${PHPVER} -intl php${PHPVER} -bz2 php ${PHPVER} -apcu
4444
4545 mkdir -p /run/php
4646
Original file line number Diff line number Diff line change 22
33set -eu
44
5- ncc config:system:set serverid --value=" $(( RANDOM % 1024 )) " --type=integer
5+ source /usr/local/etc/library.sh
6+
7+ ncc config:system:set serverid --value=
8+ sudo apt-get install php${PHPVER} -apcu
You can’t perform that action at this time.
0 commit comments