diff options
author | Tim Krüger <t@timkrueger.me> | 2021-12-21 12:47:54 +0300 |
---|---|---|
committer | Tim Krüger <t@timkrueger.me> | 2021-12-21 13:14:13 +0300 |
commit | 81734bd647ca9ff023f062d7111af84360bc6641 (patch) | |
tree | 17c06292bbf7d12b9f6975d287e154e59be35888 /.drone.yml | |
parent | c70f60851966f7f81cbc232ef9c395571baffe8f (diff) |
Add test for login flow
Signed-off-by: Tim Krüger <t@timkrueger.me>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/.drone.yml b/.drone.yml index 211e098d1..4f33e4cd6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,28 +47,24 @@ steps: - scripts/wait_for_emulator.sh - ./gradlew --console=plain testGplayDebugUnitTest connectedGplayDebugAndroidTest -#services: -# - name: server -# image: nextcloudci/server:server-17 # also change in updateScreenshots.sh -# environment: -# EVAL: true -# commands: -# - BRANCH='stable22' /usr/local/bin/initnc.sh -# - echo 127.0.0.1 server >> /etc/hosts -# - su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1" -# - su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2" -# - su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3" -# - su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G" -# - su www-data -c "php /var/www/html/occ group:add users" -# - su www-data -c "php /var/www/html/occ group:adduser users user1" -# - su www-data -c "php /var/www/html/occ group:adduser users user2" -# - su www-data -c "git clone -b stable22 https://github.com/nextcloud/activity.git /var/www/html/apps/activity/" -# - su www-data -c "php /var/www/html/occ app:enable activity" -# - su www-data -c "git clone -b stable22 https://github.com/nextcloud/text.git /var/www/html/apps/text/" -# - su www-data -c "php /var/www/html/occ app:enable text" -# - su www-data -c "git clone -b stable22 https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/" -# - su www-data -c "php /var/www/html/occ app:enable end_to_end_encryption" -# - /usr/local/bin/run.sh +services: + - name: server + image: nextcloudci/server:server-17 + environment: + EVAL: "true" + commands: + - BRANCH='stable23' /usr/local/bin/initnc.sh + - echo 127.0.0.1 server >> /etc/hosts + - su www-data -c "OC_PASS=user1 php /var/www/html/occ user:add --password-from-env --display-name='User One' user1" + - su www-data -c "OC_PASS=user2 php /var/www/html/occ user:add --password-from-env --display-name='User Two' user2" + - su www-data -c "OC_PASS=user3 php /var/www/html/occ user:add --password-from-env --display-name='User Three' user3" + - su www-data -c "php /var/www/html/occ user:setting user2 files quota 1G" + - su www-data -c "php /var/www/html/occ group:add users" + - su www-data -c "php /var/www/html/occ group:adduser users user1" + - su www-data -c "php /var/www/html/occ group:adduser users user2" + - su www-data -c "git clone -b stable23 https://github.com/nextcloud/spreed.git /var/www/html/apps/spreed/" + - su www-data -c "php /var/www/html/occ app:enable spreed" + - /usr/local/bin/run.sh trigger: branch: |