summaryrefslogtreecommitdiffstats
path: root/.drone.yml
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Do docker releases for pushes to release branches (#10330)" (#10345)zeripath2020-02-181-3/+0
| | | This reverts commit 69f80fd9f69c08b2320523adc99c9257df52108d.
* Do docker releases for pushes to release branches (#10330)zeripath2020-02-181-0/+3
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* fix: set explicit POSTGRES_PASSWORD for pgsql on drone CI (#10302)Antoine GIRARD2020-02-161-0/+1
|
* Issue search support elasticsearch (#9428)Lunny Xiao2020-02-131-0/+6
| | | | | | | | | | | | * Issue search support elasticsearch * Fix lint * Add indexer name on app.ini * add a warnning on SearchIssuesByKeyword * improve code
* move CSS build to webpack (#9983)silverwind2020-01-281-1/+1
| | | | | | | | | | | | | | - added new 'make webpack' target - deprecated 'make js' and 'make css' - extend webpack config to load the less files - updated docs I had to rename the source file of `arc-green.less` to avoid generating a useless JS entrypoint via webpack-fix-style-only-entries which would not work with different source/destination filenames. I hear that there should be cleaner solutions possible once we upgrade to Webpack 5. Co-authored-by: zeripath <art27@cantab.net>
* Enforce tests do not change files in source tree (#9625)zeripath2020-01-261-1/+1
|
* combine make calls on drone (#9979)silverwind2020-01-251-21/+8
| | | | | | | | | | * combine make calls on drone combine most make calls on drone into one command. this should give a speedup of about 5-15 seconds per make invocation because make only needs to resolve file globs once. * combine timeout calls as well
* Frontport: Fix regression with tag test running (#9941) (#9942)techknowlogick2020-01-221-0/+6
|
* Filter locales under 25% (#9893)Antoine GIRARD2020-01-211-4/+1
| | | | | | | | * Create update-locales.sh * Update .drone.yml * fix file perms +x
* run translations pipeline on arm server (#9865)techknowlogick2020-01-191-1/+1
|
* ci: simplify tag/release by always running coverage (#9774)Antoine GIRARD2020-01-161-70/+0
| | | | | | | | * ci: simplify tag/release by always running coverage * use mod and vendor for unit test coverage * remove not needed lfs for unit test
* tests: configure github remaining limit + read token (#9800)Antoine GIRARD2020-01-161-0/+2
| | | | | | | | | | | | | | | | | | * ci: configure remaining github limmit * prepend with github since package is common to all migrations * add RefreshRate * Update github.go * add missing space * go fmt * Read env variable GITHUB_READ_TOKEN for token * Update .drone.yml
* use arm drone agent for docs (#9776)techknowlogick2020-01-151-7/+4
|
* ci: move some integration tests on arm64 (#9747)Antoine GIRARD2020-01-141-41/+87
|
* ci: run notify on arm64 (#9762)Antoine GIRARD2020-01-151-11/+14
| | | | | | | | | | | | | | | | | | * ci: run notify on arm64 Free one jobs on amrd64 * Update .drone.yml * Update .drone.yml * Update .drone.yml Based on: https://github.com/appleboy/drone-discord/blob/master/.drone.yml#L339 * improve trigger Co-authored-by: techknowlogick <matti@mdranta.net>
* ci: use new mssql image (#9720)Antoine GIRARD2020-01-141-1/+1
| | | | Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* ci: re-ordering Drone CI for optimizing time (#9719)Antoine GIRARD2020-01-131-81/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ci: try re-ordering for optimizing time * ci: try re-ordering for optimizing time * ci: try re-ordering for optimizing time * ci: try re-ordering for optimizing time * ci: try re-ordering for optimizing time * ci: try re-ordering for optimizing time * ci: try offloading mysql8 to arm64 * Revert "ci: try offloading mysql8 to arm64" This reverts commit c60de5db1cf8b5984c3014a57da6490f06c8d980. * ci: try offloading pgsql to arm64 * ci: activate ldap on arm64 * ci: test mysql8 in place pgsql arm64 * chore: clean un-needed move * typo * ci: revert runnning mysql on arm64 * ci: run compliance on arm * chore: limit change * chore: readd maybe need for release fetch-tags * ci: remove docker-linux-amd64-dry-run * ci: remove docker-linux-amd64-dry-run * Revert "ci: remove docker-linux-amd64-dry-run" This reverts commit 0715f65b11c37869359aaaa5d22901da512e8184. Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* ci: use docker image for golangci-lint (#9737)Antoine GIRARD2020-01-121-1/+6
|
* alpine 3.11 (#9440)techknowlogick2019-12-261-1/+1
|
* Combine Drone release steps (#9338)silverwind2019-12-151-26/+4
| | | | | | | | | | | | | | | | | * Combine Drone release steps Fixes missing JS/CSS because drone did unwanted parallelization of the js/css task and the generate task. Combined the tasks into one and made 'make release' work standalone. Fixes: https://github.com/go-gitea/gitea/issues/9324 Fixes: https://github.com/go-gitea/gitea/issues/9362 * move js/css to generate dependencies * remove unneccessary go-all target * remove go target as well
* prebuild CSS/JS before xgo release binaries (#9293)techknowlogick2019-12-081-2/+17
| | | | | | | | | | * prebuild CSS/JS before xgo release binaries * Update .drone.yml * Update Makefile * update per @lafriks feedback
* Remove explicit 'generate' calls, fix release task (#9288)silverwind2019-12-081-3/+0
| | | | | | | | | | | * Remove more explicit 'generate' calls `generate` is now implicit during `build` since #9114, it is no longer necessary or desired to specify it explicitely. * add js,css,generate dependencies to release task * remove generate warning as per @lunny
* Add Node.js build dep, remove built js/css files (#9114)silverwind2019-12-051-2/+4
| | | | | | | | | - Added Node.js as build dependency and removes build files from git. - Added version checks for both Go and Node.js. - Overhauled the js/css make target to only run when needed. - Merged the `generate` make target into `build` as per suggestion. Fixes: https://github.com/go-gitea/gitea/issues/6782 Fixes: https://github.com/go-gitea/gitea/issues/9216
* Check compiled files during build (#9042)Gary Kim2019-11-161-0/+1
| | | Signed-off-by: Gary Kim <gary@garykim.dev>
* 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
|