summaryrefslogtreecommitdiffstats
path: root/.drone.yml
Commit message (Collapse)AuthorAgeFilesLines
* use go 1.13 (#8088)techknowlogick2019-09-121-12/+12
| | | | | | | | | | * use go 1.13 * use go 1.13 in gomod file * Update Makefile * update swagger deps
* activate sum.golang.org check (#7782)Antoine GIRARD2019-08-081-0/+1
|
* build: use GOPROXY and disable download on some steps (#7745)Antoine GIRARD2019-08-051-0/+23
| | | | | | * build: use GOPROXY * disable download vendor on some steps
* drone: a test for compat with 32 bit (#7707)Antoine GIRARD2019-08-011-0/+10
|
* drone/docker: prepare multi-arch release + provide arm64 image (#7571)Antoine GIRARD2019-07-241-2/+97
| | | | | | | | | | | | * drone/docker: prepare multi-arch release * Add docker-linux-arm64 pipeline * add arm 64 build to manifest * tag dry-run + indent * Fix notify dependency
* drone/docker: Use a more standard format (#7480)Antoine GIRARD2019-07-171-36/+17
| | | | | | | | | | | | | * drone/docker: Use a more standard format Based on the plugin drone structure itself : https://github.com/drone-plugins/drone-docker/blob/ebce953fc443371d79b5a019fcc9c1976f60a09a/.drone.yml#L9 Use autotag : http://plugins.drone.io/drone-plugins/drone-docker/#autotag * use latest plugins/docker:linux-amd64 * remove useless cache_from * Don't depends on translations step
* don't make release-version deps on transalations since translations is only ↵Antoine GIRARD2019-07-171-1/+0
| | | | triggered by push on master (#7496)
* Fetch refs for successful testing for tag (#7388)techknowlogick2019-07-091-1/+12
| | | | | | | | * Fetch refs for successful testing for tag Fix #7382 * Update .drone.yml
* Use vendors when go generate (#7340)Lunny Xiao2019-07-061-2/+4
| | | | | | | | * use vendors when go generate * update docs about golang minimal requirement from 1.9 to 1.11 * fix build
* fix updated drone file (#7336)techknowlogick2019-07-011-6/+11
|
* chore: update drone format to 1.0 (#6602)Bo-Yi Wu2019-06-301-330/+534
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * chore: update drone format to 1.0 * Converted old drone config Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved translations to seperate pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Split the steps in multiple pipelines and add dependencies Signed-off-by: konrad <konrad@kola-entertainments.de> * format Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed step depenednecies Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed discord notify Signed-off-by: konrad <konrad@kola-entertainments.de> * Exclude translations and docs pipelines from prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed exclude prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed exclude prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved releases to seperate pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Re-trigger drone Signed-off-by: konrad <konrad@kola-entertainments.de> * Disable release step Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed depending step Signed-off-by: konrad <konrad@kola-entertainments.de> * Adopted dependencies Signed-off-by: konrad <konrad@kola-entertainments.de> * Changed pipeline conditions Signed-off-by: konrad <konrad@kola-entertainments.de> * Replaced pipeline conditions with triggers Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed coverage step Signed-off-by: konrad <konrad@kola-entertainments.de> * Import changes from #7331 Signed-off-by: konrad <konrad@kola-entertainments.de> * Add comment for lowest go version Signed-off-by: konrad <konrad@kola-entertainments.de> * Exclude fetch-tags from prs Signed-off-by: konrad <konrad@kola-entertainments.de> * Re-added comment about no tags Signed-off-by: konrad <konrad@kola-entertainments.de> * Removed unneeded conditions Signed-off-by: konrad <konrad@kola-entertainments.de> * Moved release version and release latest to different pipelines Signed-off-by: konrad <konrad@kola-entertainments.de> * Fixed depending pipeline Signed-off-by: konrad <konrad@kola-entertainments.de> * Removed the conditions for all services Signed-off-by: konrad <konrad@kola-entertainments.de>
* Alpine 3.10 (#7256)techknowlogick2019-06-201-5/+5
|
* add 'npm' and 'npm-update' make targets and lockfile (#7246)silverwind2019-06-181-1/+0
| | | | | | | | | | | | | | | | | | * add 'npm' and 'npm-update' make targets and lockfile - `make npm` installs and updates node_modules, triggered automatically on `make css` and `make js` as it completes reasonably fast and ensures consistent modules. - `make npm-update` updates all dependencies to their latest version, regenerates `node_modules` from scratch and updates `package-lock.json`. It uses npm modules `updates` written by yours truly to find the latest version of each dependency. * add suggested make dependencies * remove package-lock.json during npm-update * regenerate package-lock.json
* Add golangci (#6418)kolaente2019-06-121-4/+2
|
* Exclude pull_request from fetch-tags step, fixes #7108 (#7120)Nick Meyer2019-06-051-0/+3
| | | Signed-off-by: Nick Meyer <nick@e3b0c442.io>
* Timeout test commands without complicated tricks (#7020)Mura Li2019-05-261-12/+8
|
* add make targets for js and css, add js linter (#6952)silverwind2019-05-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add make targets for js,css, add javascript linter - add `make js`, deprecating `make javascripts` - add `make css`, deprecating `make generate-stylesheets` and `make stylesheets-check` - changed the unclean css check to only run on CI - add JS linting via eslint with basic configuration and fixed discovered issues - changed autoprefixer to use official `postcss-cli` avoiding the need to loop in the makefile - moved browserslist to package.json so other future tools can use it too. - update documentation for new make targets and added JS section * fix indentation * move functions used in html to 'exported' list * Run lessc binary without having to install anything to node_modules * use relative paths to node bin scripts, removing npx * Revert "use relative paths to node bin scripts, removing npx" This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b. * fix lessc and postcss plugins * check for node_modules and use actual bin names
* Drone: Do full branch clone and get tags for correct version hashes (#6836)kolaente2019-05-021-6/+5
| | | | Although #591 attempted to make version hashes be preceded with tag names on our branch builds, it would fail again silently at 50 commits because we were not cloning the full branch. Drone's new plugin will do a single branch clone by default meaning that depth is no longer necessary.
* Disable benchmarking during tag events on DroneIO (#6365)techknowlogick2019-03-191-35/+35
|
* Add test environment for Mysql8 (#5234)Lunny Xiao2019-03-171-0/+25
|
* Use go 1.12 for tests and deprecate go 1.9 (#6186)techknowlogick2019-02-271-22/+22
| | | Blocked until 1.12 docker images are released
* feat(docker): speed up docker build. (#6159)Bo-Yi Wu2019-02-231-0/+11
| | | | | | | | * feat(docker): speed up docker build. * feat: add docker dryrun * fix: remove docker username and password if dryrun
* Update .drone.yml (#6070)techknowlogick2019-02-141-1/+1
|
* Run benchmark at tag to track performances (#6035)Antoine GIRARD2019-02-111-0/+36
|
* Add migration test (#5773)zeripath2019-01-281-0/+5
| | | | | | | | | | | | | | * Add migration test This commit adds a simple migration test for v1.5.3, v1.6.4 and v1.7.0-rc3 Signed-off-by: Andrew Thornton <art27@cantab.net> * Automigrate based on available dbs * remove old ini file * Standardise the dialect names
* drone/mssql: use golang 1.11 build like the other tests (#5586)Antoine GIRARD2018-12-231-1/+1
|
* Added test environment for mssql (#4282)kolaente2018-12-121-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added test environment for m$sql * Added template for test environment for m$sql * Fix password * Fix password (again) * Fix password (again again) * Fix db * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Create master database for mssql integration tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Create database only if master do not exist Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix mssql integration tests by using custom database "gitea" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved defer * bump xorm * updated xorm * Fixed build
* Set ACL on uploads (#5344)techknowlogick2018-11-161-0/+3
| | | To support https://github.com/go-gitea/infrastructure/pull/39
* Kill testing processes if the test takes too long (#5174)Mura Li2018-10-281-12/+15
| | | | When timeout, Send ABRT signal to print backtraces for diagnosis. The timeout value is set to 1200s (20mins) for now.
* Disable sqlite test (#5178)Mura Li2018-10-251-12/+12
| | | For #5172
* revert #5146 (#5167)Antoine GIRARD2018-10-251-1/+1
|
* Update outdated Go toolchain version for .drone.yml (#5146)Mura Li2018-10-231-1/+1
|
* Update build tags for sqlite_unlock_notify (#5144)Mura Li2018-10-231-15/+16
|
* update image used for build-without-gcc step (#4818)techknowlogick2018-08-291-1/+1
| | | | As we've dropped support for go 1.8 (see 1.5.0 release post), now we need to ensure that a minimum of go 1.9 builds correctly.
* Upgrade images in .drone.yml to more recent versions (#4819)techknowlogick2018-08-291-9/+9
|
* Enable swagger validation back as issue with it has been fixed upstream (#4673)Lauris BH2018-08-111-1/+1
|
* Use correct site id for netlify (#4427)Thomas Boerger2018-07-111-1/+1
|
* Replaced docker docs with netlify deployment (#4420)Thomas Boerger2018-07-111-20/+6
|
* Disable swagger validation while it is not fixed in upstream (#4423)Lauris BH2018-07-111-1/+1
|
* fix exclude files .sha265 to .sha256 (#4304)Lunny Xiao2018-06-241-1/+1
|
* Add gpg-sign step to drone (#4188)Antoine GIRARD2018-06-241-0/+12
| | | | | | | | | | * Add gpg-sign step to drone * add compressed releases to gpg-sign targets * Use exclude to simplify file list drone-plugins/drone-gpgsign#2
* Updated drone config to use the "next" git plugin (#4281)kolaente2018-06-201-1/+1
|
* Fix swagger errors (#4220)Antoine GIRARD2018-06-121-0/+1
| | | | | | | | | | Fix all the resting errors to have a valid swagger file. They are still some warnings but nothing blocking. Doing so I found that some request still misses son parameters for some POST/PUT/PATCH request. This means the a client generated from the swagger file will not work completely. Fix #4088 by activating validation in drone Should fix #4010.
* Add $GOPATH/bin to PATH for make releases (#4020)Antoine GIRARD2018-05-221-0/+1
| | | Needed to access go tool gxz
* Add LDAP integration tests (#3897)Lauris BH2018-05-111-0/+8
| | | | | | | | | | | | * Add LDAP service for tests * Add LDAP login source and test user sign-in * Add checks to test if user data is correct * Add LDAP user sync test * Add failed user sign-in test
* feat: testing in go 1.10 version. (#3899)Bo-Yi Wu2018-05-071-23/+17
|
* pass secrets to drone build step for docker (#3879)techknowlogick2018-05-021-0/+1
|
* chore: simplify docker build process. (#2827)Bo-Yi Wu2018-04-301-15/+4
| | | | | | * chore: simplify docker build process. * chore: update docker plugin.
* Add swagger check (#3811)Antoine GIRARD2018-04-201-0/+1
|
* Update source installation requirements (#3124)Kim "BKC" Carlbäcker2018-01-161-1/+1
| | | | | | | | | | | | | | * Update source installation requirements We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then * Use Golang 1.8 for build and test If we state Golang 1.8 we should test using that version as well * Use golang 1.8 only for single build to see if everything compiles * Change back edge also for commented out sqlite test