Commit graph

78 commits

Author SHA1 Message Date
kolaente
80367d60d4
Fix release trigger in drone 2020-10-19 20:35:23 +02:00
kolaente
8b9b1984fc
Make sure we have go installed when building os packages (for build step dependencies) 2020-10-18 21:28:33 +02:00
kolaente
6dd7bcb0fe
Make sure we have git installed when building os packages 2020-10-18 20:29:54 +02:00
kolaente
b94950d7c2
Fix trigger for pushing release artifacts to drone 2020-10-18 13:59:26 +02:00
konrad
618353bf95 Use nfpm to build deb, rpm and apk packages (#689)
Cleanup

Update docs for deb

Add building os packages to drone

Add apk packages

Replace version and binlocation strings in nfpm config

Make nfpm config replacable

Fix nfpm config

Add nfpm config

go mod tidy

Add nfpm mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/689
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-18 11:41:27 +00:00
konrad
699d3d6060 Add Golangci Lint (#676)
Increase golangci timeout

Fix installing golangci-lint in ci

Remove mage targets replaced by golangci

Run golint in ci

Add goheader linter

Enable & fix more linters

Fix lint issues

Add mage target to automagically fix issues found by golangci

golangci-lint run --fix

Add golangci config

Add golangci mage target

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/676
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-10-11 20:10:03 +00:00
kolaente
118c7f25b5
Fix release commands in drone 2020-09-03 22:46:41 +02:00
konrad
d359130bcf Switch to mage (#651)
Add comment about magefile compile

Switch make to mage commands in drone

Fix misspell

Update docs

Add general release command

Add reprepro command

Make sure the filename contains the proper version

Add deb package building

Add zip command

Preserve file permissions when copying files

Fix release:os-package

Make sure to not create checksums of directories

Cleanup

Only compress what upx is able to compress

Add check command

Add release:os-package command

Add copy command

Add comments

Add compress step

Move releasing binaries to a more general function and add ones of linux + darwin

Add release:windows command

Add release:dir command

Add namespaces for commands

Reorder

Add command to run all checks at once

Add goconst-check

Add gosec-check

Add static-check

Add gocyclo-check

Add ineffasign-check

Add misspell-check

Add command to check for swagger docs regeneration

Add comments

Add command to generate swagger docs

Reorder

Add check for installing golint before running it

Add fmt check command

Add fmt command

Use runAndStreamOutput everywhere

Add aliases and comments

Add todo

Reorder

Add test coverage command

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/651
2020-09-03 15:13:19 +00:00
kolaente
7bdc9dd428
Pin telegram notification plugin in drone 2020-07-24 18:32:18 +02:00
kolaente
a99367bc5f
Fix release trigger 2020-07-14 14:45:16 +02:00
kolaente
c47d5c7228
Switch s3 release bucket to scaleway 2020-07-14 13:43:35 +02:00
kolaente
53cfa99912
Remove vendored dependencies 2020-06-28 14:00:10 +02:00
kolaente
f324e3fb28
Fix docker multiarch build 2020-06-22 21:33:55 +02:00
kolaente
1d9cd82d68
Simplify pipeline & add docker manifest step 2020-06-22 19:23:52 +02:00
kolaente
2bc26fe4fa
Make sure docker images are only built when tests pass 2020-06-22 16:40:41 +02:00
kolaente
4168b9ac26
Add seperate docker pipeline for amd64 and arm 2020-06-22 16:16:19 +02:00
kolaente
3ba26ce67e
Fix docs theme build 2020-06-13 23:44:05 +02:00
konrad
f17e378a93 Add migration test in drone (#585)
Add test migration for postgres & mysql

More logging

Set database type explicitly to sqlite

Only extract vikunja binary

Add seperate build step to speed up tests

Add migration test in drone

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/585
2020-06-13 20:45:18 +00:00
konrad
28a5c1f7b2 Remove dependencies on build step to speed up test pipeline (#521)
Make all steps depend on fetch tags to let them execute in parallel

Cleanup

Remove dependency from the build step everywhere

Add generation step for tests

Remove dependencies on build step to speed up test pipeline

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/521
2020-05-15 12:06:12 +00:00
kolaente
368cbdf979
Fix gosec in drone 2020-04-13 23:04:59 +02:00
kolaente
b8d7c97eb7
Add gosec static analysis 2020-04-13 22:30:09 +02:00
kolaente
f2f17b11e8
Change release bucket 2020-03-01 22:51:50 +01:00
jtojnar
ce5be947b4 Add postgres support (#135)
Revert fixture fixes for postgres

Use postgres connection string with spaces instead of url

Fix label order

Make postgres tests in ci less verbose

Add sequence update script

Skip resets in postgres

Remove option to skip resets in postgres

Make postgres tests in ci verboseq

Update test fixtures database

Fix file tests on postgres

Add postgres options to sample config

Make sure tests init test fixtures before running the actual tests

Fix issues with IDs too big to fit in an int

Fix duplicate auto incremented IDs

Refactor / Fix team tests

Refactor team member tests

Fix team member create

Fix label test

Fix getting labels

Fix test fixtures for postgresql

Fix connection string params

Disable ssl mode on postgres integration tests

Disable ssl mode on postgres tests

Use sprintf to create the connection string for postgresql

fixup! Add postgres support

Add postgres support

Added generate as a make dependency for make build

Clarify docs on building

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/135
2020-02-16 21:42:04 +00:00
kolaente
ed4c17892e
Fixed building docs theme 2019-10-30 21:53:57 +01:00
kolaente
b653278e42
Reverted telegram notification in CI "fix" 2019-10-19 18:18:39 +02:00
kolaente
35e4ab198f
Fixed telegram notification in CI 2019-10-19 16:57:39 +02:00
kolaente
021ee48ec3
Made sure all tags are checked out when building in docker 2019-09-01 11:43:01 +02:00
konrad
9a7d470ce2 Limit the test pipeline to run only on pull requests (#89) 2019-07-18 20:28:56 +00:00
kolaente
c3ea45d900
Removed rancher from drone config 2019-07-13 19:23:09 +02:00
konrad
50ca8bd28e Statically compile templates in the final binary (#84) 2019-07-11 19:10:42 +00:00
konrad
9930f98f8e Compress binaries after building them (#81) 2019-06-22 22:07:58 +00:00
kolaente
a7bbaf7c5f
Fixed replace directive 2019-05-24 11:57:18 +02:00
konrad
3356a691f7
Removed drone debug env variables 2019-05-22 22:55:32 +02:00
konrad
7d46c88285
Fixed build 2019-05-22 20:36:11 +02:00
konrad
7107d030fc Better caldav support (#73) 2019-05-22 17:48:48 +00:00
konrad
a6e70f1b29
Fixed enabling go modules for cross-platform 2019-04-27 11:41:28 +02:00
konrad
44223bde77
Fixed enabling go modules for cross-platform 2019-04-27 11:24:47 +02:00
kolaente
6bab8fb769
Updated and re-enabled statickcheck 2019-04-23 10:34:06 +02:00
kolaente
07bdb08f9c
Fixed darwin build 2019-04-22 14:31:46 +02:00
kolaente
1117b6eb47
Change path in drone 2019-04-22 14:20:25 +02:00
kolaente
10f80c190b
Switched to techknowlogick/xgo 2019-04-22 14:02:18 +02:00
kolaente
c8858f6cfb
Fixed xgo docker image 2019-04-22 13:27:26 +02:00
kolaente
dd1749f11f
Disabled staticcheck until their memory leak is resolved 2019-04-22 13:04:16 +02:00
kolaente
5dc1fd0f86
Switched to use src.techknowlogick.com/xgo 2019-04-21 23:07:33 +02:00
kolaente
b1701ca769
Removed debugging 2019-04-21 23:04:46 +02:00
kolaente
5cfaa0f322
Debugging 2019-04-21 22:43:18 +02:00
kolaente
7b332808f9
Always fetch tags in drone when building 2019-04-21 22:39:35 +02:00
kolaente
228c47d79e
removed unneded drone configs 2019-04-21 22:36:01 +02:00
kolaente
27339a7cf0
Debugging 2019-04-21 21:55:31 +02:00
kolaente
3adfb81d5e
Debugging 2019-04-21 21:54:47 +02:00