diff options
author | Álvaro Brey <alvaro.brey@nextcloud.com> | 2022-10-19 11:57:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 11:57:38 +0300 |
commit | ca986968fb7ce231a7ac994eda09f01f25c1b8bf (patch) | |
tree | 660b6ac2d147f36297ba690fcb0d67166e878c1f | |
parent | 0c3c874f71c033cb4804ee6e7711642351d290cf (diff) | |
parent | f50fddf2e97247b48794e1990b3ec2d76b89f9b0 (diff) |
Merge pull request #975 from nextcloud/fixExternal
external app needs composer
-rw-r--r-- | .drone.yml | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -59,6 +59,7 @@ services: - name: server-master image: ghcr.io/nextcloud/continuous-integration-server:latest commands: + - apt-get update && apt-get install -y composer - /usr/local/bin/initnc.sh - su www-data -c "php /var/www/html/occ log:manage --level warning" - su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1" @@ -79,6 +80,7 @@ services: - su www-data -c "git clone -b master https://github.com/nextcloud/password_policy/ /var/www/html/apps/password_policy/" - su www-data -c "php /var/www/html/occ app:enable password_policy" - su www-data -c "git clone -b master https://github.com/nextcloud/external/ /var/www/html/apps/external/" + - su www-data -c "cd /var/www/html/apps/external; composer install --no-dev" - su www-data -c "php /var/www/html/occ app:enable external" - su www-data -c 'php /var/www/html/occ config:app:set external sites --value="{\"1\":{\"id\":1,\"name\":\"Nextcloud\",\"url\":\"https:\/\/www.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false},\"2\":{\"id\":2,\"name\":\"Forum\",\"url\":\"https:\/\/help.nextcloud.com\",\"lang\":\"\",\"type\":\"link\",\"device\":\"\",\"icon\":\"external.svg\",\"groups\":[],\"redirect\":false}}"' - su www-data -c "git clone -b master https://github.com/nextcloud/files_lock.git /var/www/html/apps/files_lock/" |