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
c843709eab
add github sponsors
2024-06-12 13:01:40 +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
André Roth
9deb031c44
fix system tests
...
- use s3 mirror instead of internet download
- reduce download verbosity
- do not use venv in docker-system-tests
- be more verbose on test output
- do not run golangci-lint in system-tests
2024-04-11 10:15:02 +02:00
André Roth
943e76ae8b
golangci-lint: add new github workflow
2024-03-06 08:08:42 +01:00
André Roth
a71186bcc3
gitlab: use ubuntu22.04 runners and gpg2
2024-02-05 13:04:45 +01:00
Mauro Regli
f155ed3ba9
Set Golangci-lint timeout to 5m
2023-09-21 11:25:18 +02:00
Mauro Regli
f4a152ab22
Update CI to only use 1.21 and python 3.11
2023-09-21 11:25:18 +02:00
Markus Muellner
bece12ad4d
update golangci-lint to v1.51.2
2023-03-22 17:22:54 +01:00
Markus Muellner
8e62195eb5
implement structured logging
2023-02-20 13:42:50 +01:00
Markus Muellner
352f4e8772
update golangci-lint and replace deprecated calls to io/ioutil
2022-12-12 10:21:39 +01:00
Benj Fassbind
afdc10b919
Fix golangci-lint
2022-08-16 09:04:16 +02:00
Benj Fassbind
515e5532c8
Fix temp dir on ci
2022-07-13 08:33:48 +02:00
Benj Fassbind
1d4e6183be
Capture coverage of integration tests
...
To capture the coverage also for the integration tests,
a test only executing the cmd.Run function is used.
The test always exits with code 0 and prints the
real exit code to stdout. Otherwise no coverage
report is generated.
Those changes enable a more accurate coverage report
for future contributions.
2022-07-13 08:33:48 +02:00
Benj Fassbind
35ad6cacc8
Upload code coverage
2022-06-20 13:23:28 +02:00
Chuan Liu
f9f1c8ee75
Update azurite dir
2022-06-09 10:45:13 +02:00
Chuan Liu
0a1798869a
Enable Azure publish unit tests in Github actions
2022-04-29 21:23:41 +02:00
Benj Fassbind
d955b06f03
Fix artifacts publishing
2022-04-13 09:27:50 +02:00
Markus Muellner
6539e1b856
Add metrics endpoint with http metrics using Prometheus client lib
2022-04-12 14:39:16 +02:00
Benj Fassbind
c29ccaadbc
Fix typo in ci config
2022-04-05 11:41:14 +02:00
Benj Fassbind
cf98718a79
Fix default branch name in ci
2022-04-05 09:58:02 +02:00
Benj Fassbind
47bda055e0
Publish releases and nightly builds from ci
2022-04-04 20:07:08 +02:00
Ubuntu
5b98039291
Remove 1.14 from CI
2022-04-04 17:51:21 +02:00
Lorenzo Bolla
f89350e6cd
Timeout CI build job after 30 minutes
...
Fix #1032
2022-02-13 21:07:50 +01:00
Benj Fassbind
21029c326b
Add release to CI
2022-02-11 08:36:21 +01:00
Lorenzo Bolla
035d5314b0
Convert tests to Python 3
...
Fix #938
2022-01-27 15:06:33 +01:00
Benj Fassbind
a40cfc679c
Only run system test with latest go version
2022-01-27 09:30:14 +01:00
Ximon Eighteen
122ff609e8
Typo correction in GHA workflow comment
2022-01-27 09:30:14 +01:00
Lorenzo Bolla
d60e575af5
Re-enable testing on go 1.17
2022-01-27 09:30:14 +01:00
Benj Fassbind
a83dea705f
Build for newer go versions
2022-01-27 09:30:14 +01:00
Benj Fassbind
ed7a960e31
Trigger CI on every push
2022-01-27 09:30:14 +01:00
Ximon Eighteen
78082bc10f
Add a comment referring to the original Travis CI config from the new workflow.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
5b8c909ac3
Disable testing against Go master for now.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
20b038bfb7
continue-on-error value must be a boolean
2022-01-27 09:30:14 +01:00
Ximon Eighteen
9f9a1a138b
Matrix elements must be arrays.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
4cb9ac5357
Fix syntax error.
2022-01-27 09:30:14 +01:00
Ximon Eighteen
cd76e481fd
Initial attempt at a GitHub Actions workflow to emulate the previously used Travis CI setup.
2022-01-27 09:30:14 +01:00
Andrey Smirnov
6e96cd29dc
Add bash completion to PR template [ci skip]
2017-03-16 01:30:00 +03:00
Andrey Smirnov
781c22e256
Add PR and issue templates
2016-12-30 00:11:45 +03:00