Commit Graph

2623 Commits

Author SHA1 Message Date
André Roth 37ee41af67 system-test: enable test not depending on FTP 2024-10-03 01:15:56 +02:00
André Roth 8b8eb57555 update etcd go mod
to be compatible with debian version
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 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 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 06cbd29d0d add storage API 2024-10-02 18:48:48 +02:00
André Roth aff7b0db50 Merge pull request #1348 from aptly-dev/improve/debian-build
Improve/debian build
2024-10-01 20:11:00 +02:00
André Roth f7ff964085 debian: fix lintian complaints
- remove dulplicate bash completion
- fix lintian complaint about bash completion
-  add built-using
2024-10-01 13:59:42 +02:00
André Roth 94dc4f2365 debian: update dependencies
all go dependencies are available in debian/testing (trixie) and aptly builds.
2024-10-01 13:59:42 +02:00
André Roth 09954b2c73 build-deb: build only host architecture 2024-10-01 13:59:42 +02:00
André Roth 87fc8c16af Merge pull request #1351 from aptly-dev/feature/swagger
Feature/swagger
2024-10-01 13:07:40 +02:00
André Roth 75530810b5 ci: update actions/checkout module 2024-10-01 01:36:09 +02:00
André Roth bdabfa1071 go mod tidy 2024-10-01 01:32:56 +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 fb538333fa add swagger documentation 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
dependabot[bot] 96e60ae540 build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.64.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.64.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-24 16:41:06 +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 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 2d6d371292 update man page 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 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 67d04ca878 debian: move config file to aptly-api 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
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 ba2c86361d remove debug 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 fe2c623638 debian: fix config migration 2024-09-24 10:14:39 +02:00
André Roth 0e9f047c37 ci upload: handle errors 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 0178093f6c catch config file errors 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