Skip to content

fix(infra): add setup-knuckle-upstream workflow and document GH_TOKEN requirement (closes #104)#206

Open
clubanderson wants to merge 1 commit into
projectbluefin:mainfrom
clubanderson:fix/ghost-knuckle-upstream-remote
Open

fix(infra): add setup-knuckle-upstream workflow and document GH_TOKEN requirement (closes #104)#206
clubanderson wants to merge 1 commit into
projectbluefin:mainfrom
clubanderson:fix/ghost-knuckle-upstream-remote

Conversation

@clubanderson

Copy link
Copy Markdown
Contributor

Summary

Fixes both infrastructure gaps from #104 that cause qa-test-pr.sh to fail on ghost:

1. Missing upstream remote — WorkflowTemplate fix

  • argo/workflow-templates/setup-knuckle-upstream.yaml — one-shot WorkflowTemplate pinned to ghost that adds the upstream remote (projectbluefin/knuckle) to ~/src/knuckle. Follows the same pattern as setup-ghost-ssh-banner (privileged pod, host volume mount, idempotent). Safe to re-run.
  • Justfilesetup-knuckle-upstream target for operator convenience.

2. gh CLI unauthenticated — documentation fix

Since persistent token setup on ghost is a manual/security decision, this PR documents the GH_TOKEN requirement:

  • RUNBOOK.md — two new failure-mode rows for the qa-test-pr.sh errors
  • WORKFLOWS.mdsetup-knuckle-upstream template documented
  • docs/agent-cheatsheet.md — command selector row + failure triage rows

After merge

Run once to apply the fix:

Test plan

  • just lint passes (template is well-formed)
  • just setup-knuckle-upstream runs successfully on ghost
  • ssh jorge@192.168.1.102 "cd ~/src/knuckle && git remote get-url upstream" returns the projectbluefin URL
  • qa-test-pr.sh no longer fails with the upstream remote error

… requirement (closes projectbluefin#104)

Add a WorkflowTemplate that runs on ghost to add the missing `upstream`
remote to ~/src/knuckle, fixing `qa-test-pr.sh` failures. Document the
GH_TOKEN requirement for gh CLI auth in the agent cheatsheet, runbook,
and failure triage tables.

Signed-off-by: unknown <unknown@users.noreply.github.com>

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM — well-structured test/infra addition, clean code.

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Adds setup-knuckle-upstream workflow and documents GH_TOKEN requirement — correct infra fix for #104. LGTM.

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved via org-wide review.

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved via org-wide review.

@castrojo

Copy link
Copy Markdown
Collaborator

This PR has merge conflicts with current main and needs a rebase before it can land.

@hanthor hanthor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Review: Approved ✅

Part of the structured service-catalog project build-up. Conventional Commits format, referenced issues, consistent with related PRs in the series.

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.

4 participants