Repository navigation
Closed
Labels
ecp-wp4: M4.3ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes topriority: highHigh prioritystatus: in progressCurrently being worked ontype: ci / cdRelated to continuous integration / deliveryworkload: hoursLikely takes hours to resolve
Description
Why?
The repo has no CI that checks pull requests: Travis CI is long gone, and the only workflow, main.yaml, publishes images on pushes to dev without running anything. The central unit tests have 5 failures that nobody sees (shared mock data changed between tests, a missing app context). All further work on the upgrade path of M4.3 needs a working gate first.
How?
Add ci.yml / CI, following the org's other repos and naming rules:
title/PR title: the shared check for Conventional Commits, at most 50 characterstest/Test: unit tests with coverage, in the image that gets deployed, as FOCA 0.7 pins its dependencies therechart/Chart: lint and render the Helm chartsmoke/Smoke test: start the image with MongoDB and call the APIscan/Scan image: Trivy, report only for nowpush/Push image: both images on pushes todev, replacingmain.yamlpassed/CI passed: the gate; the only check to become required
Also: fix the failing tests, remove .travis.yml, exclude .env* from the image build context, point README badges and the Makefile to the new setup, and keep actions up to date with Dependabot.
Acceptance criteria
- All unit tests pass in CI on pull requests.
-
CI passedreports on every pull request and fails if any needed job fails. - Images are published under the org on pushes to
dev, only byci.yml.
Lint, type checks, further test levels and docs follow in separate issues.
Metadata
Metadata
Assignees
Labels
ecp-wp4: M4.3ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes topriority: highHigh prioritystatus: in progressCurrently being worked ontype: ci / cdRelated to continuous integration / deliveryworkload: hoursLikely takes hours to resolve
Activity