Commit Graph

762 Commits

Author SHA1 Message Date
André Roth c86b888b0a add tests 2024-11-08 19:00:18 +01:00
André Roth 596f59d3c4 fix tests 2024-11-08 17:07:37 +01:00
André Roth 19d213d748 fix tests 2024-11-08 15:55:01 +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 38485a5b1e add test 2024-11-07 17:07:37 +01:00
André Roth bf4b660568 use git-lfs for test files 2024-11-07 17:07:37 +01:00
André Roth a4c53689ca docker-wrapper: ignore root user
some systems (MacOS) might have root permissions on the volume directories.
2024-11-01 20:18:05 +01:00
André Roth 0ceff44421 improve log 2024-11-01 20:01:45 +01:00
Christoph Fiehe c9309c926c Command to replace the whole staged source list added.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-11-01 17:48:03 +01:00
André Roth ee3124cfc6 update bash completion 2024-11-01 17:48:03 +01:00
Christoph Fiehe f8f28e9554 Fixing tests and fix cleanup.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-10-22 16:58:15 +02:00
Christoph Fiehe d87d8bac92 Fix test cases.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-10-22 16:58:15 +02:00
Christoph Fiehe 9dffe791ad Restoring original test sequence
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-10-22 16:58:15 +02:00
Christoph Fiehe 3057aed571 Test cases added.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-10-22 16:58:15 +02:00
Christoph Fiehe 14c29ff912 Fixing tests.
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-10-22 16:58:15 +02: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 8ddb81eb5c Merge pull request #1368 from aptly-dev/fix/repo-add-errmsg
repo add: improve error message
2024-10-22 16:39:45 +02:00
André Roth 0666f8784f repo from snapshot: add negative test 2024-10-22 11:13:31 +02:00
Андрей Лухнов f8e0a8d880 Update create repo API to support snapshots
To achieve feature parity with cli, it is now possible
to create repos from snapshots
2024-10-22 07:53:43 +03:00
André Roth 75ca51b23b improve error message 2024-10-10 12:03:13 +02:00
André Roth 861260198a publish: persist multidist flag 2024-10-08 22:28:12 +02:00
André Roth 14a343a0d7 system tests: support fitureCmds and allow dirmgr to startup
- fixes a race condition, where dirmgr does not seem to  be ready
- imports secret key for signing if gpg2 is used
2024-10-08 15:38:42 +02:00
André Roth 704af8f2f0 docker: use bash shell for aptly user 2024-10-08 02:14:30 +02:00
André Roth df18133179 fix system test
fixture commands are actually executing ./aptly-test, do the same here
2024-10-08 01:22:10 +02:00
André Roth a998755245 debian: fix dependencies
- docker: install more tools
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 33047c2c55 cleanup gpg keys
- move gpg files to one place
- with gpg2, the secretkey parameter is ignored. aptly can also ignore it
2024-10-04 18:46:40 +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 f0ad0f9496 improve and test grab downloader 2024-10-04 13:37:56 +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 dbc336f921 system-tests: show execution time 2024-10-03 21:53:43 +02:00
André Roth 38ea720fc5 snapshot merge: use proper REST api
- this breaks the existing api, which is only available in CI builds
- improve swagger doc
2024-10-03 17:34:29 +02:00
André Roth 06b2b920da make REST api more restful 2024-10-03 14:51:45 +02:00
Mauro Regli af5b04b24f Feature: Add Pull Snapshot API 2024-10-03 14:25:46 +02:00
André Roth 37ee41af67 system-test: enable test not depending on FTP 2024-10-03 01:15:56 +02:00
André Roth d6efe8636e cleanup FTP system tests
as we cannot test FTP with S3 backend easily, test is disabled and removed from api tests
2024-10-03 01:15:56 +02:00
André Roth caf55bb8e0 ci: cleanup step names 2024-10-03 01:15:56 +02:00
André Roth cc4798472f fix test depending on gpg1 keys 2024-10-02 21:29:28 +02:00
André Roth c6c607a406 improve make docker-shell 2024-10-02 19:13:00 +02:00
André Roth c25693b009 storage: add tests 2024-10-02 19:12:05 +02:00
André Roth fca153cc8b docker-deb: install and init swagger 2024-10-02 18:48:48 +02:00
André Roth 09954b2c73 build-deb: build only host architecture 2024-10-01 13:59:42 +02:00
André Roth 26a9219f7d swagger: add test 2024-10-01 01:32:56 +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
Christoph Fiehe 4195ad90bc Allow to add a new component to a published repo
This commit modifies the behavior of the publish switch method in the way, that also new components can be added to an already published repository. It is no longer necessary to drop and recreate the whole publish.

Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-09-24 15:43:27 +02:00
André Roth 20c81d7f9a ci: allow pull requests
disable tests if env secrets are empty

- detect emtpy aws token
- upload: check for aptly creds
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