X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=.drone.yml;h=ada824ab5eb40b8242de736f99395518aa0ee942;hb=8e3428764b67c90b3eef88a075060e8694be465b;hp=4ccc6bfce7e944c7625fa37cdb8be9646f56c7f5;hpb=cc215524da37369bd4fad4a6885852569a2cb90e;p=friendica.git diff --git a/.drone.yml b/.drone.yml index 4ccc6bfce7..ada824ab5e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,9 @@ steps: MYSQL_DATABASE: friendica MYSQL_HOST: mysql +node: + test: db + services: - name: mysql image: mysql:8.0 @@ -52,6 +55,9 @@ steps: MYSQL_DATABASE: friendica MYSQL_HOST: mysql +node: + test: db + services: - name: mysql image: mysql:8.0 @@ -92,6 +98,9 @@ steps: MYSQL_DATABASE: friendica MYSQL_HOST: mysql +node: + test: db + services: - name: mysql image: mysql:8.0 @@ -129,14 +138,17 @@ steps: - sleep 20 - ./autotest.sh mariadb - wget https://codecov.io/bash -O codecov.sh - - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" - - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" environment: MYSQL_USER: friendica MYSQL_PASSWORD: friendica MYSQL_DATABASE: friendica MYSQL_HOST: mariadb +node: + test: db + services: - name: mariadb image: mariadb:10.1 @@ -176,6 +188,9 @@ steps: MYSQL_DATABASE: friendica MYSQL_HOST: mariadb +node: + test: db + services: - name: mariadb image: mariadb:10.1 @@ -215,6 +230,9 @@ steps: MYSQL_DATABASE: friendica MYSQL_HOST: mariadb +node: + test: db + services: - name: mariadb image: mariadb:10.1 @@ -231,14 +249,6 @@ volumes: - name: cache temp: {} -trigger: - branch: - - master - - develop - - "*-rc" - event: - - pull_request - - push --- kind: pipeline name: redis-php7.1 @@ -251,8 +261,8 @@ steps: - sleep 20 - NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql - wget https://codecov.io/bash -O codecov.sh - - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" - - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" environment: REDIS_HOST: redis @@ -308,15 +318,6 @@ services: - name: redis image: redis -trigger: - branch: - - master - - develop - - "*-rc" - event: - - pull_request - - push - --- kind: pipeline name: memcache-php7.1 @@ -329,8 +330,8 @@ steps: - sleep 20 - NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql - wget https://codecov.io/bash -O codecov.sh - - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" - - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" environment: MEMCACHE_HOST: memcached @@ -386,16 +387,6 @@ services: - name: memcached image: memcached -trigger: - branch: - - master - - develop - - "*-rc" - event: - - pull_request - - push - - --- kind: pipeline name: memcached-php7.1 @@ -408,8 +399,8 @@ steps: - sleep 20 - NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql - wget https://codecov.io/bash -O codecov.sh - - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" - - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 2f4b253b-ca17-41d7-96e3-81623581c97d -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" + - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi" environment: MEMCACHED_HOST: memcached @@ -464,12 +455,3 @@ steps: services: - name: memcached image: memcached - -trigger: - branch: - - master - - develop - - "*-rc" - event: - - pull_request - - push