Commit Graph
91 Commits
Author SHA1 Message Date
renovate[bot] cb403cb9e0 chore(deps): update docker/login-action action to v4 (#325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 20:53:19 +01:00
renovate[bot] 20ef623fcf chore(deps): update docker/setup-qemu-action action to v4 (#326)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 20:53:11 +01:00
renovate[bot] 6339993a86 chore(deps): update docker/setup-buildx-action action to v4 (#327)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 20:53:03 +01:00
renovate[bot] 482a62fd97 chore(deps): update docker/metadata-action action to v6 (#328)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 20:52:56 +01:00
renovate[bot] 1ccdf5a943 chore(deps): update docker/build-push-action action to v7 (#329)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-10 20:52:45 +01:00
ThePhaseless 19b39cfc86 [skip ci] remove claude code reviews 2025-12-26 19:57:34 +00:00
renovate[bot] a29a73faa5 chore(deps): update actions/github-script action to v8 (#280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-26 19:37:10 +01:00
renovate[bot] 5a8f4edd94 chore(deps): update actions/checkout action to v6 (#282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-26 19:35:17 +01:00
Jakub OrchowskiandClaude 4f7edf7411 renovate - Only test (#281)
* Skip build and review for Renovate PRs, only run tests

Modified CI workflows to optimize Renovate PRs:
- Skip Docker build and merge-and-push jobs for Renovate PRs
- Skip Claude code review for Renovate PRs
- Tests still run for all PRs including Renovate

This reduces CI time and resource usage for dependency update PRs.

* Remove redundant condition from merge-and-push job

The merge-and-push job depends on build job, so it won't run if build is skipped.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-20 01:39:54 +01:00
Jakub OrchowskiandClaude 14ce9f5bdf Add Building Feature (#276)
* feat: Build Docker images for PRs with branch name labels

- Remove condition preventing PR builds
- Add branch name extraction and sanitization
- Add branch labels to Docker images (org.opencontainers.image.branch and branch)
- Enable pushing of PR Docker images
- Sanitize branch names for Docker tags (replace / with -)

This allows PR images to be built and tagged with their branch names,
making it easier to test specific PR builds.

* feat: Add path filters to Docker workflow

Only build Docker images when relevant files change:
- Source code (src/**, main.py, tests/**)
- Docker configuration (Dockerfile, compose.yaml)
- Dependencies (pyproject.toml, uv.lock)
- Workflow file itself

This prevents unnecessary builds when only documentation or
other non-functional files are changed.

* feat: Add automatic cleanup of PR Docker images

Create a new workflow that automatically deletes Docker images
when a PR is closed or merged. This prevents accumulation of
old PR images in the container registry.

Features:
- Triggers on PR close/merge events
- Deletes images tagged with PR number and SHA
- Handles both architecture variants (amd64, arm64)
- Supports both organization and user repositories
- Provides detailed logging of cleanup operations

* refactor: Remove redundant branch label preparation

Remove duplicate branch name preparation step in merge-and-push job.
Branch labels are already added during the build step, so no need
to add them again when creating the manifest.

* refactor: Remove redundant label configurations

Remove custom label configurations from docker-publish workflow.
The docker/metadata-action already sets standard OCI labels by
default, so explicit label configuration is unnecessary.

Also removed unused BRANCH_TAG variable preparation.

* refactor: Use PR number for Docker image tags instead of SHA

Changed Docker image tagging strategy for pull requests:
- Use pr-{number}-{arch} for individual platform builds
- Use pr-{number} for final manifest
- Non-PR builds still use SHA-based tags

Benefits:
- Simpler, more readable tags for PRs
- Easier to identify which PR an image belongs to
- Cleanup script simplified to match only PR number tags

Updated cleanup workflow to match new tag pattern.

* docs: Add PR Docker image tags to README

Document the pr-{number} tag pattern used for pull request images.
These images are automatically built for PRs and cleaned up when
the PR is closed.

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-20 01:25:00 +01:00
Jakub Orchowski 593082afe8 Update claude-code-review.yml 2025-11-15 04:47:34 +01:00
Jakub Orchowski be2fbe091b Enable full output for Claude code review action 2025-11-15 04:37:59 +01:00
renovate[bot] 49b4e2ae7d chore(deps): update actions/checkout action to v5 (#260)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-17 22:15:25 +02:00
Jakub Orchowski 352fa599e9 Add Claude Code GitHub Workflow (#259)
* "Claude PR Assistant workflow"

* "Claude Code Review workflow"
2025-10-15 08:20:21 +02:00
ThePhaseless 605ee23148 dont build on pull request 2025-09-11 18:25:04 +02:00
Jakub Orchowski 7e2d97e1c3 Migrate to camoufox (#235)
* use camoufox

* build custom branches

* organize compose

* ignore missing stubs

* add init method

* create ADDON PATH

* check if solving is required

* type checking and remove logger

* uv sync

* add timeout

* add descriptiuon

* cancel previous runs

* wildcard minor

* fix proxy

* syntax fix

* [skip ci] fix loop warning

* fix proxy format

* copy over docker ignore

* remove testing line

* comment out port expose

* remove idope

* use strict typechecking

* refactor

* adjust compose

* run init only before test

* try test without init

* add curl

* handle page response

* remove turnsile test

* fix dockerignore symlink

* use newer debian

* bump pytest

* add docker in docker in devcontaienr

* remove unused values

* handle timeouts

* fix edgecase

* use new envs for proxy

* remove init command

* remove testing line

* remove setuptools

* fix linters

* reimport

* readd setuptools

* better float handling
2025-09-05 23:08:35 +02:00
Jakub Orchowski d0cc36c357 Merge pull request #225 from ThePhaseless/renovate/actions-checkout-5.x
chore(deps): update actions/checkout action to v5
2025-08-17 02:39:46 +02:00
ThePhaseless 22da0ba815 cancel previous runs 2025-08-16 22:50:10 +00:00
renovate[bot] 5f5d8c7413 chore(deps): update actions/checkout action to v5 2025-08-11 13:34:58 +00:00
ThePhaseless 739700fbb2 fix versioning 2025-04-12 21:53:11 +00:00
ThePhaseless 17c1a05d74 fix latest tagging 2025-02-28 19:28:05 +01:00
ThePhaseless efee40632f readd test 2025-02-28 19:16:47 +01:00
ThePhaseless ea1cf93456 remove apt caching 2025-02-28 19:16:09 +01:00
ThePhaseless 9a1d0ef218 lowercase registry 2025-02-28 19:01:06 +01:00
ThePhaseless b9a44b60b6 remove artifact upload 2025-02-28 18:46:48 +01:00
ThePhaseless 56370cc695 remove invalid argument 2025-02-28 18:43:55 +01:00
ThePhaseless 013a7dab90 login before push 2025-02-28 18:36:00 +01:00
ThePhaseless b4d09657f1 push and then merge 2025-02-28 18:33:30 +01:00
ThePhaseless 7ae50e99dc push before merging 2025-02-28 18:16:39 +01:00
ThePhaseless 64264f325e fix bash 2025-02-28 18:04:23 +01:00
ThePhaseless a12b406265 echo args 2025-02-28 17:53:04 +01:00
ThePhaseless a93bf725ef push all tags into one 2025-02-28 17:43:57 +01:00
ThePhaseless 8b4ec8e178 bump buildkit cache 2025-02-28 17:14:40 +01:00
ThePhaseless 56ac51105c tweak labels 2025-02-28 17:09:23 +01:00
ThePhaseless 893fd84ff6 add platform to apt cache name 2025-02-28 16:28:32 +01:00
ThePhaseless 3e94cd6f5f upload apt and uv cache 2025-02-28 16:24:20 +01:00
ThePhaseless d58826f20b add qemu back 2025-02-28 16:17:54 +01:00
ThePhaseless 681171d3cf comment out test 2025-02-28 16:11:59 +01:00
ThePhaseless 53bdb29e0a tweaks to tags 2025-02-28 16:11:10 +01:00
ThePhaseless 5129c922c6 add qemu 2025-02-27 20:20:55 +00:00
ThePhaseless babac914cb another fix 2025-02-27 19:41:54 +00:00
ThePhaseless b0da587c39 try fixing new build 2025-02-27 19:10:47 +00:00
ThePhaseless b72c69fc8e try new build action 2025-02-26 11:03:46 +01:00
ThePhaseless 4b450fadf2 [skip ci] sync tests and build x64 cache 2025-02-20 21:47:15 +00:00
ThePhaseless 633fc4ab69 build arm first 2025-02-20 21:34:14 +00:00
ThePhaseless 9661d8e29f do not publish test container 2025-02-20 21:00:52 +00:00
ThePhaseless d90dccaed3 gha cache fix 2025-02-20 20:50:11 +00:00
Thephaseless c8ccfd8cb2 add tags info and use latest on stable release 2024-12-17 12:03:36 +00:00
Thephaseless dbdce3d05a pull before build and test 2024-12-11 01:02:59 +00:00
Thephaseless 6b95a8700c test, then build 2024-12-11 01:01:00 +00:00