André Roth
4088a811cd
ci: do not upload coverage for dependabot
2026-04-12 18:55:54 +02:00
André Roth
2ac4c75fad
ci: fix coverage
2026-03-28 15:17:47 +01:00
André Roth
06fea598e1
ci: fail on failed coverage upload
2026-01-16 13:15:43 +01:00
André Roth
a57e2aecd7
ci: run unit tests in docker
...
- run separate unit-test job
- build docker
- allow make docker-unit-tests in ci
2026-01-11 21:19:13 +01:00
Linus Fischer
32b601bde6
Fix swagger property casing
2025-12-02 11:03:28 +00:00
André Roth
8ca4cb8dcb
ci: remove EOL debian/buster
2025-08-12 14:31:44 +02:00
André Roth
601c8e9d52
tests: use faketime to prevent expired signing keys
2025-06-08 20:05:49 +02:00
André Roth
e447fc0f1e
ci: keep CI artifacts for 7 days
2025-04-21 12:01:39 +02:00
André Roth
e062df68c5
go1.23: update golangci-lint version
...
and fix warnings.
2025-04-20 20:32:55 +02:00
André Roth
9ef217b351
ci: use go 1.23 compatible with gocovmerge
2025-04-20 11:38:33 +02:00
André Roth
ab18da351d
ci: add release notes
...
and update Releasing.md
2025-02-15 22:25:56 +01:00
André Roth
a862192bc4
ci: more relaxed aptly upload
2025-01-11 15:58:10 +01:00
André Roth
53c2f8b778
debian: add lintian
...
and fix/improve cross building. build now with PIE and RELRO
2024-11-17 14:10:30 +01:00
André Roth
6050051e04
adapt to official debian aptly packaging
2024-11-17 14:10:30 +01:00
André Roth
dd4f90e4c2
Revert "use git-lfs for test files"
...
This reverts commit bf4b660568 .
2024-11-08 15:23:31 +01:00
André Roth
9da58b1ea2
ci: lfs checkout
2024-11-07 17:14:56 +01:00
André Roth
0e6f9c38fb
ci: add packages to aptly repo with async
2024-10-22 14:38:02 +02:00
André Roth
be6d06a653
ci: delete aptly tasks after publish
2024-10-08 01:22:10 +02:00
André Roth
98c82a3684
improve Makefile
...
- simplify Makefile
- improve devserver
- improve make clean
2024-10-08 01:22:10 +02:00
André Roth
b2b7f11d17
ci: remove pip and virtualenv
...
- separate unit tests, benchmark, system tests, flake8
2024-10-04 15:56:57 +02:00
André Roth
678d0c61f1
github: move upload-artifacts script to pipeline directory
2024-10-03 01:24:10 +02:00
André Roth
caf55bb8e0
ci: cleanup step names
2024-10-03 01:15:56 +02:00
André Roth
75530810b5
ci: update actions/checkout module
2024-10-01 01:36:09 +02:00
André Roth
1d1bd41bb8
add swagger support
...
- install swaggo
- add swagger config option
2024-10-01 01:07:09 +02:00
André Roth
eaa363eb82
ci: allow to force ci build
...
this should not build release if pipeline triggered on master and master also has a version tag. avoid building same version twice and uploading to ci and release repos.
2024-09-24 10:14:39 +02:00
André Roth
795870bca5
ci: skip deb upload if no creds
2024-09-24 10:14:39 +02:00
André Roth
7e73165409
ci: use tag/branch for release/ci building
2024-09-24 10:14:39 +02:00
André Roth
d9168ed723
ci: log aptly version
2024-09-24 10:14:39 +02:00
André Roth
57fc7f7098
fix github-upload
2024-09-24 10:14:39 +02:00
André Roth
f5dda668e3
ci: do not upload ci on release builds
2024-09-24 10:14:39 +02:00
André Roth
769150dec6
system tests: enable S3 tests
2024-09-24 10:14:39 +02:00
André Roth
02d080955b
ci: move scripts to makefile
2024-09-24 10:14:39 +02:00
André Roth
04739a41fa
ci: do not unzip articact upload
2024-09-24 10:14:39 +02:00
André Roth
9771747916
improve CI workflow
...
- use debian version consistently
- if the commit is not on a git tag, append ci version
- avoid double zipping
- cleanup binary builds
- replace `make release` with `make binaries`
- add missing files to archives
- use matrix build for deb packages
- allow building release version
- keep directory inside zip archives
- accept releases only on master
only tags on master will trigger a release
- cleanup namings
- keep path in zip
- add retention period for pipeline artifacts
2024-09-24 10:14:39 +02:00
iofq
056df39a3c
move release script to Makefile
2024-09-24 10:14:39 +02:00
iofq
5e86a0b9e6
use multiarch CI build for release
2024-09-24 10:14:39 +02:00
André Roth
ba2c86361d
remove debug
2024-09-24 10:14:39 +02:00
André Roth
582201ab7c
build for Debian trixie (testing)
2024-09-24 10:14:39 +02:00
André Roth
88f4101866
update or downgrade go modules to match debian versions
...
- use go 1.22 (as available also in bookworm-backports)
- do not install go mods in docker
2024-09-24 10:14:39 +02:00
André Roth
373a157163
release for ubu24.04
2024-09-24 10:14:39 +02:00
André Roth
8e8cf90a71
ci: use async aptly publish
2024-09-24 10:14:39 +02:00
André Roth
a22dc9be1b
do not hardcode go version
2024-09-24 10:14:39 +02:00
André Roth
2306993b7b
ci: improve aptly repo layout
...
use the new -multi-dist option to combine all distributions into one
publish point:
deb http://repo.aptly.info/ci bookworm main
or:
deb http://repo.aptly.info/release bookworm main
for the following distributions: buster, bullseye, bookworm, focal, jammy
2024-09-24 10:14:39 +02:00
André Roth
c248dc1803
github CI: use dpkg-buildpackage for building debian packages
...
- use go 1.19
- Makefile: improve unit test output
- cleanup: remove travis
2024-09-24 10:14:39 +02:00
André Roth
53f96c98ad
CI: use go 1.22 for merging code code
2024-09-24 10:14:39 +02:00
André Roth
40eb4b4751
docker-lint: use go 1.19 compatible golangci-lint version
...
- use same user in docker container
- use GOPATH in source dir to prevent downloading all dependencies on each run
- add make clean
2024-08-03 00:14:26 +02:00
André Roth
5718f3f2f5
improve Makefile help
2024-08-03 00:14:26 +02:00
André Roth
640c202ee5
etcd: implement separate system tests
...
- add t13_etcd test directory
- etcd will be started for the unit tests and each system test
- etcd will load fixture DB export if requested by the test
- existing tests are reused for etcd testing
2024-07-31 22:16:00 +02:00
Ryan Gonzalez
0eccaf2b60
Change Azure endpoint syntax to require a full URL
...
Before, a "partial" URL (either "localhost:port" or an endpoint URL
*without* the account name as the subdomain) would be specified, and the
full one would automatically be inferred. Although this is somewhat
nice, it means that the endpoint string doesn't match the official Azure
syntax:
https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string
This also raises issues for the creation of functional tests for Azure,
as the code to determine the endpoint string needs to be duplicated
there as well.
Instead, it's just easiest to follow Azure's own standard, and then
sidestep the need for any custom logic in the functional tests.
Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com >
2024-06-17 11:51:18 +02:00
André Roth
f233a21787
github CI: nightly builds for multiple distributions
...
Since the pipeline changed to use ucuntu22.04 runners, the nighty debian packages do not work on debian buster anymore.
This change updates the pipeline to build for Ubuntu 20.04 and 22.04 as well as for
Debian 10, 11 and 12.
The distribution specific apt sources are as follows:
"deb http://repo.aptly.info/nightly-bookworm bookworm main"
(replace bookworm with focal, buster, bullseye. Install aptly repo key with: curl -fsS https://www.aptly.info/pubkey.txt | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/aptly.gpg)
The builds on focal will also release to the legacy nightly apt repo: https://github.com/aptly-dev/aptly/actions/runs/8723898496/job/23933824692#step:7:24
This only affects nightly builds, for now.
Pipeline example: [](https://github.com/aptly-dev/aptly/actions/runs/8723898496 )
2024-04-17 17:48:37 +02:00