Digikwal
19c1431fb3
ci: relax failure threshold
2025-06-26 18:42:26 +02:00
digikwal
77f393fa79
chore: fix code formatting via Prettier
2025-06-26 18:07:51 +02:00
Digikwal
79046f9480
chore: remove deprecated artifacts
2025-06-26 17:48:50 +02:00
Digikwal
2d3d24ef0e
ci: refactor Docker build to trigger on release only
...
- Replaces workflow_run trigger with release.published
- Builds Docker image only when semantic-release publishes a new tag
- Tags image with immutable version and either :latest or :dev based on stability
- Removes unnecessary artifact dependencies and fallback tag logic
2025-06-26 17:47:22 +02:00
Digikwal
46748bbb5b
ci: semantic-release workflow with safe sequencing and test gate
...
- Triggers only after 'Release Trigger' workflow confirms 'Check' passed
- Runs full semantic-release with test gate
- Removes redundant changelog plugin install
- Exports release tag as artifact for use in downstream Docker build
2025-06-26 17:26:04 +02:00
Digikwal
e827431900
ci: Add unified Check workflow for lint and pre-commit
...
Introduces a reusable workflow that waits until the 'Check' workflow has successfully passed on the current commit.
Also adds 'release-trigger', which runs on push to main and calls this reusable workflow before allowing semantic-release to continue.
- Prevents race conditions between quality checks and release
- No external dependencies (uses native GitHub CLI)
- Improves reliability and control of CI/CD sequencing
2025-06-26 17:15:26 +02:00
Digikwal
d54fbd96cc
ci: Add reusable wait-for-check workflow to safely trigger release
...
Introduces a reusable workflow that waits until the 'Check' workflow has successfully passed on the current commit.
Also adds 'release-trigger', which runs on push to main and calls this reusable workflow before allowing semantic-release to continue.
- Prevents race conditions between quality checks and release
- No external dependencies (uses native GitHub CLI)
- Improves reliability and control of CI/CD sequencing
2025-06-26 17:14:42 +02:00
Digikwal
e15b9247d0
Delete .github/workflows/pre-commit.yml
2025-06-26 17:05:01 +02:00
Digikwal
0bc936f749
Delete .github/workflows/lint.yml
2025-06-26 17:04:53 +02:00
Digikwal
03dfac329a
ci: refactor and merge pre-commit + lint
2025-06-26 17:04:12 +02:00
Digikwal
867716dc33
ci: Auto-merge PRs from fieldmate releases
...
This commit introduces a GitHub Actions workflow that automatically merges pull requests created by the fieldmate release process.
What it does:
- Detects PRs from branches starting with `fieldmate-auto-release`
- Attempts to enable auto-merge via GitHub CLI
- Falls back to direct squash merge if auto-merge is not possible
- Uses consistent commit messages and descriptions
This ensures that updates to fieldmate in frappe_docker are propagated cleanly and automatically, triggering rebuilds where needed.
2025-06-26 16:39:10 +02:00
Digikwal
91a59014e2
fix: refactor workflow logic
2025-06-26 15:54:52 +02:00
Digikwal
ba692058cb
feat(ci): add release metadata logic
2025-06-26 02:10:15 +02:00
Digikwal
28cb49e958
Delete .github/workflows/on-fieldmate-release.yml
2025-06-26 01:40:44 +02:00
Digikwal
9ed7b47cc3
ci: add workflow to react on Fieldmate release
...
This workflow listens for repository_dispatch events of type 'fieldmate-release'.
It is intended to be triggered from the Fieldmate repository after a new version is released.
On receiving the event:
- It prints the version number from the client_payload
- Serves as an integration point for docker rebuilds, publish flows, or other automations
Use `version` in the client payload to pass the released tag, e.g. 'v0.0.2'.
2025-06-25 20:04:30 +02:00
Digikwal
3c06923c64
chore(ci): remove path
2025-06-25 19:32:56 +02:00
Digikwal
b303f8fe70
fix: handle immutable tags
2025-06-25 00:02:32 +02:00
digikwal
efd094a9a4
style: [prettier] Autoformat code via pre-commit hook
2025-06-24 23:44:41 +02:00
Digikwal
4d175d549e
ci: create lint.yml
2025-06-24 22:37:11 +02:00
Digikwal
cde6bb3ce2
ci: optimize update hooks
...
- Cron from daily to once per week
- Pretty branch name + PR-title with date
- Python-version pinning
- Improved caching key (combines OS and Python-version)
- User pre-commit gc for cleanup
2025-06-24 22:36:02 +02:00
Digikwal
075f353328
ci: remove lint job
...
moving lint job to separate workflow
2025-06-24 22:16:12 +02:00
Digikwal
6cbfe06691
ci: update workflow triggersemantic-release.yml
2025-06-24 22:02:28 +02:00
Digikwal
9ce450573c
ci: Create pre-commit.yml
2025-06-24 20:09:15 +02:00
Digikwal
3df691875a
Delete .github/workflows/lint.yml
2025-06-24 20:04:19 +02:00
Digikwal
f0c32f6a67
ci: Merge workflows: Pre-commit and Lint into Semantic Release
...
- Combined the `Pre-commit` and `Lint` workflows under the `on.workflow_run` trigger in the Semantic Release workflow.
- Unified steps for dependency installation, testing, and release note generation.
- Added handling for `FRAPPE_BRANCH` to ensure metadata files are created and uploaded consistently.
- Reduced redundancy and improved maintainability of the workflow configuration.
2025-06-24 19:56:42 +02:00
Digikwal
468ca9ddeb
feat: add workflow dispatch
2025-06-24 18:53:25 +02:00
Digikwal
90bcb0291a
chore(ci): trigger lint on apps.json changes
2025-06-24 18:42:59 +02:00
Digikwal
dba5650b09
chore: update workflow name
2025-06-24 18:39:26 +02:00
digikwal
8b7eb9447f
ci: add semantic-release, docker build & pre-commit workflows
2025-06-24 18:28:55 +02:00
dependabot[bot]
ebd8021730
chore(deps): bump docker/bake-action from 6.7.0 to 6.8.0 ( #1641 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.7.0...v6.8.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-version: 6.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-29 17:33:43 +05:30
gp
31ed5daa68
chore: Update EOL NodeJS to 20.19.2 ( #1638 )
2025-05-29 17:33:28 +05:30
dependabot[bot]
1aeff70c96
chore(deps): bump docker/bake-action from 6.6.0 to 6.7.0 ( #1633 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.6.0...v6.7.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-version: 6.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-23 12:50:11 +05:30
dependabot[bot]
aa4ae4d183
chore(deps): bump docker/bake-action from 6.5.0 to 6.6.0 ( #1619 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.5.0...v6.6.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-version: 6.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-05 13:24:06 +05:30
dependabot[bot]
509de1f49f
chore(deps): bump webfactory/ssh-agent from 0.8.0 to 0.9.1 ( #1592 )
...
Bumps [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent ) from 0.8.0 to 0.9.1.
- [Release notes](https://github.com/webfactory/ssh-agent/releases )
- [Changelog](https://github.com/webfactory/ssh-agent/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webfactory/ssh-agent/compare/v0.8.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: webfactory/ssh-agent
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-19 07:24:13 +05:30
Revant Nandgaonkar
02e24c9d2d
build: add pkg-config deb package in build layer ( #1590 )
...
* build: add pkg-config deb package in build layer
* ci: only use tonistiigi/binfmt for image push
* revert: arm64 builds
* ci: copy build_bench to docker-build-push
* ci: set driver-opts network=host for buildx action
2025-03-15 19:07:33 +05:30
Revant Nandgaonkar
1e0fba9959
ci: for arm64 build frappe/erpnext like frappe/bench ( #1587 )
2025-03-13 14:03:55 +05:30
dependabot[bot]
8cfbbbb1e9
chore(deps): bump docker/bake-action from 6.4.0 to 6.5.0 ( #1577 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.4.0 to 6.5.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.4.0...v6.5.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-28 12:57:10 +05:30
dependabot[bot]
f069cffa5d
chore(deps): bump docker/bake-action from 6.3.0 to 6.4.0 ( #1570 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.3.0...v6.4.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-21 17:01:56 +05:30
dependabot[bot]
23adfd300f
chore(deps): bump docker/bake-action from 6.2.0 to 6.3.0 ( #1553 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.2.0...v6.3.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-25 17:20:37 +05:30
dependabot[bot]
32ed7a8ff6
chore(deps): bump docker/bake-action from 6.1.1 to 6.2.0 ( #1550 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.1.1 to 6.2.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.1.1...v6.2.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-17 09:34:26 +05:30
dependabot[bot]
3d564658ac
chore(deps): bump docker/bake-action from 6.0.0 to 6.1.1 ( #1548 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 6.0.0 to 6.1.1.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v6.0.0...v6.1.1 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 04:49:12 +05:30
Revant Nandgaonkar
0eaf7c8593
ci: use source for bake-action path context
2025-01-11 13:14:04 +05:30
dependabot[bot]
3d84e9bce2
chore(deps): bump docker/bake-action from 5.11.0 to 6.0.0
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 5.11.0 to 6.0.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v5.11.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-01-10 08:30:09 +00:00
dependabot[bot]
ce06dac357
chore(deps): bump docker/bake-action from 5.10.0 to 5.11.0 ( #1523 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 5.10.0 to 5.11.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v5.10.0...v5.11.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-05 11:44:55 +05:30
rexeo-asia
324d9db461
Update docker-build-push.yml ( #1512 )
...
Fixes https://github.com/frappe/frappe_docker/issues/1511 , add docker/setup-qemu-action@v3 step
2024-11-15 16:54:53 +05:30
rexeo-asia
88ac02198a
Update docker-build-push.yml to support arm64 ( #1492 )
2024-11-11 11:41:56 +05:30
dependabot[bot]
6abc293ed9
chore(deps): bump docker/bake-action from 5.9.0 to 5.10.0 ( #1480 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v5.9.0...v5.10.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-05 18:47:24 +05:30
dependabot[bot]
41dd3fb110
chore(deps): bump docker/bake-action from 5.8.0 to 5.9.0 ( #1478 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 5.8.0 to 5.9.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v5.8.0...v5.9.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:37:34 +05:30
dependabot[bot]
f4fd057d0f
chore(deps): bump docker/bake-action from 5.7.0 to 5.8.0 ( #1477 )
...
Bumps [docker/bake-action](https://github.com/docker/bake-action ) from 5.7.0 to 5.8.0.
- [Release notes](https://github.com/docker/bake-action/releases )
- [Commits](https://github.com/docker/bake-action/compare/v5.7.0...v5.8.0 )
---
updated-dependencies:
- dependency-name: docker/bake-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 06:49:58 +05:30
dependabot[bot]
38a2ebf574
chore(deps): bump peter-evans/create-pull-request from 6 to 7 ( #1461 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
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-09-05 09:51:39 +05:30