Skip to content

[v12] Use the GHA base container for Lint (Docs)#25716

Merged
ptgott merged 3 commits intobranch/v12from
bot/backport-25173-branch/v12
May 5, 2023
Merged

[v12] Use the GHA base container for Lint (Docs)#25716
ptgott merged 3 commits intobranch/v12from
bot/backport-25173-branch/v12

Conversation

@ptgott
Copy link
Copy Markdown
Contributor

@ptgott ptgott commented May 5, 2023

Backport #25173 to branch/v12

ptgott added 3 commits May 5, 2023 15:49
This way, we can take advantage of the software the comes pre-installed
on the GHA `ubuntu-latest` container image. Otherwise, we need to find a
way to portably install Chromium on the `gravitational/docs` container
in order to run the Mermaid CLI. Currently, the docs engine exits with
an error during the "Lint (Docs)" job when attempting to build mermaid
diagrams due to not being able to locate Chromium.

For this change to work, the "Lint (Docs)" job checks out
`gravitational/docs`, removes the default git submodule configuration,
then adds a git submodule for the current `gravitational/teleport`
branch. From there, it can install dependencies via `yarn` and run our
CI scripts.
@ptgott ptgott added this pull request to the merge queue May 5, 2023
Merged via the queue into branch/v12 with commit bf20466 May 5, 2023
@ptgott ptgott deleted the bot/backport-25173-branch/v12 branch May 5, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants