Skip to content

test(e2e) - #93

Merged
ntk148v merged 4 commits into
masterfrom
ci/e2e-tests
Nov 3, 2026
Merged

ntk148v merged 4 commits into
masterfrom
ci/e2e-tests

Conversation

@ntk148v

@ntk148v ntk148v commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Summary

Add e2e tests for the all-in-one deployment on GitHub Actions. Update the version bumper to test, close and clean up bump PRs.

Changes

  • .github/workflows/e2e.yml (new)
    • Lint job: syntax check and ansible-lint --profile min.
    • E2E job on ubuntu-22.04 and ubuntu-24.04: precheck → deploy → verify → redeploy (no container recreated) → destroy → verify removal.
  • tests/e2e/ (new)
    • config.yml: deploys Prometheus, Alertmanager, node_exporter, cAdvisor and Grafana.
    • verify.yml: checks endpoints, container state, Prometheus targets and cleanup after destroy.
  • .github/workflows/version_bumper.yml
    • Starts e2e on each bump branch. PRs created with GITHUB_TOKEN do not start pull_request workflows.
    • Closes older bump PRs for the same role. Example: Grafana 12.5.1 closes 12.5.0.
    • Deletes the autoupdate/* branch when a person merges or closes its PR.

Notes

  • The redeploy check compares container IDs and start times, not changed=0. Some shell tasks always report changed.
  • The redeploy check may fail on Grafana. Its handler recreates the container without the memory and CPU limits. This is a bug in the role, not in the test.

@ntk148v
ntk148v merged commit 448b923 into master Nov 3, 2026
5 checks passed
@ntk148v
ntk148v deleted the ci/e2e-tests branch November 3, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant