aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
AgeCommit message (Expand)Author
2019-09-07target go1.12v1.9.3Matti R
2019-08-15drone/docker: prepare multi-arch release + provide arm64 image (#7571) (#7884)•••* drone/docker: prepare multi-arch release * Add docker-linux-arm64 pipeline * add arm 64 build to manifest * tag dry-run + indent * Fix notify dependencyAntoine GIRARD
2019-07-18Backport drone fix from #7480 and #7496 (#7504)•••* don't make release-version deps on transalations since translations is only triggered by push on master (#7496) * drone/docker: Use a more standard format (#7480) * 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 Antoine GIRARD
2019-07-15Fetch refs for successful testing for tag (#7388)v1.9.0-rc2Matti R
2019-07-01fix updated drone file (#7336)techknowlogick
2019-06-30chore: update drone format to 1.0 (#6602)•••* 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> Bo-Yi Wu
2019-06-20Alpine 3.10 (#7256)techknowlogick
2019-06-18add 'npm' and 'npm-update' make targets and lockfile (#7246)•••* 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 silverwind
2019-06-12Add golangci (#6418)kolaente
2019-06-05Exclude pull_request from fetch-tags step, fixes #7108 (#7120)•••Signed-off-by: Nick Meyer <nick@e3b0c442.io>Nick Meyer
2019-05-26Timeout test commands without complicated tricks (#7020)Mura Li
2019-05-16add make targets for js and css, add js linter (#6952)•••* 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 silverwind
2019-05-02Drone: Do full branch clone and get tags for correct version hashes (#6836)•••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. kolaente
2019-03-19Disable benchmarking during tag events on DroneIO (#6365)techknowlogick
2019-03-17Add test environment for Mysql8 (#5234)Lunny Xiao
2019-02-27Use go 1.12 for tests and deprecate go 1.9 (#6186)•••Blocked until 1.12 docker images are releasedtechknowlogick
2019-02-23feat(docker): speed up docker build. (#6159)•••* feat(docker): speed up docker build. * feat: add docker dryrun * fix: remove docker username and password if dryrun Bo-Yi Wu
2019-02-14Update .drone.yml (#6070)techknowlogick
2019-02-11Run benchmark at tag to track performances (#6035)Antoine GIRARD
2019-01-28Add migration test (#5773)•••* 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 zeripath
2018-12-23drone/mssql: use golang 1.11 build like the other tests (#5586)Antoine GIRARD
2018-12-12Added test environment for mssql (#4282)•••* 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 kolaente
2018-11-16Set ACL on uploads (#5344)•••To support https://github.com/go-gitea/infrastructure/pull/39techknowlogick
2018-10-28Kill testing processes if the test takes too long (#5174)•••When timeout, Send ABRT signal to print backtraces for diagnosis. The timeout value is set to 1200s (20mins) for now.Mura Li
2018-10-25Disable sqlite test (#5178)•••For #5172Mura Li
2018-10-25revert #5146 (#5167)Antoine GIRARD
2018-10-23Update outdated Go toolchain version for .drone.yml (#5146)Mura Li
2018-10-23Update build tags for sqlite_unlock_notify (#5144)Mura Li
2018-08-29update image used for build-without-gcc step (#4818)•••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.techknowlogick
2018-08-29Upgrade images in .drone.yml to more recent versions (#4819)techknowlogick
2018-08-11Enable swagger validation back as issue with it has been fixed upstream (#4673)Lauris BH
2018-07-11Use correct site id for netlify (#4427)Thomas Boerger
2018-07-11Replaced docker docs with netlify deployment (#4420)Thomas Boerger
2018-07-11Disable swagger validation while it is not fixed in upstream (#4423)Lauris BH
2018-06-24fix exclude files .sha265 to .sha256 (#4304)Lunny Xiao
2018-06-24Add gpg-sign step to drone (#4188)•••* Add gpg-sign step to drone * add compressed releases to gpg-sign targets * Use exclude to simplify file list drone-plugins/drone-gpgsign#2 Antoine GIRARD
2018-06-20Updated drone config to use the "next" git plugin (#4281)kolaente
2018-06-12Fix swagger errors (#4220)•••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.Antoine GIRARD
2018-05-22Add $GOPATH/bin to PATH for make releases (#4020)•••Needed to access go tool gxzAntoine GIRARD
2018-05-11Add LDAP integration tests (#3897)•••* 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 Lauris BH
2018-05-07feat: testing in go 1.10 version. (#3899)Bo-Yi Wu
2018-05-02pass secrets to drone build step for docker (#3879)techknowlogick
2018-04-30chore: simplify docker build process. (#2827)•••* chore: simplify docker build process. * chore: update docker plugin. Bo-Yi Wu
2018-04-20Add swagger check (#3811)Antoine GIRARD
2018-01-16Update source installation requirements (#3124)•••* 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 Kim "BKC" Carlbäcker
2017-12-11Move build without gcc step up so that it's binary is not used in docker (#3147)Lauris BH
2017-12-11Restore make test target (#3139)•••* Restore make test target * make build -> go build Ethan Koenig
2017-12-09Fix missing drone test on release/* (#3126)•••* fix missing drone test on release/* * remove test coverage on release/* Lunny Xiao
2017-11-29use unique name for docs docker build step in CI (#3018)•••Otherwise drone may combine the logstechknowlogick
2017-11-29Fix master build for docs docker (#3004)techknowlogick