diff --git a/.drone.yml b/.drone.yml index 9f7de97a9..55bb65dc8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,44 +46,6 @@ pipeline: when: event: [ push, tag, pull_request ] - test: - image: webhippie/golang:edge - pull: true - group: test - environment: - TAGS: bindata sqlite - GOPATH: /srv/app - commands: - - make unit-test-coverage - when: - event: [ push, pull_request ] - branch: [ master ] - - test: - image: webhippie/golang:edge - pull: true - group: test - environment: - TAGS: bindata sqlite - GOPATH: /srv/app - commands: - - make test - when: - event: [ push, pull_request ] - branch: [ release/* ] - - test: - image: webhippie/golang:edge - pull: true - group: test - environment: - TAGS: bindata - GOPATH: /srv/app - commands: - - make test - when: - event: [ tag ] - # Commented until db locking have been resolved! # test-sqlite: # image: webhippie/golang:edge @@ -97,43 +59,6 @@ pipeline: # when: # event: [ push, tag, pull_request ] - test-mysql: - image: webhippie/golang:edge - pull: true - group: test - environment: - TAGS: bindata - GOPATH: /srv/app - commands: - - make integration-test-coverage - when: - event: [ push, pull_request ] - branch: [ master ] - - test-mysql: - image: webhippie/golang:edge - pull: true - group: test - environment: - TAGS: bindata - GOPATH: /srv/app - commands: - - make test-mysql - when: - event: [ tag ] - - test-pgsql: - image: webhippie/golang:edge - pull: true - group: test - environment: - TAGS: bindata - GOPATH: /srv/app - commands: - - make test-pgsql - when: - event: [ push, tag, pull_request ] - generate-coverage: image: webhippie/golang:edge pull: true @@ -170,27 +95,11 @@ pipeline: image: jonasfranz/gitea-release:1 pull: true prerelease: true - base-url: "https://git.jonasfranz.software" + base_url: "https://git.jonasfranz.software" note: CHANGELOG.md title: "1.4.0" secrets: [ gitea_token ] files: - dist/release/* when: - event: [ tag ] - -services: - mysql: - image: mysql:5.7 - environment: - - MYSQL_DATABASE=test - - MYSQL_ALLOW_EMPTY_PASSWORD=yes - when: - event: [ push, tag, pull_request ] - - pgsql: - image: postgres:9.5 - environment: - - POSTGRES_DB=test - when: - event: [ push, tag, pull_request ] + event: [ tag ] \ No newline at end of file