Fix flow runner, branch prefix, and private CA troubleshooting

What does this MR do?

Three entries on the Agent Platform troubleshooting page describe behavior that differs from GitLab 19.5.3.

  • Runner restriction. With duo_runner_restrictions on (the default), a project or subgroup runner with the gitlab--duo tag can take the flow job. GitLab then fails it with no job log. The page said such runners never pick it up. The runner setup steps in flows/execution/_index.md now say so and link to the entry.
  • Branch name. The example push rule refused duo/update/, a branch type the shipped prompts list, and the duo-developer-backup/ branch the Developer Flow pushes before a force-push.
  • Private CA. The old cause named GIT_CONFIG_GLOBAL=/dev/null, which the jobs no longer set (GIT_CONFIG_NOSYSTEM is still set), and said get_sources fails, which it does not with tls-ca-file. The remedy now differs by whether the sandbox is applied.
---
title: GitLab Self-Managed 19.5.3
---
flowchart LR
  A[Runner with the gitlab--duo tag asks for a job] --> B[GitLab assigns the flow job to it]
  B --> C{duo_runner_restrictions on?}
  C -- no --> D[Job runs]
  C -- yes --> G{Instance runner or top-level group runner?}
  G -- yes --> D
  G -- no --> E[Job fails as duo_workflow_not_allowed]
  E --> F[No job log, job not offered to another runner]
flowchart TD
  A[Flow job on an instance with a private CA] --> B{Sandbox applied?}
  B -- no --> C["Runner environment reaches each tool: GIT_SSL_CAINFO for git, SSL_CERT_FILE for glab and curl, NODE_EXTRA_CA_CERTS for the CLI"]
  B -- yes --> D["Only forwarded variables enter the sandbox: NODE_EXTRA_CA_CERTS reaches the CLI"]
  D --> E["git, glab and curl read the image trust store: mount a bundle, build the CA in, or run update-ca-trust as root"]

Related to #632120 (closed), !259731 (merged) and !258133 (merged).

Author's checklist

If you are a GitLab team member and only adding documentation, do not add any of the following labels:

  • ~"frontend"
  • ~"backend"
  • ~"type::bug"
  • ~"database"

These labels cause the MR to be added to code verification QA issues.

Reviewer's checklist

Documentation-related MRs should be reviewed by a Technical Writer for a non-blocking review, based on Documentation Guidelines and the Style Guide.

If you aren't sure which tech writer to ask, use roulette or ask in the #docs Slack channel.

  • If the content requires it, ensure the information is reviewed by a subject matter expert.
  • Technical writer review items:
    • Ensure docs metadata is present and up-to-date.
    • Ensure the appropriate labels are added to this MR.
    • Ensure a release milestone is set.
    • If relevant to this MR, ensure content topic type principles are in use, including:
      • The headings should be something you'd do a Google search for. Instead of Default behavior, say something like Default behavior when you close an issue.
      • The headings (other than the page title) should be active. Instead of Configuring GDK, say something like Configure GDK.
      • Any task steps should be written as a numbered list.
      • If the content still needs to be edited for topic types, you can create a follow-up issue with the docs-technical-debt label.
  • Review by assigned maintainer, who can always request/require the reviews above. Maintainer's review can occur before or after a technical writer review.

An AI coding assistant wrote this change. The assistant also checked the claims against the GitLab 19.5.3 source and the shipped gateway prompts and ran markdownlint-cli2, Vale and rumdl with the project's own configuration on the changed page on a developer laptop. The assistant ran the runner, push rule, and certificate behaviors on a self-managed GitLab 19.5.3 instance on a test VM.

Merge request reports

Loading
Loading