DEVX-145: Extract reusable components from infra and grm into devx #230

Merged
emil merged 0 commits from DEVX-145-extract-reusable-components into master 2026-07-22 20:56:28 +00:00
Owner
No description provided.
emil added 1 commit 2026-07-22 20:55:20 +00:00
feat: extract reusable components from infra and grm into devx
CI / auto-merge (pull_request) Waiting to run
CI / validate (pull_request) Waiting to run
ad969f1c4e
Extract generic, reusable CI/CD and utility modules from the infra
and grm repositories into the devx package, deduplicating code and
promoting reusability across oblachno-oss projects.

New utility modules:
- devx.utils.ui.say() — unified click.echo + logging output
- devx.utils.api.APIClient — base HTTP API client class with retry logic
- devx.utils.jinja — Jinja2 environment helpers with Ansible-compatible filters

New CI/tool modules:
- devx.ci.cancel_superseded_runs — cancel in-flight CI runs for same PR
- devx.ci.check_workflow_artifact_deps — verify artifact download deps
- devx.ci.check_workflow_tofu_init — verify tofu-state jobs have tofu-init
- devx.tools.check_docker_init — check Docker Compose healthcheck + init
- devx.tools.check_ansible_set_fact_to_json — check set_fact to_json misuse
- devx.tools.check_alert_rules — validate Prometheus alert rules with promtool

i18n configurability:
- configure_i18n() allows downstream projects to use custom env var names
  (for example, GRM_LANG instead of DEVX_LANG)

Dependencies:
- Add jinja2 and pyyaml as core dependencies (previously in deploy extras)

Closes DEVX-145

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
emil reviewed 2026-07-22 20:56:10 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: OK
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: OK - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
kireto approved these changes 2026-07-22 20:56:24 +00:00
kireto left a comment
Member

Auto-approved: all CI checks passed (validate job).

Auto-approved: all CI checks passed (validate job).
emil merged commit 9f1bdc4cf1 into master 2026-07-22 20:56:28 +00:00
emil deleted branch DEVX-145-extract-reusable-components 2026-07-22 20:56:29 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oblachno-oss/devx#230