André Roth
4170c9e995
update README
2025-01-11 15:58:10 +01:00
André Roth
d523ca8186
update Makefile PHONY
2024-12-21 22:13:26 +01:00
André Roth
b14595cb2d
cleanup makefile
2024-12-11 12:02:52 +01:00
André Roth
eb6dd4d69e
swagger: fix docker serve
2024-12-11 12:02:52 +01:00
André Roth
4e566b4692
fix tests and lint
2024-12-11 12:02:52 +01:00
André Roth
e92afd8f78
fix unit tests on arm
...
and fix etcd data dir
2024-12-11 10:40:44 +01:00
André Roth
280563caa8
unit-tests: allow running as user
2024-12-11 10:40:44 +01:00
André Roth
3d8968eff3
swagger: install native swag
2024-12-11 10:40:44 +01:00
iofq
9fc7ebdac2
Update repos, task, snapshot api docs
2024-12-11 10:40:44 +01:00
André Roth
74bc3f5db3
update go.mod
...
and make sure make lint has the VERSION generated
2024-12-11 10:40:44 +01:00
André Roth
69a1e2561d
docs: improve swagger
...
- use markdown files in swagger
- automate version, use swager.conf template
- embed swagger ui index.html as docs.html
2024-12-11 10:40:43 +01:00
André Roth
d80b905945
run azure tests in docker
2024-11-17 17:44:31 +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
dd4f90e4c2
Revert "use git-lfs for test files"
...
This reverts commit bf4b660568 .
2024-11-08 15:23:31 +01:00
André Roth
bf4b660568
use git-lfs for test files
2024-11-07 17:07:37 +01:00
André Roth
c028d5e8cb
docker-server: also watch cmd/ directory
2024-11-04 17:02:54 +01:00
André Roth
755fdfaca2
update swagger documentation
...
- add default values
- set default values
2024-11-01 17:48:03 +01:00
Christoph Fiehe
bd64232eb6
Allow management of components
...
This commit allows to add, remove and update components of published repositories without the need to recreate them.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de >
2024-10-22 16:58:15 +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
d6a156b181
Merge pull request #1162 from aptly-dev/feature/176-snapshot-pull-api
...
Snapshot Pull API
2024-10-03 23:07:27 +02:00
André Roth
71085969f5
Makefile: more colors
2024-10-03 19:17:27 +02:00
André Roth
a3078fa93e
improve make clean
2024-10-03 14:25:46 +02:00
André Roth
e3a95d5c4e
make swagger quiet
2024-10-02 21:29:25 +02:00
André Roth
997ffe9c31
system-tests: install swag only if needed
2024-10-02 21:29:12 +02:00
André Roth
c6c607a406
improve make docker-shell
2024-10-02 19:13:00 +02:00
André Roth
5b92336668
add development server
2024-10-01 01:07: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
7e73165409
ci: use tag/branch for release/ci building
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
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
André Roth
497196886a
system-tests: download compressed etcd.db
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
b92ca5d6e5
use unique and incremental CI 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
98b1ed07d1
docker: improve dev env
...
- abort docker scripts on error
- generate version in system tests
- build debian packages in docker
- add make clean target
- fix lint
2024-09-24 10:14:39 +02:00
André Roth
f7f220aa18
debianize
...
- fix make version on debian
- update gitignore
- add aptly-api and service
- install zsh completion
- add debug package
- move aptly data from orig deb package
- do not add shell for service user
- use 8080 as default port
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
0251fddae4
improve Makefile documentation
2024-08-03 00:14:26 +02:00
André Roth
696b78f207
docker: update dev env and documentation
2024-08-03 00:14:26 +02:00
André Roth
83a05a1900
golangci-lint: download and build before lint
2024-08-03 00:14:26 +02:00
André Roth
48a0bca35e
allow s3 test in docker
...
read AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY from ./aws.creds when running:
make docker-system-tests
2024-08-03 00:14:26 +02:00
André Roth
0b3dd2709b
apply PR feedback
2024-07-31 22:16:00 +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
hudeng
59bf4501e8
feat: Use databaseBackend config repace databaseEtcd
...
databaseBackend config contains type and url sub config, It can facilitate the expansion of other types of databases in the future.
2024-07-31 22:16:00 +02:00
hudeng
f29449db14
feat: Add system test for etcd
2024-07-31 22:16:00 +02:00