glab(1)

πŸ’– NAME πŸ’–

glab-ci-config-compile β€” View the merged CI/CD configuration. Okay bestie, welcome to the glab(1) manual page for this absolute icon. πŸ’…

✨ SYNOPSIS ✨

The synopsis is literally:

glab ci config compile [] [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do? It compiles your CI/CD configuration and prints the fully merged YAML to standard output. No cap, it's giving merged-YAML main character energy. ✨

All include directives are resolved, and any extended jobs are flattened into their final form. Yes, the final final. πŸŽ€

By default, glab compiles the .gitlab-ci.yml file in the current directory. To compile a different file, pass its path as an argument. Easy.

Heads up bestie: you must run this command from a GitLab project repository. πŸ’€

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

  • -h, --help[=false] β€” show help for this command. Helpful icon behavior. 🫢
  • -R, --repo="" β€” select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

🌈 EXAMPLE 🌈

Here's the example block, copied exactly because we do not play with commands:

# Compile .gitlab-ci.yml in the current directory
glab ci config compile

# Compile a specific file in the current directory
glab ci config compile .gitlab-ci.yml

# Compile a file at a relative path
glab ci config compile path/to/.gitlab-ci.yml

πŸ”— SEE ALSO πŸ”—


mwah 🫢 auto generated by spf13/cobra Β· Nov 2026 Β· for the glab(1) manual β€” bestie, that's the whole page, periodt. πŸ’–

πŸ“¦ where this page comes from