Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LTD-5428] Make CI check routing docs are up to date #2206

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

currycoder
Copy link
Contributor

@currycoder currycoder commented Sep 25, 2024

Aim

This change adds a new circle CI job to ensure that the lite_routing documentation is up to date.

This is achieved by generating the docs again in circleci (after bringing up a seeded/migrated app) and checking for differences from what we have in git for lite-routing.
If differences are observed, the check fails with an error message which shows the diff.

PRs for the lite-routing repository will get this check "for free" since the CI for that repository calls through to lite-api's CI pipeline.

NOTE: We should only merge this PR when the companion PR in lite-routing has merged https://github.com/uktrade/lite-routing/pull/268 AND when we are ready to update the lite-routing submodule sha.

LTD-5428

@currycoder currycoder marked this pull request as draft September 25, 2024 11:15
@currycoder currycoder force-pushed the LTD-5428-check-routing-docs-in-ci branch from 369c14a to 99daade Compare September 25, 2024 16:07
@currycoder currycoder changed the title [LTD-5428] Generate routing docs in circleci [LTD-5428] Make CI check routing docs are up to date Sep 25, 2024
@currycoder currycoder marked this pull request as ready for review September 25, 2024 16:15
@currycoder currycoder marked this pull request as draft September 25, 2024 16:15
@currycoder currycoder force-pushed the LTD-5428-check-routing-docs-in-ci branch from 99daade to e5936df Compare September 30, 2024 11:41
@currycoder currycoder marked this pull request as ready for review September 30, 2024 11:48
@currycoder currycoder merged commit 96d848a into dev Sep 30, 2024
26 checks passed
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.

3 participants