Commit Graph

181 Commits

Author SHA1 Message Date
Kwitsch 30cda6c367
Feature: binary build workflow (#1445)
* added build binary workflow

* error message rework
2024-04-12 16:42:17 -04:00
ThinkChaos 90b9677198 ci: fix docs workflow not running for branches
Seems like if you put `tags:`, then you must also put `branches:` even
if you put `paths:`
2024-04-11 18:33:09 -04:00
ThinkChaos c56f0f91ca ci(fork-sync): add hint that it can be disabled 2024-04-02 16:53:35 -04:00
ThinkChaos 75c2a6f9f6 ci(makefile): use `push: paths:` to limit job runs 2024-04-02 16:53:35 -04:00
ThinkChaos 1a035c3559 ci(docs): use `push: paths:` to limit job runs 2024-04-02 16:53:35 -04:00
ThinkChaos b5682980f7 ci: allow concurrent "Makefile" workflows
I like to push my commits one by one so they all get
the full CI validation.
This limits forces me to push a commit, and wait for the result before
pushing another.
2024-04-02 16:53:35 -04:00
Kwitsch 7eef4bf6e2
Build Cache Optimization (#1402)
* don't copy if we mount the files anyway

* use newer alpine version

* cache apk pkgs

* changeing workdir is not needed in ziggoimg

* cache some more

* preload go modules
2024-03-15 17:22:26 -04:00
dependabot[bot] 8bb5b177af
build(deps): bump codecov/codecov-action from 3 to 4 (#1363)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 14:36:28 +01:00
dependabot[bot] 343d38cd3b
build(deps): bump actions/upload-artifact from 3 to 4 (#1306)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 08:46:54 +01:00
dependabot[bot] c814667b14
build(deps): bump github/codeql-action from 2 to 3 (#1303)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 08:46:43 +01:00
dependabot[bot] c703f8f973
build(deps): bump actions/download-artifact from 3 to 4 (#1305)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 08:07:14 +01:00
dependabot[bot] 3e8b7af189
build(deps): bump actions/setup-go from 4 to 5 (#1294)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 08:52:28 +01:00
dependabot[bot] 79d3afa57a
build(deps): bump actions/setup-python from 4 to 5 (#1295)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 08:52:03 +01:00
dependabot[bot] 5490fc6363
build(deps): bump actions/stale from 8 to 9 (#1296)
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 08:51:47 +01:00
ThinkChaos 6dd294b4a7 fix(ci): limit docs job concurrency to one
Since it updates the `gh-pages` branch, no two jobs can run at the same
time otherwise there's a race condition and a single one will succeed.
2023-12-05 20:52:46 -05:00
Kwitsch fb8c4192ab
Bugfix/GitHub workflows (#1234)
* added github-actions

* removed default config entries

* configured prettier as formatter for github workflows

* runs every day to prevent running into api limits
2023-11-14 17:22:27 -05:00
Kwitsch dc66eff8e9
Bugfix/readme (#1232)
* delete old runs of frequently run workflows

* run cleanup every day
2023-11-11 19:44:31 -05:00
Kwitsch 8ece708fe9
devcontainer & unit test refactoring (#1220)
* extension cleanup & added ginkgo watch

* added gcov2lcov

* added test explorer and reworked scripts

* go mod tidy

* use package cache volume

* script rework

* defined tasks

* defined launch

* don't try to convert if test was canceld

* generate lcov only in devcontainer

* disable coverage upload on forks

* wip: make lcov

* fixed unit tests for parallel

* parallel test for lists

* fix serve test for parallel

* parallel test fixes

* deleted accident commit

* wip: make lcov

* restructured settings location

* start script refactoring

* added GetProcessPort

* fixed parallel ports

* race fix

* changed port for github runner binding

* fixed local list var in test

* more local vars in tests fix

* less local vars

* run test & race parallel

* removed invalid error check

* fixed error  check

* less local variables

* fixed timing problem

* removed gcov2lcov

* added generate-lcov

* added GINKGO_PROCS to makefile

* fixed workflow

* run generate-lcov on save *.go

* added tooltitude
2023-11-11 11:58:31 -05:00
Kwitsch 1a200c77e3
Fix/opencontainer labels (#1192)
* fix documentation url

* fix opencontainers created label

* fixed document path

* added link
2023-10-08 23:34:54 +02:00
Dimitri Herzog 45a933565e
chore(build): revert codecov-action update 2023-09-16 11:09:45 +02:00
dependabot[bot] c72a0e18f1
build(deps): bump codecov/codecov-action from 3 to 4 (#1147)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-15 21:46:21 +02:00
dependabot[bot] e31d20c132
build(deps): bump crazy-max/ghaction-docker-meta from 4 to 5 (#1142)
Bumps [crazy-max/ghaction-docker-meta](https://github.com/crazy-max/ghaction-docker-meta) from 4 to 5.
- [Release notes](https://github.com/crazy-max/ghaction-docker-meta/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/crazy-max/ghaction-docker-meta/compare/v4...v5)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-docker-meta
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 15:04:39 +02:00
dependabot[bot] 4006b16263
build(deps): bump docker/setup-qemu-action from 2 to 3 (#1141)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 15:04:31 +02:00
dependabot[bot] cb5f72f830
build(deps): bump docker/build-push-action from 4 to 5 (#1140)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 11:06:33 +02:00
dependabot[bot] c212ab30d3
build(deps): bump docker/login-action from 2 to 3 (#1139)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 08:10:47 +02:00
dependabot[bot] e187aaa7fb
build(deps): bump docker/setup-buildx-action from 2 to 3 (#1143)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 08:14:23 +02:00
dependabot[bot] f5ec92f438
build(deps): bump goreleaser/goreleaser-action from 4 to 5 (#1136)
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 4 to 5.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](https://github.com/goreleaser/goreleaser-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:18:07 +02:00
dependabot[bot] d8d7fa52d6
build(deps): bump actions/checkout from 3 to 4 (#1127)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 14:50:17 +02:00
Dimitri Herzog 7782818e8d
chore(build): change deprecated "rm-dist" flag to "clean" (#1120) 2023-09-01 21:39:58 +02:00
Dimitri Herzog faae4fcb30
test: remove temporary fix (bug in testcontainers) (#1106) 2023-08-22 10:25:31 +02:00
Dimitri Herzog 2902c6ffe3 test: temporarily downgrade golang version
pinning to 1.20.5 until https://github.com/testcontainers/testcontainers-go/issues/1359 is resolved
2023-07-27 12:01:31 -04:00
ThinkChaos 1f2f875575 ci(docs): show pages URL in step summary 2023-07-14 17:38:13 -04:00
ThinkChaos 2bd59484c0 ci: deploy docs on forks if they have pages enabled 2023-07-07 09:16:20 -04:00
Kwitsch 1d25cca4e5
Goreleaser fix (#1003)
* use zig for goreleaser

* added test workflow

* Revert "added test workflow"

This reverts commit 9c55c5fd9e.

* added goreleaser test

* autorun goreleaser tests

* add pseudo tag for goreleaser

* added test

* added arm test

* arch test

* missing qemu setup?

* test alternate run

* test rework

* path fix?

* 18 won't run

* another test

* permission fix

* amd64 matrix

* added macos

* added windows test

* consolidate unix tests

* fix path

* fix path2

* matrix consolidation

* +x fails on macos

* fix runner

* windows fix

* Update .github/workflows/goreleaser-test.yml

Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>

* Update .github/workflows/goreleaser-test.yml

Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>

* Update .github/workflows/goreleaser-test.yml

Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>

* Update .github/workflows/goreleaser-test.yml

Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>

* auto test binaries on release

---------

Co-authored-by: ThinkChaos <ThinkChaos@users.noreply.github.com>
2023-04-26 08:57:22 +02:00
Kwitsch 68a8476e48
chore(build): Automation workflows (#972)
* Added fork sync workflow(syncs the main branch with upstream every 30 minutes)
* Added monthly workflow run deletion(all skipped or canceld and runs older than 30days will be deleted)
* Removed Docker image build for main branch on forks
* Added documentation how to enable sync and docker build workflows
2023-04-03 16:33:16 +02:00
Kwitsch 2496c368e3
GitHub Actions Update (#951)
* change to actions/setup-go

* test codeql change

* intenten fix

* remove strategy

* comment cleanup

* removed test branch

* convert main branch to development tag

* set development tag on main branch
2023-03-28 11:43:49 +02:00
Dimitri Herzog 8757dea992 chore(docs): add release alias for docs deployment 2023-03-27 08:52:46 +02:00
dependabot[bot] 7af43da03c
build(deps): bump actions/stale from 7 to 8 (#949)
Bumps [actions/stale](https://github.com/actions/stale) from 7 to 8.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 07:43:09 +01:00
Kwitsch ebe3805c9c
disable docs workflow on forks (#939) 2023-03-18 23:28:03 +01:00
dependabot[bot] ebad2d1611
build(deps): bump actions/setup-go from 3 to 4 (#936)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 07:49:56 +01:00
Dimitri Herzog 2d8bc470c4
chore(build): run mirror job only on main branch 2023-03-14 07:43:09 +01:00
Dimitri Herzog c9f0355266 chore: mirror git repo to codeberg 2023-03-13 14:04:18 +01:00
dependabot[bot] 61cc9ebafc
build(deps): bump magnetikonline/action-golang-cache from 3 to 4 (#919)
Bumps [magnetikonline/action-golang-cache](https://github.com/magnetikonline/action-golang-cache) from 3 to 4.
- [Release notes](https://github.com/magnetikonline/action-golang-cache/releases)
- [Commits](https://github.com/magnetikonline/action-golang-cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: magnetikonline/action-golang-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 07:27:33 +01:00
Dimitri Herzog b4fc272f94 chore(build): change docker authentication to access token 2023-03-08 11:17:34 +01:00
Dimitri Herzog 32fe1ebf66 chore: type 2023-03-07 17:37:57 +01:00
Dimitri Herzog e482eb43e9 chore(docs): use docs versioning 2023-03-07 17:36:48 +01:00
Dimitri Herzog 2c108dabb8 chore: change branch name to "main" (#744) 2023-03-07 17:25:04 +01:00
Dimitri Herzog 88de7c16f7 chore(build): don't build images for feature branches
- deploy always "development" tag
2023-03-07 16:29:20 +01:00
Dimitri Herzog d6dd2ed1be chore(build): set master as default branch (#744) 2023-03-07 16:12:32 +01:00
Kwitsch 101e2c554b
Workflow changes (#857)
* fix linter errors

* fix for flaky redis unit test

* timeout adjustment

* e2e-test -> ci-build

* setup docker buildx

* added concurrency cancelation

* changed job name

* Test comment out problematic eventually

* added comment

* workflow file rename

* workflow name changed

* skip go generate

* added make generate

* removed unused go generate

* setup golang with caches if needed

* matrix revamp

* activate gofor e2e

* fix matrix

* test

* eventually timing

* removed linter workflow in favor of make matrix

* expect -> Eventually

* renamed workflow
2023-02-07 14:00:53 +01:00