summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2019-10-08 08:49:55 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2019-10-08 08:49:55 +0200
commitd9b87123a272fd2e0dab3e17f606cf5b07a6ea4b (patch)
treee45e65b840cba9d96547feabc99fb9a543d75bab /.drone.yml
parent76bdced6e3790c554cfa035235e2b6cb45706b7d (diff)
downloadnextcloud-server-d9b87123a272fd2e0dab3e17f606cf5b07a6ea4b.tar.gz
nextcloud-server-d9b87123a272fd2e0dab3e17f606cf5b07a6ea4b.zip
Kill ui-regression ci job
Since we do not use it at the moment anyway it seems like a waste of resources to actually run it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml55
1 files changed, 0 insertions, 55 deletions
diff --git a/.drone.yml b/.drone.yml
index ba599a4df1c..24a826794fb 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -2373,58 +2373,3 @@ trigger:
- pull_request
- push
----
-kind: pipeline
-name: ui-regression
-
-steps:
-- name: submodules
- image: docker:git
- commands:
- - git submodule update --init
-- name: ui-regression
- image: nextcloudci/ui-regression:ui-regression-1
- commands:
- - cd tests/ui-regression
- - npm install
- - chown -R pptruser out node_modules
- - bash -c "until curl -s http://ui-regression-php-master > /dev/null && curl -s http://ui-regression-php > /dev/null; do sleep 2; done"
- - sudo -u pptruser node runTests.js || true
- - echo "The result can be found at https://s3.bitgrid.net/nextcloud-ui-regression/nextcloud/server/${DRONE_PULL_REQUEST}/index.html"
- shm_size: '1gb'
-
-services:
-- name: ui-regression-php
- image: nextcloudci/server:server-1
- commands:
- - . /etc/apache2/envvars
- - rm -fr /var/www/html
- - mkdir /var/www/html && cp -rT . /var/www/html && chown -R www-data:www-data /var/www/html
- - rm -fr /var/www/html/config/config.php /var/www/html/data/*
- - apache2 -DFOREGROUND
-- name: ui-regression-php-master
- image: nextcloudci/server:server-1
- commands:
- - . /etc/apache2/envvars
- - rm -fr /var/www/html/config/config.php /var/www/html/data/*
- - su www-data -c "cd /var/www/html/ && git checkout $DRONE_REPO_BRANCH && git pull && git submodule update"
- - apache2 -DFOREGROUND
-- name: publish-s3
- image: plugins/s3
- settings:
- endpoint: https://ci-assets.nextcloud.com
- bucket: nextcloud-ui-regression
- path_style: true
- source: tests/ui-regression/out/**/*
- strip_prefix: tests/ui-regression/out/
- acl: public-read
- target: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_PULL_REQUEST}
- secrets: [ aws_access_key_id, aws_secret_access_key ]
-
-trigger:
- branch:
- - master
- - stable*
- event:
- - pull_request
- - push