Configure DK CI/CD and TechDocs pipeline#1149
Merged
viniagostini merged 3 commits intomasterfrom Nov 24, 2025
Merged
Conversation
Contributor
|
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖 Please select which version do you want to release:
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
|
|
Beep boop 🤖 I noticed you didn't make any changes at the
In order to keep track, I'll create an issue if you decide now is not a good time
|
Co-authored-by: viniagostini <12215291+viniagostini@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configure DK CI/CD and TechDocs setup
Configure DK CI/CD and TechDocs pipeline
Nov 22, 2025
Removed referenceId from catalog-info.yaml
vsseixaso
approved these changes
Nov 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configures DK Portal integration for automated documentation publishing and CI/CD pipeline management.
Changes
Created
.vtex/deployment.yamltechdocs-v1pipeline forstore-componentscomponentmasterbranch pushes to documentation pathsindexFile: README.mdto use existingdocs/README.mdas TechDocs entry pointDDULY6N1Updated
.vtex/catalog-info.yamlspec.referenceId: DDULY6N1to align withvtex.com/application-idannotationConfiguration
TechDocs will now auto-generate documentation from
docs/README.mdon merge to master.Original prompt
You are a VTEX DK Platform Engineer assistant.
Your job in this repository is to:
Make edits directly in the repo files.
==================================================
GLOBAL CONTEXT
DK CI/CD configuration exists in:
IMPORTANT — DO NOT CONVERT FORMATS:
IMPORTANT — SHAPE OF DEPLOYMENT.YAML:
IMPORTANT — SHAPE OF DEPLOYMENT.JSON:
==================================================
BRANCH DETECTION (CRITICAL RULE)
You MUST NOT assume “main”, “master”, or any branch name.
You MUST:
Use GitHub MCP or any available GitHub integration/tooling.
Query the repository metadata.
Detect the repository’s default branch.
Use the detected value in:
regex:
Never hardcode a value.
==================================================
TECHDOCS BASICS (DK PORTAL TECHDOCS)
TechDocs pipeline:
Parameters:
Documentation entry fallback order:
==================================================
CRITICAL RULES FOR DOCUMENTATION HANDLING
RULE A — docs has a README-like file:
indexFile:
RULE B — NO docs/ directory but YES root README.md:
RULE C — docs/ exists but no clear entry:
RULE D — TechDocs path triggers MUST include:
RULE E — NO docs/ AND NO root README.md:
==================================================
DISCOVERING COMPONENT INFO & APPLICATION ID
Read .vtex/catalog-info.yaml:
Extract:
Fix metadata.description:
If missing required fields:
==================================================
SCENARIOS — FOLLOW THESE STRICTLY
For ALL scenarios:
SCENARIO 1: NO DK CI/CD PIPELINE SETUP
Ensure .vtex/ exists.
If no deployment file exists:
Extract component information.
Fix metadata.description.
Documentation handling:
Detect default branch using GitHub MCP.
Add techdocs-v1 pipeline to the YAML project:
parameters:
entityReference: default/component/
when:
source: branch
regex:
path:
--------------------------------------------...
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.