Skip to content

[WIP] Add pipelines installation instructions for custom GitLab instances #2547

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

oredavids
Copy link
Contributor

@oredavids oredavids commented Apr 30, 2025

By updating the the necessary architecture catalog templates to allow configurable server options; it appears all the additional documentation that is:needed:

  • Admonition to fork the Pipelines workflow repo
  • A version bump of the templates
  • Additional note to check OIDC config values after running boilerplate to generate the files.

Required to merge

  • Merge and release v2.13.0 of the architecture catalog

Summary by CodeRabbit

  • Documentation
    • Added guidance for users of custom GitLab instances, including forking instructions and configuration notes.
    • Clarified and reformatted instructions for the authorization step, with placeholders and custom instance examples.
    • Updated version references and corrected file descriptions in installation steps.
    • Improved sidebar labels and formatting for better navigation.

Copy link

vercel bot commented Apr 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2025 0:39am

Copy link
Contributor

coderabbitai bot commented Apr 30, 2025

Walkthrough

The updates focus on documentation improvements and minor configuration adjustments. The installation guide for adding Pipelines to a GitLab repository was enhanced with detailed instructions for users of custom GitLab instances, including new notes, clearer formatting, and updated version references. Additionally, the documentation sidebar configuration was updated to correct a label and fix a formatting issue, ensuring accurate navigation and structure within the documentation.

Changes

File(s) Change Summary
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md Enhanced documentation for custom GitLab instances, clarified instructions, updated template version, corrected file references, and added new notes.
sidebars/docs.js Updated sidebar label from "Repository" to "Project" for GitLab section and fixed a formatting comma.

Poem

📝
Docs refreshed, instructions clear,
For GitLab custom, guidance is here.
Sidebar labels neat and bright,
Version bumps and notes in sight.
With commas fixed and steps refined,
Pipelines’ path is well-defined!
🚀


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md (1)

44-49: Improved formatting of email instructions.

Using a code block with clear placeholders makes it easier for users to understand what information they need to provide. The explicit example of a custom GitLab instance URL is particularly helpful.

Consider specifying a language for the code block to improve formatting:

-      ```
+      ```text
       GitLab group name(s): $$GITLAB_GROUP_NAME$$ (e.g. acme-io)
       GitLab instance URL: $$GITLAB_INSTANCE$$ (e.g., https://gitlab.acme.io)
       Organization name: $$ORGANIZATION_NAME$$ (e.g. Acme, Inc.)
       ```
🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

45-45: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 94dc6ae and b638992.

📒 Files selected for processing (2)
  • docs/2.0/docs/pipelines/installation/addinggitlabrepo.md (4 hunks)
  • sidebars/docs.js (2 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md

[grammar] ~20-~20: The singular proper name ‘GitLab’ must be used with a third-person or a past tense verb.
Context: ...nents to reside within the [same GitLab instance as the project referencing them](https:...

(HE_VERB_AGR)

🪛 markdownlint-cli2 (0.17.2)
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md

45-45: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Validate generated content
🔇 Additional comments (6)
sidebars/docs.js (2)

262-262: Great terminology update to align with GitLab's language!

Changing "Adding Pipelines to a GitLab Repository" to "Adding Pipelines to a GitLab Project" maintains consistency with GitLab's standard terminology, which refers to "projects" rather than "repositories". This improves clarity for users familiar with GitLab.


266-267: Good catch on adding the missing comma.

The added comma fixes a syntax error in the sidebar configuration object which could potentially cause JavaScript errors or unexpected behavior.

docs/2.0/docs/pipelines/installation/addinggitlabrepo.md (4)

16-23: Excellent addition of custom GitLab instance guidance!

This clear information box provides crucial instructions for users with custom GitLab instances. The explanation of why forking is necessary (due to GitLab's requirement that CI/CD components must reside in the same instance) helps users understand the technical reasoning behind this step.

🧰 Tools
🪛 LanguageTool

[grammar] ~20-~20: The singular proper name ‘GitLab’ must be used with a third-person or a past tense verb.
Context: ...nents to reside within the [same GitLab instance as the project referencing them](https:...

(HE_VERB_AGR)


109-109: Helpful reminder for custom instance users.

This addition ensures that users with custom GitLab instances remember to review and update instance-specific variables in their configuration.


134-136: Important clarification for OIDC configuration.

Correcting the file type description from "Terraform files" to "Terragrunt files" and adding the note about verifying OIDC configuration for custom GitLab instances helps prevent potential authentication issues.


113-113:

❓ Verification inconclusive

Version update to support new features.

Updating the boilerplate template URL from v2.12.10 to v2.13.0 ensures users get the latest version with custom GitLab instance support.


🏁 Script executed:

#!/bin/bash
# Verify that v2.13.0 has been released or will be released soon
# Check if the tag exists in the architecture catalog repository

echo "Checking if v2.13.0 exists in the architecture catalog repository..."
git ls-remote --tags https://github.com/gruntwork-io/terraform-aws-architecture-catalog.git | grep "v2.13.0"

# Check if there's a PR mentioned in the PR objectives
echo "Looking for related PR 1143 in terraform-aws-architecture-catalog..."
gh api repos/gruntwork-io/terraform-aws-architecture-catalog/pulls/1143 --jq '.title, .state, .html_url'

Length of output: 786


Please verify the v2.13.0 tag and repo path before bumping the template URL

It looks like the docs were updated to point at

[email protected]:gruntwork-io/terraform-aws-architecture-catalog.git//…?ref=v2.13.0

but our automated check couldn’t find that repo or tag on GitHub. Before merging:

  • Confirm the correct repository path (it may be private or renamed)
  • Ensure the v2.13.0 tag has been published
  • If it isn’t available yet, revert to v2.12.10 or hold until the release is live

docs/2.0/docs/pipelines/installation/addinggitlabrepo.md:113

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md (1)

45-49: Specify a language for the fenced code block
Markdown linting flags recommend adding a language identifier to fenced code blocks. Since this is a simple placeholder snippet, consider:

-      ```
+      ```text

This will satisfy Markdown lint rules and improve readability.

🧰 Tools
🪛 markdownlint-cli2 (0.17.2)

45-45: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b638992 and 63d3aba.

📒 Files selected for processing (1)
  • docs/2.0/docs/pipelines/installation/addinggitlabrepo.md (4 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md

[grammar] ~20-~20: The singular proper name ‘GitLab’ must be used with a third-person or a past tense verb.
Context: ...nents to reside within the [same GitLab instance as the project referencing them](https:...

(HE_VERB_AGR)

🪛 markdownlint-cli2 (0.17.2)
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md

45-45: Fenced code blocks should have a language specified
null

(MD040, fenced-code-language)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Pull Request has non-contributor approval
  • GitHub Check: validate_build
  • GitHub Check: Validate generated content
🔇 Additional comments (4)
docs/2.0/docs/pipelines/installation/addinggitlabrepo.md (4)

16-23: Excellent addition: Custom instance fork instruction
This informational admonition clearly guides users of custom GitLab instances to fork and mirror the Pipelines workflow project in their own instance. It aligns perfectly with the PR objective of supporting configurable server options.

🧰 Tools
🪛 LanguageTool

[grammar] ~20-~20: The singular proper name ‘GitLab’ must be used with a third-person or a past tense verb.
Context: ...nents to reside within the [same GitLab instance as the project referencing them](https:...

(HE_VERB_AGR)


109-109: Great reminder for custom vars.yaml customization
This call-out helps users remember to override instance-specific settings in vars.yaml. The phrasing is clear, concise, and on-point.


134-135: Solid note on OIDC provider configuration for custom instances
Reminding users to verify the URL and audiences inputs when using a custom GitLab instance is crucial. The placement and wording are effective and will help prevent misconfigurations.


113-113:

❓ Verification inconclusive

Verify template version bump to v2.13.0
Before merging, ensure that the v2.13.0 release of the architecture catalog templates is published and that PR #1143 has been merged. You can verify the tag exists with:


🏁 Script executed:

#!/bin/bash
# Check that v2.13.0 is available in the remote repo
git ls-remote --tags https://github.com/gruntwork-io/terraform-aws-architecture-catalog.git | grep "refs/tags/v2.13.0"

Length of output: 250


Verify the v2.13.0 template bump
Before merging, please confirm both that PR #1143 has been merged and that the v2.13.0 tag is published in the terraform-aws-architecture-catalog repo. You can check with SSH or in your browser:

• Via SSH:

git ls-remote --tags [email protected]:gruntwork-io/terraform-aws-architecture-catalog.git \
  | grep "refs/tags/v2.13.0"

• In your browser:
https://github.com/gruntwork-io/terraform-aws-architecture-catalog/releases/tag/v2.13.0

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.

2 participants