Skip to content

Keep one copy of the pipeline report #130

Todo

Description

@stphnwlsh

Blocked by #47.

.github/actions/pipeline-report is our own action: 561 lines of report.py and 328 of tests, copied into all five templates. Five copies of the one piece of pipeline code we wrote ourselves is five places to fix it. It should live once in this repository and be used from there. It waits for the xUnit v3 move because that changes the result and coverage files the report reads.

Phase 1: Move it

  • The action and its tests live in LeanMeanCleanApps/.github, with its tests run by a workflow here
  • CleanMinimalApi's Summary job uses it from this repository, and only inside the organisation
  • A copy of a template outside the organisation still goes green without it
  • Decide how templates pick up changes to it (a tag, or main)

Phase 2: Carry it to the other four

  • MCP, GraphQL, Web API and Lambda Function use the shared copy and delete their own
  • Shared Layers Drift stops comparing .github/actions/pipeline-report
  • ci-pipeline and ci-for-your-solution skills say where the report lives

Checks: the Summary comment on a pull request in each template looks the same as before, and a fork-style copy outside the organisation passes with no setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions