diff options
author | Álvaro Brey <alvaro.brey@nextcloud.com> | 2022-05-03 16:59:44 +0300 |
---|---|---|
committer | Álvaro Brey <alvaro.brey@nextcloud.com> | 2022-05-03 16:59:44 +0300 |
commit | 0ae42c892c83cf17dde7585f86d76d18ad0fe2cf (patch) | |
tree | acfbd2de32342245def2615c9791b66b9d9816b8 /.drone.yml | |
parent | 4be4974c7e339858ec11aeb882327231f13d2ebc (diff) |
Drone: test on stable 24drone-stable-24
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.drone.yml b/.drone.yml index fdf0a2128b..f9285fb521 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,8 +32,9 @@ services: image: ghcr.io/nextcloud/continuous-integration-server:latest # also change in updateScreenshots.sh environment: EVAL: true + SERVER_VERSION: 'stable24' commands: - - BRANCH='stable23' /usr/local/bin/initnc.sh + - BRANCH="$SERVER_VERSION" /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" @@ -42,11 +43,11 @@ services: - 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/activity.git /var/www/html/apps/activity/" + - su www-data -c "git clone -b $SERVER_VERSION 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 stable23 https://github.com/nextcloud/text.git /var/www/html/apps/text/" + - su www-data -c "git clone -b $SERVER_VERSION 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 stable23 https://github.com/nextcloud/end_to_end_encryption.git /var/www/html/apps/end_to_end_encryption/" + - su www-data -c "git clone -b $SERVER_VERSION 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 |