Itay Porezky
dc884e6052
Removing non related actions from mirror update
2025-06-29 21:55:27 +03:00
André Roth
1566e193f6
system-test: enable faketime optionally per test
2025-06-09 13:17:54 +02:00
André Roth
601c8e9d52
tests: use faketime to prevent expired signing keys
2025-06-08 20:05:49 +02:00
André Roth
8e5707dbcc
unit-tests: allow running individual tests
2025-06-08 15:00:16 +02:00
André Roth
c67cafcf94
Makefile: allow no cache docker build
2025-04-26 13:31:16 +02:00
André Roth
f7057a9517
go1.24: fix lint, unit and system tests
...
- development env: base on debian trixie with go1.24
- lint: run with default config
- fix lint errors
- fix unit tests
- fix system test
2025-04-26 13:29:50 +02:00
André Roth
22bc2f9d0f
system-tests: improve sorted compare
...
sort both aptly output and gold file. output original output for
debugging on failure.
* Makefile: enable CAPTURE=1 env variable for capturing gold files
* docker-system-test: use AWS env vars for S3 tests
* fix system tests timing issue with order of gpg logs in publish tests
2025-04-25 00:51:59 +02:00
André Roth
e062df68c5
go1.23: update golangci-lint version
...
and fix warnings.
2025-04-20 20:32:55 +02:00
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