summaryrefslogtreecommitdiffstats
path: root/.drone.yml
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Move build without gcc step up so that it's binary is not used in docker (#3147)Lauris BH2017-12-111-10/+10
|
* Restore make test target (#3139)Ethan Koenig2017-12-111-0/+10
| | | | | | * Restore make test target * make build -> go build
* Fix missing drone test on release/* (#3126)Lunny Xiao2017-12-091-0/+13
| | | | | | * fix missing drone test on release/* * remove test coverage on release/*
* use unique name for docs docker build step in CI (#3018)techknowlogick2017-11-291-2/+2
| | | Otherwise drone may combine the logs
* Fix master build for docs docker (#3004)techknowlogick2017-11-291-0/+2
|
* Import docs into main repository (#2874)techknowlogick2017-11-261-0/+31
| | | | | * import docs into main repository Signed-off-by: Matti Ranta <matti@mdranta.net>
* change the email and name to GitBot account. (#2848)Bo-Yi Wu2017-11-041-0/+2
| | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Fix removing backslash before quotes in translations (#2831)Lauris BH2017-11-031-1/+1
|
* fix update-translations on drone (#2822)Lunny Xiao2017-11-011-0/+2
|
* Fix wrong translations (#2818)Lunny Xiao2017-11-011-0/+9
| | | | | | * fix wrong translations * fix tab on yml
* add gitea remote in drone. (#2817)Bo-Yi Wu2017-11-011-1/+1
| | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* add remote name for git push. (#2816)Bo-Yi Wu2017-11-011-3/+4
| | | Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Download and pushing translations (#2727)Jonas Franz2017-11-011-10/+35
| | | | | | * Download and pushing translations * Adding empty line between build steps
* Fix translation upload to crowdin (#2599)Lauris BH2017-09-251-0/+1
|
* backport from v1.2 branch: add secrets for github release (#2588) (#2598)Bo-Yi Wu2017-09-251-0/+1
|