79 Commits

Author SHA1 Message Date
a71aa0c898
Disable deb repo in drone
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-02 21:32:57 +01:00
80367d60d4
Fix release trigger in drone
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-19 20:35:23 +02:00
8b9b1984fc
Make sure we have go installed when building os packages (for build step dependencies)
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-18 21:28:33 +02:00
6dd7bcb0fe
Make sure we have git installed when building os packages
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-18 20:29:54 +02:00
b94950d7c2
Fix trigger for pushing release artifacts to drone
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-18 13:59:26 +02:00
618353bf95 Use nfpm to build deb, rpm and apk packages (#689)
Some checks failed
continuous-integration/drone/push Build is failing
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: vikunja/api#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
699d3d6060 Add Golangci Lint (#676)
All checks were successful
continuous-integration/drone/push Build is passing
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: vikunja/api#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
118c7f25b5
Fix release commands in drone
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-03 22:46:41 +02:00
d359130bcf Switch to mage (#651)
Some checks failed
continuous-integration/drone/push Build is failing
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: vikunja/api#651
2020-09-03 15:13:19 +00:00
7bdc9dd428
Pin telegram notification plugin in drone
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-24 18:32:18 +02:00
a99367bc5f
Fix release trigger
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 14:45:16 +02:00
c47d5c7228
Switch s3 release bucket to scaleway
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-14 13:43:35 +02:00
53cfa99912
Remove vendored dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-28 14:00:10 +02:00
f324e3fb28
Fix docker multiarch build
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-22 21:33:55 +02:00
1d9cd82d68
Simplify pipeline & add docker manifest step
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-22 19:23:52 +02:00
2bc26fe4fa
Make sure docker images are only built when tests pass
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-22 16:40:41 +02:00
4168b9ac26
Add seperate docker pipeline for amd64 and arm
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-06-22 16:16:19 +02:00
3ba26ce67e
Fix docs theme build
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-13 23:44:05 +02:00
f17e378a93 Add migration test in drone (#585)
Some checks failed
continuous-integration/drone/push Build is failing
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: vikunja/api#585
2020-06-13 20:45:18 +00:00
28a5c1f7b2 Remove dependencies on build step to speed up test pipeline (#521)
All checks were successful
continuous-integration/drone/push Build is passing
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: vikunja/api#521
2020-05-15 12:06:12 +00:00
368cbdf979
Fix gosec in drone
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 23:04:59 +02:00
b8d7c97eb7
Add gosec static analysis
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 22:30:09 +02:00
f2f17b11e8
Change release bucket
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-01 22:51:50 +01:00
ce5be947b4 Add postgres support (#135)
All checks were successful
continuous-integration/drone/push Build is passing
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: vikunja/api#135
2020-02-16 21:42:04 +00:00
ed4c17892e
Fixed building docs theme
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-30 21:53:57 +01:00
b653278e42
Reverted telegram notification in CI "fix"
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-19 18:18:39 +02:00
35e4ab198f
Fixed telegram notification in CI
Some checks failed
continuous-integration/drone/push Build is failing
2019-10-19 16:57:39 +02:00
021ee48ec3
Made sure all tags are checked out when building in docker
All checks were successful
continuous-integration/drone/push Build is passing
2019-09-01 11:43:01 +02:00
9a7d470ce2 Limit the test pipeline to run only on pull requests (#89)
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-18 20:28:56 +00:00
c3ea45d900
Removed rancher from drone config
All checks were successful
continuous-integration/drone/push Build is passing
2019-07-13 19:23:09 +02:00
50ca8bd28e Statically compile templates in the final binary (#84)
Some checks failed
continuous-integration/drone/push Build is failing
2019-07-11 19:10:42 +00:00
9930f98f8e Compress binaries after building them (#81)
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-22 22:07:58 +00:00
a7bbaf7c5f
Fixed replace directive
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-24 11:57:18 +02:00
3356a691f7
Removed drone debug env variables
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-22 22:55:32 +02:00
7d46c88285
Fixed build
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-22 20:36:11 +02:00
7107d030fc Better caldav support (#73)
Some checks failed
continuous-integration/drone/push Build is failing
2019-05-22 17:48:48 +00:00
a6e70f1b29
Fixed enabling go modules for cross-platform 2019-04-27 11:41:28 +02:00
44223bde77
Fixed enabling go modules for cross-platform 2019-04-27 11:24:47 +02:00
6bab8fb769
Updated and re-enabled statickcheck 2019-04-23 10:34:06 +02:00
07bdb08f9c
Fixed darwin build
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-22 14:31:46 +02:00
1117b6eb47
Change path in drone
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-04-22 14:20:25 +02:00
10f80c190b
Switched to techknowlogick/xgo
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-22 14:02:18 +02:00
c8858f6cfb
Fixed xgo docker image
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-22 13:27:26 +02:00
dd1749f11f
Disabled staticcheck until their memory leak is resolved
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2019-04-22 13:04:16 +02:00
5dc1fd0f86
Switched to use src.techknowlogick.com/xgo
Some checks failed
continuous-integration/drone/push Build is failing
2019-04-21 23:07:33 +02:00
b1701ca769
Removed debugging
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-04-21 23:04:46 +02:00
5cfaa0f322
Debugging
Some checks failed
continuous-integration/drone/push Build is failing
2019-04-21 22:43:18 +02:00
7b332808f9
Always fetch tags in drone when building
Some checks reported errors
continuous-integration/drone/push Build was killed
2019-04-21 22:39:35 +02:00
228c47d79e
removed unneded drone configs 2019-04-21 22:36:01 +02:00
27339a7cf0
Debugging
All checks were successful
continuous-integration/drone/push Build is passing
2019-04-21 21:55:31 +02:00