Commit Graph

97 Commits

Author SHA1 Message Date
4504499f60
Switch building the docs to download the theme instead of building
Some checks failed
continuous-integration/drone/push Build is failing
2021-04-22 11:25:19 +02:00
325dcc5795
Fix matrix notify room id
Some checks failed
continuous-integration/drone/push Build is failing
2021-04-07 14:46:40 +02:00
b7d832891a
Switch telegram notifications to matrix notifications
Some checks failed
continuous-integration/drone/push Build is failing
2021-04-07 12:27:51 +02:00
d8e10e1a58
Add separate docker manifest file for latest docker images
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-14 22:46:46 +01:00
58492fffce
Run all lint checks at once 2021-02-14 22:40:08 +01:00
65f42b8bda
Re-Enable migration test steps in pipeline
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-13 16:58:12 +01:00
59092afbc0
Explicitly add docker build step for latest
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-13 16:01:20 +01:00
480db6aa9b
Pipeline debugging
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-10 20:49:20 +01:00
bb77df68f5
Temporarily disable migration step
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-10 20:25:24 +01:00
9ef17a6dbc
Change test file names to unstable
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-10 19:59:53 +01:00
37a4e1e658
Temporary build fix
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-10 19:58:24 +01:00
02b6dbd07d
Fix unstable version build file names
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-10 19:56:51 +01:00
61d76e6875
Change unstable versions in migration tests
Some checks failed
continuous-integration/drone/push Build is failing
2021-02-10 18:53:30 +01:00
7debeaa9ff
Change main branch to main
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-10 18:50:15 +01:00
269e7dd5df
Don't keep old releases from os packages when releasing for master
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-09 20:41:19 +01:00
015ca310e9 Add notifications package for easy sending of notifications (#779)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#779
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-02-07 21:05:09 +00:00
18b35e1119
Fix drone file
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-04 22:40:38 +01:00
b8ccfbd190
Add arm64 builds
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-02-04 22:32:37 +01:00
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