Last active
November 26, 2022 20:36
-
-
Save tboerger/a06ed53ca3544b84d82d352abd201fc3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| kind: pipeline | |
| name: matrix-1 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: rebuild | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| mount: | |
| - .cache | |
| rebuild: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - name: flush | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| flush: true | |
| flush_age: 14 | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - name: test-javascript | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-javascript.sh | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - javascript | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-2 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: owncloud-coding-standard | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - make test-php-style | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-3 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: php-phan-71 | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make test-php-phan | |
| - name: php-phan-72 | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - make test-php-phan | |
| - name: php-phan-73 | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - make test-php-phan | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-4 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: "${DB_TYPE}" | |
| - name: phpstan | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make test-php-phpstan | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-5 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: "${DB_TYPE}" | |
| - name: litmus-setup | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - "echo \"Create local mount ....\"" | |
| - mkdir -p /drone/src/work/local_storage | |
| - php occ app:enable files_external | |
| - php occ config:system:set files_external_allow_create_new_local --value=true | |
| - php occ config:app:set core enable_external_storage --value=yes | |
| - php occ files_external:create local_storage local null::null -c datadir=/drone/src/work/local_storage | |
| - "echo 'Sharing a folder ..'" | |
| - OC_PASS=123456 php occ user:add --password-from-env user1 | |
| - chown www-data /drone/src -R | |
| - "curl -k -s -u user1:123456 -X MKCOL 'https://server-https/remote.php/webdav/new_folder'" | |
| - "curl -k -s -u user1:123456 \"https://server-https/ocs/v2.php/apps/files_sharing/api/v1/shares\" --data 'path=/new_folder&shareType=0&permissions=15&name=new_folder&shareWith=admin'" | |
| - name: litmus-old-endpoint | |
| pull: always | |
| image: owncloud/litmus | |
| environment: | |
| LITMUS_PASSWORD: admin | |
| LITMUS_URL: https://server-https/remote.php/webdav | |
| LITMUS_USERNAME: admin | |
| - name: litmus-new-endpoint | |
| pull: always | |
| image: owncloud/litmus | |
| environment: | |
| LITMUS_PASSWORD: admin | |
| LITMUS_URL: https://server-https/remote.php/dav/files/admin | |
| LITMUS_USERNAME: admin | |
| - name: litmus-new-endpoint-mount | |
| pull: always | |
| image: owncloud/litmus | |
| environment: | |
| LITMUS_PASSWORD: admin | |
| LITMUS_URL: https://server-https/remote.php/dav/files/admin/local_storage/ | |
| LITMUS_USERNAME: admin | |
| - name: litmus-old-endpoint-mount | |
| pull: always | |
| image: owncloud/litmus | |
| environment: | |
| LITMUS_PASSWORD: admin | |
| LITMUS_URL: https://server-https/remote.php/webdav/local_storage/ | |
| LITMUS_USERNAME: admin | |
| - name: litmus-new-endpoint-shared | |
| pull: always | |
| image: owncloud/litmus | |
| environment: | |
| LITMUS_PASSWORD: admin | |
| LITMUS_URL: https://server-https/remote.php/dav/files/admin/new_folder/ | |
| LITMUS_USERNAME: admin | |
| - name: litmus-old-endpoint-shared | |
| pull: always | |
| image: owncloud/litmus | |
| environment: | |
| LITMUS_PASSWORD: admin | |
| LITMUS_URL: https://server-https/remote.php/webdav/new_folder/ | |
| LITMUS_USERNAME: admin | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-6 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mysql | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mysql | |
| pull: default | |
| image: "${MYSQL_IMAGE=mysql:5.5}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-7 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mysql | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: "${COVERAGE}" | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mysql | |
| pull: default | |
| image: "${MYSQL_IMAGE=mysql:5.5}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-8 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mysql8 | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: false | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mysql8 | |
| pull: default | |
| image: "${MYSQL_IMAGE=mysql:8.0}" | |
| command: | |
| - --default-authentication-plugin=mysql_native_password | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-9 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: postgres | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: postgres | |
| pull: default | |
| image: "${POSTGRES_IMAGE=postgres:9.4}" | |
| environment: | |
| POSTGRES_DB: owncloud | |
| POSTGRES_PASSWORD: owncloud | |
| POSTGRES_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-10 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: postgres | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: postgres | |
| pull: default | |
| image: "${POSTGRES_IMAGE=postgres:9.4}" | |
| environment: | |
| POSTGRES_DB: owncloud | |
| POSTGRES_PASSWORD: owncloud | |
| POSTGRES_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-11 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-12 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: oracle | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: oracle | |
| pull: default | |
| image: deepdiver/docker-oracle-xe-11g:2.0 | |
| environment: | |
| ORACLE_DISABLE_ASYNCH_IO: true | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-13 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-14 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: "${COVERAGE}" | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-15 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: "${COVERAGE}" | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.2 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-16 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: "${COVERAGE}" | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-17 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: "${COVERAGE}" | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.3 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-18 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: webdav_apache | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: apache-webdav | |
| pull: always | |
| image: owncloudci/php | |
| command: | |
| - apachectl | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: webdav | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-19 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: smb_samba | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: smb-samba | |
| pull: always | |
| image: owncloudci/samba | |
| command: | |
| - "-u \"test;test\" -s \"public;/tmp;yes;no;no;test;none;test\" -S" | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-20 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: smb_windows | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-21 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: swift | |
| PRIMARY_OBJECTSTORE: "${PRIMARY_OBJECTSTORE}" | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: ceph | |
| pull: always | |
| image: owncloudci/ceph | |
| environment: | |
| KEYSTONE_ADMIN_PASS: testing | |
| KEYSTONE_ADMIN_TENANT: testtenant | |
| KEYSTONE_ADMIN_USER: test | |
| KEYSTONE_ENDPOINT_REGION: testregion | |
| KEYSTONE_PUBLIC_PORT: 5034 | |
| KEYSTONE_SERVICE: testceph | |
| OSD_SIZE: 500 | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-22 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: swift | |
| PRIMARY_OBJECTSTORE: swift | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: ceph | |
| pull: always | |
| image: owncloudci/ceph | |
| environment: | |
| KEYSTONE_ADMIN_PASS: testing | |
| KEYSTONE_ADMIN_TENANT: testtenant | |
| KEYSTONE_ADMIN_USER: test | |
| KEYSTONE_ENDPOINT_REGION: testregion | |
| KEYSTONE_PUBLIC_PORT: 5034 | |
| KEYSTONE_SERVICE: testceph | |
| OSD_SIZE: 500 | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-23 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - "php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL}" | |
| - "php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL}" | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: sqlite | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: prepare-objectstore | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cd /drone/src/apps | |
| - git clone https://github.com/owncloud/files_primary_s3.git | |
| - cd files_primary_s3 | |
| - composer install | |
| - cp tests/drone/scality.config.php /drone/src/config | |
| - cd /drone/src | |
| - php occ a:l | |
| - php occ a:e files_primary_s3 | |
| - php occ a:l | |
| - php ./occ s3:create-bucket owncloud --accept-warning | |
| environment: | |
| OBJECTSTORE: scality | |
| - name: phpunit | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| settings: | |
| group: test | |
| environment: | |
| COVERAGE: true | |
| FILES_EXTERNAL_TYPE: "${FILES_EXTERNAL_TYPE}" | |
| PRIMARY_OBJECTSTORE: files_primary_s3 | |
| - name: codecov | |
| pull: always | |
| image: plugins/codecov:2 | |
| settings: | |
| files: | |
| - "*.xml" | |
| flags: | |
| - phpunit | |
| paths: | |
| - tests/output/coverage | |
| environment: | |
| CODECOV_TOKEN: | |
| from_secret: codecov_token | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: print-log | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - failure | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: scality | |
| pull: always | |
| image: owncloudci/scality-s3server | |
| environment: | |
| HOST_NAME: scality | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-24 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-25 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-26 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-27 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-28 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-29 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: install-fed-server | |
| pull: always | |
| image: owncloudci/core | |
| settings: | |
| core_path: /drone/fed-server | |
| exclude: apps/testing | |
| version: daily-stable10-qa | |
| - name: configure-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cd /drone/fed-server | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - "echo \"export TEST_SERVER_FED_URL=https://federated-https\" > /drone/saved-settings.sh" | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| - name: fix-permissions-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/fed-server -R | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: federated-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-30 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-31 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-32 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-33 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-34 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-35 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: install-notifications-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/notifications.git apps/notifications | |
| - php occ a:e notifications | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-36 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-37 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-38 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-39 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-40 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-41 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-42 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-43 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: api-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-44 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: cli-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-cli TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| MAILHOG_HOST: email | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-45 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: cli-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-cli TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| MAILHOG_HOST: email | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-46 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: cli-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-cli TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| MAILHOG_HOST: email | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-47 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: cli-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-cli TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| MAILHOG_HOST: email | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-48 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-49 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-50 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-51 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-52 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-53 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-54 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-55 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-56 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-57 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-58 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-59 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-60 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: install-fed-server | |
| pull: always | |
| image: owncloudci/core | |
| settings: | |
| core_path: /drone/fed-server | |
| exclude: apps/testing | |
| version: daily-stable10-qa | |
| - name: configure-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cd /drone/fed-server | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - "echo \"export TEST_SERVER_FED_URL=https://federated-https\" > /drone/saved-settings.sh" | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| - name: fix-permissions-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/fed-server -R | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: federated-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-61 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-62 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-63 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: install-notifications-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/notifications.git apps/notifications | |
| - php occ a:e notifications | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-64 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-65 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-66 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-67 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-68 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-69 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: chrome | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: chrome | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: https://server-https | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-70 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: install-fed-server | |
| pull: always | |
| image: owncloudci/core | |
| settings: | |
| core_path: /drone/fed-server | |
| exclude: apps/testing | |
| version: daily-stable10-qa | |
| - name: configure-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cd /drone/fed-server | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-http | |
| - php occ config:system:set trusted_domains 2 --value=federated-http | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - "echo \"export TEST_SERVER_FED_URL=http://federated-http\" > /drone/saved-settings.sh" | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| - name: fix-permissions-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/fed-server -R | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-http | |
| - php occ config:system:set trusted_domains 2 --value=federated-http | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: firefox | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: firefox | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: http://server-http | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-http | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-http | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: federated-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-71 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: install-fed-server | |
| pull: always | |
| image: owncloudci/core | |
| settings: | |
| core_path: /drone/fed-server | |
| exclude: apps/testing | |
| version: daily-stable10-qa | |
| - name: configure-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cd /drone/fed-server | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-http | |
| - php occ config:system:set trusted_domains 2 --value=federated-http | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - "echo \"export TEST_SERVER_FED_URL=http://federated-http\" > /drone/saved-settings.sh" | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| - name: fix-permissions-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/fed-server -R | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-http | |
| - php occ config:system:set trusted_domains 2 --value=federated-http | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: firefox | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: firefox | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: http://server-http | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-http | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-http | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: federated-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-72 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: install-fed-server | |
| pull: always | |
| image: owncloudci/core | |
| settings: | |
| core_path: /drone/fed-server | |
| exclude: apps/testing | |
| version: daily-stable10-qa | |
| - name: configure-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - cd /drone/fed-server | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-http | |
| - php occ config:system:set trusted_domains 2 --value=federated-http | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - "echo \"export TEST_SERVER_FED_URL=http://federated-http\" > /drone/saved-settings.sh" | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| - name: fix-permissions-federation-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/fed-server -R | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-http | |
| - php occ config:system:set trusted_domains 2 --value=federated-http | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: install-testing-app | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: webui-acceptance-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| environment: | |
| BROWSER: firefox | |
| MAILHOG_HOST: email | |
| PLATFORM: Linux | |
| SELENIUM_HOST: firefox | |
| SELENIUM_PORT: 4444 | |
| TEST_SERVER_URL: http://server-http | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: chrome | |
| pull: always | |
| image: selenium/standalone-chrome-debug:latest | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| - name: firefox | |
| pull: always | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| environment: | |
| JAVA_OPTS: -Dselenium.LOGGER.level=WARNING | |
| SE_OPTS: -enablePassThrough false | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-http | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-http | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: federated-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| - name: email | |
| pull: always | |
| image: mailhog/mailhog | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-73 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: setup-caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/caldav/install.sh | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/caldav/script.sh | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-74 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: setup-caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/carddav/install.sh | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/carddav/script.sh | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-75 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: setup-caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/caldav-old-endpoint/install.sh | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/caldav-old-endpoint/script.sh | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| --- | |
| kind: pipeline | |
| name: matrix-76 | |
| platform: | |
| os: linux | |
| arch: amd64 | |
| clone: | |
| disable: true | |
| workspace: | |
| base: /drone | |
| path: src | |
| steps: | |
| - name: git | |
| pull: default | |
| image: plugins/git | |
| settings: | |
| depth: 50 | |
| - name: restore | |
| pull: always | |
| image: plugins/s3-cache:1 | |
| settings: | |
| restore: true | |
| environment: | |
| CACHE_S3_ACCESS_KEY: | |
| from_secret: cache_s3_access_key | |
| CACHE_S3_ENDPOINT: | |
| from_secret: cache_s3_endpoint | |
| CACHE_S3_SECRET_KEY: | |
| from_secret: cache_s3_secret_key | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: composer | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| environment: | |
| COMPOSER_HOME: /drone/src/.cache/composer | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: yarn | |
| pull: always | |
| image: owncloudci/nodejs:latest | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| environment: | |
| NPM_CONFIG_CACHE: /drone/src/.cache/npm | |
| YARN_CACHE_FOLDER: /drone/src/.cache/yarn | |
| bower_storage__packages: /drone/src/.cache/bower | |
| when: | |
| event: | |
| - push | |
| - pull_request | |
| - name: install-server | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-https | |
| - php occ config:system:set trusted_domains 2 --value=federated-https | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| environment: | |
| DB_TYPE: mariadb | |
| - name: setup-caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/carddav-old-endpoint/install.sh | |
| - name: fix-permissions | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - chown www-data /drone/src -R | |
| - name: owncloud-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: | |
| - success | |
| - failure | |
| - name: federated-log | |
| pull: always | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| - name: caldav-carddav-tests | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| commands: | |
| - bash apps/dav/tests/ci/carddav-old-endpoint/script.sh | |
| - name: notify | |
| pull: always | |
| image: plugins/slack:1 | |
| settings: | |
| channel: server | |
| environment: | |
| SLACK_WEBHOOK: | |
| from_secret: slack_webhook_public | |
| when: | |
| event: | |
| - push | |
| - tag | |
| status: | |
| - failure | |
| - changed | |
| services: | |
| - name: mariadb | |
| pull: default | |
| image: "${MARIADB_IMAGE=mariadb:10.2}" | |
| environment: | |
| MYSQL_DATABASE: owncloud | |
| MYSQL_PASSWORD: owncloud | |
| MYSQL_ROOT_PASSWORD: owncloud | |
| MYSQL_USER: owncloud | |
| - name: server-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/server.crt | |
| APACHE_SSL_CERT_CN: server-https | |
| APACHE_SSL_KEY: /drone/server.key | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: server-http | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_WEBROOT: /drone/src/ | |
| - name: federated-https | |
| pull: always | |
| image: owncloudci/php:7.1 | |
| command: | |
| - /usr/local/bin/apachectl | |
| - -e | |
| - debug | |
| - -D | |
| - FOREGROUND | |
| environment: | |
| APACHE_CONFIG_TEMPLATE: ssl | |
| APACHE_SSL_CERT: /drone/federated.crt | |
| APACHE_SSL_CERT_CN: federated-https | |
| APACHE_SSL_KEY: /drone/federated.key | |
| APACHE_WEBROOT: /drone/fed-server/ | |
| trigger: | |
| branch: | |
| - master | |
| - stable10 | |
| - "release*" | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| workspace: | |
| base: /drone | |
| path: src | |
| branches: [master, stable10, release*] | |
| clone: | |
| git: | |
| image: plugins/git | |
| depth: 50 | |
| pipeline: | |
| install-fed-server: | |
| image: owncloudci/core | |
| pull: true | |
| exclude: apps/testing | |
| version: ${FEDERATION_OC_VERSION} | |
| core_path: /drone/fed-server | |
| when: | |
| matrix: | |
| USE_FEDERATED_SERVER: true | |
| configure-federation-server: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - cd /drone/fed-server | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL} | |
| - php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL} | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - echo "export TEST_SERVER_FED_URL=${SERVER_PROTOCOL}://federated-${SERVER_PROTOCOL}" > /drone/saved-settings.sh | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| when: | |
| matrix: | |
| USE_FEDERATED_SERVER: true | |
| fix-permissions-federation-server: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - chown www-data /drone/fed-server -R | |
| when: | |
| matrix: | |
| USE_FEDERATED_SERVER: true | |
| restore: | |
| image: plugins/s3-cache:1 | |
| pull: true | |
| secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ] | |
| restore: true | |
| when: | |
| local: false | |
| event: [push, pull_request] | |
| composer: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - COMPOSER_HOME=/drone/src/.cache/composer | |
| commands: | |
| - make install-composer-deps | |
| - make vendor-bin-deps | |
| when: | |
| event: [push, pull_request] | |
| yarn: | |
| image: owncloudci/nodejs:latest | |
| pull: true | |
| environment: | |
| - NPM_CONFIG_CACHE=/drone/src/.cache/npm | |
| - YARN_CACHE_FOLDER=/drone/src/.cache/yarn | |
| - bower_storage__packages=/drone/src/.cache/bower | |
| commands: | |
| - ./tests/drone/yarn-install.sh | |
| when: | |
| event: [push, pull_request] | |
| rebuild: | |
| image: plugins/s3-cache:1 | |
| pull: true | |
| secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ] | |
| rebuild: true | |
| mount: | |
| - .cache | |
| when: | |
| local: false | |
| event: [ push ] | |
| matrix: | |
| TEST_SUITE: javascript | |
| flush: | |
| image: plugins/s3-cache:1 | |
| pull: true | |
| secrets: [ cache_s3_endpoint, cache_s3_access_key, cache_s3_secret_key ] | |
| flush: true | |
| flush_age: 14 | |
| when: | |
| local: false | |
| event: [push] | |
| matrix: | |
| TEST_SUITE: javascript | |
| owncloud-coding-standard: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - make test-php-style | |
| when: | |
| matrix: | |
| TEST_SUITE: owncloud-coding-standard | |
| php-phan-71: | |
| image: owncloudci/php:7.1 | |
| pull: true | |
| commands: | |
| - make test-php-phan | |
| when: | |
| matrix: | |
| TEST_SUITE: phan | |
| php-phan-72: | |
| image: owncloudci/php:7.2 | |
| pull: true | |
| commands: | |
| - make test-php-phan | |
| when: | |
| matrix: | |
| TEST_SUITE: phan | |
| php-phan-73: | |
| image: owncloudci/php:7.3 | |
| pull: true | |
| commands: | |
| - make test-php-phan | |
| when: | |
| matrix: | |
| TEST_SUITE: phan | |
| install-server: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - DB_TYPE=${DB_TYPE} | |
| commands: | |
| - ./tests/drone/install-server.sh | |
| - php occ a:l | |
| - php occ config:system:set trusted_domains 1 --value=server-${SERVER_PROTOCOL} | |
| - php occ config:system:set trusted_domains 2 --value=federated-${SERVER_PROTOCOL} | |
| - php occ log:manage --level 2 | |
| - php occ config:list | |
| - php occ security:certificates:import /drone/server.crt | |
| - php occ security:certificates:import /drone/federated.crt | |
| - php occ security:certificates | |
| when: | |
| matrix: | |
| INSTALL_SERVER: true | |
| install-testing-app: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - git clone https://github.com/owncloud/testing.git $$DRONE_WORKSPACE/apps/testing | |
| - php occ a:l | |
| - php occ a:e testing | |
| - php occ a:l | |
| when: | |
| matrix: | |
| INSTALL_TESTING_APP: true | |
| prepare-objectstore: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - OBJECTSTORE=${OBJECTSTORE} | |
| commands: | |
| - cd /drone/src/apps | |
| - git clone https://github.com/owncloud/files_primary_s3.git | |
| - cd files_primary_s3 | |
| - composer install | |
| - cp tests/drone/${OBJECTSTORE}.config.php /drone/src/config | |
| - cd /drone/src | |
| - php occ a:l | |
| - php occ a:e files_primary_s3 | |
| - php occ a:l | |
| - php ./occ s3:create-bucket owncloud --accept-warning | |
| when: | |
| matrix: | |
| PRIMARY_OBJECTSTORE: files_primary_s3 | |
| phpstan: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - make test-php-phpstan | |
| when: | |
| matrix: | |
| TEST_SUITE: phpstan | |
| phpunit: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| group: test | |
| environment: | |
| - FILES_EXTERNAL_TYPE=${FILES_EXTERNAL_TYPE} | |
| - COVERAGE=${COVERAGE} | |
| - PRIMARY_OBJECTSTORE=${PRIMARY_OBJECTSTORE} | |
| commands: | |
| - ./tests/drone/test-phpunit.sh | |
| when: | |
| matrix: | |
| TEST_SUITE: phpunit | |
| test-javascript: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - ./tests/drone/test-javascript.sh | |
| when: | |
| matrix: | |
| TEST_SUITE: javascript | |
| codecov: | |
| image: plugins/codecov:2 | |
| secrets: [codecov_token] | |
| pull: true | |
| flags: | |
| - ${TEST_SUITE} | |
| files: | |
| - '*.xml' | |
| paths: | |
| - tests/output/coverage | |
| when: | |
| event: [push, pull_request] | |
| matrix: | |
| COVERAGE: true | |
| setup-caldav-carddav-tests: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - bash apps/dav/tests/ci/${TEST_SUITE}/install.sh | |
| when: | |
| matrix: | |
| CALDAV_CARDDAV_JOB: true | |
| install-notifications-app: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - git clone https://github.com/owncloud/notifications.git apps/notifications | |
| - php occ a:e notifications | |
| when: | |
| matrix: | |
| INSTALL_NOTIFICATIONS_APP: true | |
| fix-permissions: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - chown www-data /drone/src -R | |
| when: | |
| matrix: | |
| CHOWN_SERVER: true | |
| litmus-setup: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - echo "Create local mount ...." | |
| - mkdir -p /drone/src/work/local_storage | |
| - php occ app:enable files_external | |
| - php occ config:system:set files_external_allow_create_new_local --value=true | |
| - php occ config:app:set core enable_external_storage --value=yes | |
| - php occ files_external:create local_storage local null::null -c datadir=/drone/src/work/local_storage | |
| - echo 'Sharing a folder ..' | |
| - OC_PASS=123456 php occ user:add --password-from-env user1 | |
| - chown www-data /drone/src -R | |
| - curl -k -s -u user1:123456 -X MKCOL '${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/webdav/new_folder' | |
| - curl -k -s -u user1:123456 "${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/ocs/v2.php/apps/files_sharing/api/v1/shares" --data 'path=/new_folder&shareType=0&permissions=15&name=new_folder&shareWith=admin' | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| litmus-old-endpoint: | |
| image: owncloud/litmus | |
| pull: true | |
| environment: | |
| - LITMUS_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/webdav | |
| - LITMUS_USERNAME=admin | |
| - LITMUS_PASSWORD=admin | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| litmus-new-endpoint: | |
| image: owncloud/litmus | |
| pull: true | |
| environment: | |
| - LITMUS_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/dav/files/admin | |
| - LITMUS_USERNAME=admin | |
| - LITMUS_PASSWORD=admin | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| litmus-new-endpoint-mount: | |
| image: owncloud/litmus | |
| pull: true | |
| environment: | |
| - LITMUS_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/dav/files/admin/local_storage/ | |
| - LITMUS_USERNAME=admin | |
| - LITMUS_PASSWORD=admin | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| litmus-old-endpoint-mount: | |
| image: owncloud/litmus | |
| pull: true | |
| environment: | |
| - LITMUS_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/webdav/local_storage/ | |
| - LITMUS_USERNAME=admin | |
| - LITMUS_PASSWORD=admin | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| litmus-new-endpoint-shared: | |
| image: owncloud/litmus | |
| pull: true | |
| environment: | |
| - LITMUS_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/dav/files/admin/new_folder/ | |
| - LITMUS_USERNAME=admin | |
| - LITMUS_PASSWORD=admin | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| litmus-old-endpoint-shared: | |
| image: owncloud/litmus | |
| pull: true | |
| environment: | |
| - LITMUS_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL}/remote.php/webdav/new_folder/ | |
| - LITMUS_USERNAME=admin | |
| - LITMUS_PASSWORD=admin | |
| when: | |
| matrix: | |
| TEST_SUITE: litmus | |
| owncloud-log: | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| pull: true | |
| commands: | |
| - tail -f /drone/src/data/owncloud.log | |
| when: | |
| status: [ success, failure ] | |
| matrix: | |
| OWNCLOUD_LOG: true | |
| federated-log: | |
| image: owncloud/ubuntu:16.04 | |
| detach: true | |
| pull: true | |
| commands: | |
| - tail -f /drone/fed-server/data/owncloud.log | |
| when: | |
| matrix: | |
| OWNCLOUD_LOG: true | |
| USE_FEDERATED_SERVER: true | |
| api-acceptance-tests: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - TEST_SERVER_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL} | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-api TESTING_REMOTE_SYSTEM=true | |
| when: | |
| matrix: | |
| TEST_SUITE: api | |
| cli-acceptance-tests: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - TEST_SERVER_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL} | |
| - MAILHOG_HOST=email | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-cli TESTING_REMOTE_SYSTEM=true | |
| when: | |
| matrix: | |
| TEST_SUITE: cli | |
| webui-acceptance-tests: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - BROWSER=${BROWSER} | |
| - SELENIUM_HOST=${BROWSER} | |
| - SELENIUM_PORT=4444 | |
| - TEST_SERVER_URL=${SERVER_PROTOCOL}://server-${SERVER_PROTOCOL} | |
| - PLATFORM=Linux | |
| - MAILHOG_HOST=email | |
| commands: | |
| - touch /drone/saved-settings.sh | |
| - . /drone/saved-settings.sh | |
| - make test-acceptance-webui TESTING_REMOTE_SYSTEM=true | |
| when: | |
| matrix: | |
| TEST_SUITE: selenium | |
| caldav-carddav-tests: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - bash apps/dav/tests/ci/${TEST_SUITE}/script.sh | |
| when: | |
| matrix: | |
| CALDAV_CARDDAV_JOB: true | |
| print-log: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| commands: | |
| - cat /drone/src/data/owncloud.log | |
| when: | |
| status: [ failure ] | |
| matrix: | |
| TEST_SUITE: phpunit | |
| notify: | |
| image: plugins/slack:1 | |
| pull: true | |
| secrets: | |
| - source: slack_webhook_public | |
| target: slack_webhook | |
| channel: server | |
| when: | |
| status: [ failure, changed ] | |
| event: [ push, tag ] | |
| services: | |
| mariadb: | |
| image: ${MARIADB_IMAGE=mariadb:10.2} | |
| environment: | |
| - MYSQL_USER=owncloud | |
| - MYSQL_PASSWORD=owncloud | |
| - MYSQL_DATABASE=owncloud | |
| - MYSQL_ROOT_PASSWORD=owncloud | |
| when: | |
| matrix: | |
| DB_TYPE: mariadb | |
| mysql: | |
| image: ${MYSQL_IMAGE=mysql:5.5} | |
| environment: | |
| - MYSQL_USER=owncloud | |
| - MYSQL_PASSWORD=owncloud | |
| - MYSQL_DATABASE=owncloud | |
| - MYSQL_ROOT_PASSWORD=owncloud | |
| when: | |
| matrix: | |
| DB_TYPE: mysql | |
| mysql8: | |
| image: ${MYSQL_IMAGE=mysql:8.0} | |
| # see http://php.net/manual/en/mysqli.requirements.php | |
| command: --default-authentication-plugin=mysql_native_password | |
| environment: | |
| - MYSQL_USER=owncloud | |
| - MYSQL_PASSWORD=owncloud | |
| - MYSQL_DATABASE=owncloud | |
| - MYSQL_ROOT_PASSWORD=owncloud | |
| when: | |
| matrix: | |
| DB_TYPE: mysql8 | |
| postgres: | |
| image: ${POSTGRES_IMAGE=postgres:9.4} | |
| environment: | |
| - POSTGRES_USER=owncloud | |
| - POSTGRES_PASSWORD=owncloud | |
| - POSTGRES_DB=owncloud | |
| when: | |
| matrix: | |
| DB_TYPE: postgres | |
| oracle: | |
| image: deepdiver/docker-oracle-xe-11g:2.0 | |
| environment: | |
| - ORACLE_DISABLE_ASYNCH_IO=true | |
| when: | |
| matrix: | |
| DB_TYPE: oracle | |
| chrome: | |
| image: selenium/standalone-chrome-debug:latest | |
| pull: true | |
| environment: | |
| - JAVA_OPTS=-Dselenium.LOGGER.level=WARNING | |
| when: | |
| matrix: | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| firefox: | |
| image: selenium/standalone-firefox-debug:3.8.1 | |
| pull: true | |
| environment: | |
| - SE_OPTS=-enablePassThrough false | |
| - JAVA_OPTS=-Dselenium.LOGGER.level=WARNING | |
| when: | |
| matrix: | |
| TEST_SUITE: selenium | |
| BROWSER: firefox | |
| server-https: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - APACHE_WEBROOT=/drone/src/ | |
| - APACHE_CONFIG_TEMPLATE=ssl | |
| - APACHE_SSL_CERT_CN=server-${SERVER_PROTOCOL} | |
| - APACHE_SSL_CERT=/drone/server.crt | |
| - APACHE_SSL_KEY=/drone/server.key | |
| command: [ "/usr/local/bin/apachectl", "-e", "debug" , "-D", "FOREGROUND" ] | |
| when: | |
| matrix: | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| server-http: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - APACHE_WEBROOT=/drone/src/ | |
| command: [ "/usr/local/bin/apachectl", "-e", "debug" , "-D", "FOREGROUND" ] | |
| when: | |
| matrix: | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: http | |
| federated-https: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - APACHE_WEBROOT=/drone/fed-server/ | |
| - APACHE_CONFIG_TEMPLATE=ssl | |
| - APACHE_SSL_CERT_CN=federated-${SERVER_PROTOCOL} | |
| - APACHE_SSL_CERT=/drone/federated.crt | |
| - APACHE_SSL_KEY=/drone/federated.key | |
| command: [ "/usr/local/bin/apachectl", "-e", "debug" , "-D", "FOREGROUND" ] | |
| when: | |
| matrix: | |
| USE_FEDERATED_SERVER: true | |
| SERVER_PROTOCOL: https | |
| federated-http: | |
| image: owncloudci/php:${PHP_VERSION} | |
| pull: true | |
| environment: | |
| - APACHE_WEBROOT=/drone/fed-server/ | |
| command: [ "/usr/local/bin/apachectl", "-e", "debug" , "-D", "FOREGROUND" ] | |
| when: | |
| matrix: | |
| USE_FEDERATED_SERVER: true | |
| SERVER_PROTOCOL: http | |
| apache-webdav: | |
| image: owncloudci/php | |
| pull: true | |
| environment: | |
| - APACHE_CONFIG_TEMPLATE=webdav | |
| command: [ "apachectl", "-D", "FOREGROUND" ] | |
| when: | |
| matrix: | |
| FILES_EXTERNAL_TYPE: webdav_apache | |
| smb-samba: | |
| image: owncloudci/samba | |
| pull: true | |
| command: "-u \"test;test\" -s \"public;/tmp;yes;no;no;test;none;test\" -S" | |
| when: | |
| matrix: | |
| FILES_EXTERNAL_TYPE: smb_samba | |
| ceph: | |
| image: owncloudci/ceph | |
| pull: true | |
| environment: | |
| - KEYSTONE_PUBLIC_PORT=5034 | |
| - KEYSTONE_ADMIN_USER=test | |
| - KEYSTONE_ADMIN_PASS=testing | |
| - KEYSTONE_ADMIN_TENANT=testtenant | |
| - KEYSTONE_ENDPOINT_REGION=testregion | |
| - KEYSTONE_SERVICE=testceph | |
| - OSD_SIZE=500 | |
| when: | |
| matrix: | |
| FILES_EXTERNAL_TYPE: swift | |
| scality: | |
| image: owncloudci/scality-s3server | |
| pull: true | |
| environment: | |
| - HOST_NAME=scality | |
| when: | |
| matrix: | |
| OBJECTSTORE: scality | |
| email: | |
| image: mailhog/mailhog | |
| pull: true | |
| when: | |
| matrix: | |
| USE_EMAIL: true | |
| matrix: | |
| include: | |
| # frontend | |
| - TEST_SUITE: javascript | |
| PHP_VERSION: 7.1 | |
| COVERAGE: true | |
| # owncloud-coding-standard | |
| - PHP_VERSION: 7.3 | |
| TEST_SUITE: owncloud-coding-standard | |
| # phan (runs multiple PHP v7.* to provide syntax checks of each PHP version) | |
| - TEST_SUITE: phan | |
| PHP_VERSION: 7.1 | |
| # phpstan | |
| - TEST_SUITE: phpstan | |
| PHP_VERSION: 7.1 | |
| INSTALL_SERVER: true | |
| # Litmus | |
| - PHP_VERSION: 7.1 | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| TEST_SUITE: litmus | |
| INSTALL_SERVER: true | |
| OWNCLOUD_LOG: true | |
| # Unit Tests | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: mysql | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: mysql | |
| # mb4 support, with innodb_file_format=Barracuda | |
| MYSQL_IMAGE: mysql:5.7 | |
| TEST_SUITE: phpunit | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| # mb4 support by default | |
| DB_TYPE: mysql8 | |
| TEST_SUITE: phpunit | |
| COVERAGE: false | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # - PHP_VERSION: 7.1 | |
| # DB_TYPE: mariadb | |
| # TEST_SUITE: phpunit | |
| # INSTALL_SERVER: true | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: postgres | |
| POSTGRES_IMAGE: postgres:9.4 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: postgres | |
| POSTGRES_IMAGE: postgres:10.3 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: mariadb | |
| # mb4 support by default | |
| MARIADB_IMAGE: mariadb:10.3 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: oracle | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| DB_TYPE: sqlite | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # PHP 7.2 | |
| - PHP_VERSION: 7.2 | |
| DB_TYPE: sqlite | |
| TEST_SUITE: phpunit | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.2 | |
| DB_TYPE: mariadb | |
| TEST_SUITE: phpunit | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # PHP 7.3 | |
| - PHP_VERSION: 7.3 | |
| DB_TYPE: sqlite | |
| TEST_SUITE: phpunit | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.3 | |
| DB_TYPE: mariadb | |
| TEST_SUITE: phpunit | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # Files External | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| DB_TYPE: sqlite | |
| FILES_EXTERNAL_TYPE: webdav_apache | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| DB_TYPE: sqlite | |
| FILES_EXTERNAL_TYPE: smb_samba | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| DB_TYPE: sqlite | |
| FILES_EXTERNAL_TYPE: smb_windows | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| DB_TYPE: sqlite | |
| FILES_EXTERNAL_TYPE: swift | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # Primary Objectstorage | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| DB_TYPE: sqlite | |
| OBJECTSTORE: swift | |
| PRIMARY_OBJECTSTORE: swift | |
| FILES_EXTERNAL_TYPE: swift | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # files_primary_s3 | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: phpunit | |
| COVERAGE: true | |
| DB_TYPE: sqlite | |
| OBJECTSTORE: scality | |
| PRIMARY_OBJECTSTORE: files_primary_s3 | |
| INSTALL_SERVER: true | |
| INSTALL_TESTING_APP: true | |
| # API Acceptance tests | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiMain | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiAuth | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiCapabilities | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiComments | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiFavorites | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiFederation | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| USE_FEDERATED_SERVER: true | |
| FEDERATION_OC_VERSION: daily-stable10-qa | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiProvisioning-v1 | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiProvisioning-v2 | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiSharees | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiShareManagement | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiShareOperations | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiSharingNotifications | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| INSTALL_NOTIFICATIONS_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiTags | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiTrashbin | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiVersions | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiWebdavLocks | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiWebdavMove | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiWebdavOperations | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiWebdavProperties | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: api | |
| BEHAT_SUITE: apiWebdavUpload | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| # CLI Provisioning Acceptance tests | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: cli | |
| BEHAT_SUITE: cliProvisioning | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| # CLI Main Acceptance tests | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: cli | |
| BEHAT_SUITE: cliMain | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| # CLI Background Acceptance tests | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: cli | |
| BEHAT_SUITE: cliBackground | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| # CLI Trashbin Acceptance tests | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: cli | |
| BEHAT_SUITE: cliTrashbin | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| # UI Acceptance tests | |
| ## Chrome | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIAdminSettings | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIComments | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUICreateDelete | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIFavorites | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIFiles | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUILogin | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIMoveFilesFolders | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIPersonalSettings | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIRenameFiles | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIRenameFolders | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIRestrictSharing | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUISharingAcceptShares | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUISharingExternal | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| USE_FEDERATED_SERVER: true | |
| FEDERATION_OC_VERSION: daily-stable10-qa | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUISharingInternalGroups | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUISharingInternalUsers | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUISharingNotifications | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| INSTALL_NOTIFICATIONS_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUISharingPublic | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUITags | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUITrashbin | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIUpload | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIWebdavLocks | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: chrome | |
| BEHAT_SUITE: webUIWebdavLockProtection | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| ## Firefox | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: firefox | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: http | |
| USE_FEDERATED_SERVER: true | |
| FEDERATION_OC_VERSION: daily-stable10-qa | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| BEHAT_FILTER_TAGS: '@smokeTest&&~@notifications-app-required' | |
| DIVIDE_INTO_NUM_PARTS: 3 | |
| RUN_PART: 1 | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: firefox | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: http | |
| USE_FEDERATED_SERVER: true | |
| FEDERATION_OC_VERSION: daily-stable10-qa | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| BEHAT_FILTER_TAGS: '@smokeTest&&~@notifications-app-required' | |
| DIVIDE_INTO_NUM_PARTS: 3 | |
| RUN_PART: 2 | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: selenium | |
| BROWSER: firefox | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: http | |
| USE_FEDERATED_SERVER: true | |
| FEDERATION_OC_VERSION: daily-stable10-qa | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| INSTALL_TESTING_APP: true | |
| USE_EMAIL: true | |
| BEHAT_FILTER_TAGS: '@smokeTest&&~@notifications-app-required' | |
| DIVIDE_INTO_NUM_PARTS: 3 | |
| RUN_PART: 3 | |
| # caldav test | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: caldav | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| CALDAV_CARDDAV_JOB: true | |
| # carddav test | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: carddav | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| CALDAV_CARDDAV_JOB: true | |
| # caldav-old-endpoint test | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: caldav-old-endpoint | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| CALDAV_CARDDAV_JOB: true | |
| # carddav-old-endpoint test | |
| - PHP_VERSION: 7.1 | |
| TEST_SUITE: carddav-old-endpoint | |
| DB_TYPE: mariadb | |
| USE_SERVER: true | |
| SERVER_PROTOCOL: https | |
| INSTALL_SERVER: true | |
| CHOWN_SERVER: true | |
| OWNCLOUD_LOG: true | |
| CALDAV_CARDDAV_JOB: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment