Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

GitLab CI/CD Pipeline Configuration Keywords

Conhecendo o GitLab CI/CD

Below is a comprehensive table listing the key stanzas (keywords) used in GitLab CI/CD pipeline configuration files (.gitlab-ci.yml). These keywords are categorized based on their scope and functionality. This information is based on GitLab’s official documentation as of version 18.0.


📘 GitLab CI/CD Pipeline Configuration Keywords

KeywordScopeDescription
stagesGlobalDefines the stages of the pipeline (e.g., build, test, deploy).
defaultGlobalSets default values for jobs.
includeGlobalIncludes external YAML files into the pipeline configuration.
workflowGlobalDefines conditions to control pipeline creation.
variablesGlobal/JobDefines CI/CD variables.
imageGlobal/JobSpecifies the Docker image to use for jobs.
servicesGlobal/JobDefines additional Docker services for jobs.
before_scriptGlobal/JobScripts to run before each job’s script.
after_scriptGlobal/JobScripts to run after each job’s script, regardless of success or failure.
cacheGlobal/JobSpecifies files to cache between jobs.
pagesJobDefines a job that uploads content to GitLab Pages.
scriptJobThe shell commands to execute in the job.
stageJobAssigns the job to a stage.
onlyJobSpecifies the conditions to include the job. (Deprecated in favor of rules)
exceptJobSpecifies the conditions to exclude the job. (Deprecated in favor of rules)
rulesJobSpecifies conditions to include/exclude jobs.
needsJobDefines job dependencies and allows out-of-order execution.
dependenciesJobSpecifies artifacts to pass between jobs.
artifactsJobDefines files to save after job completion.
retryJobSpecifies the number of retries for a job on failure.
timeoutJobSets a timeout for the job.
whenJobSpecifies when to run the job (e.g., on_success, manual).
allow_failureJobAllows the job to fail without failing the pipeline.
parallelJobDefines parallel execution of a job.
triggerJobTriggers a downstream pipeline.
extendsJobInherits configuration from other jobs.
tagsJobSpecifies tags to select specific runners.
environmentJobDefines the environment for deployment.
only:variablesJobSpecifies job inclusion based on variables. (Deprecated in favor of rules)
except:variablesJobSpecifies job exclusion based on variables. (Deprecated in favor of rules)
coverageJobSpecifies how to extract code coverage info.
secretsJobDefines secrets to be used in jobs.
resource_groupJobLimits job concurrency.
interruptibleJobAllows jobs to be canceled when superseded by newer runs.
manualJobMarks job as manual, requiring user intervention. (Deprecated in favor of when: manual)
start_inJobDelays the execution of a manual job.
inheritJobControls inheritance of global configurations.
coverage:regexJobSpecifies a regex to extract coverage info.
retry:whenJobSpecifies conditions under which to retry a job.
releaseJobDefines a release to be created after job completion.
id_tokensJobDefines OpenID Connect (OIDC) tokens for jobs.
workflow:rulesGlobalDefines rules to control pipeline creation.
workflow:variablesGlobalDefines variables at the workflow level.
workflow:inputsGlobalDefines inputs for the pipeline.

This table provides a comprehensive overview of the keywords used in GitLab CI/CD pipeline configurations. For detailed information and examples on each keyword, you can refer to the official GitLab CI/CD YAML syntax reference: (GitLab Documentation).(GitLab Documentation)

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Team Foundation Server 2015 Installation Guide (SQL Express + Update 3)

Install Team Foundation Server 2015 using the original Microsoft download paths, with clear guidance for online, offline, and ISO-based setup. This revised guide also includes an installation workflow, command example, and practical pitfalls to avoid.

Read More

How to Access a Running Docker Container Shell: docker exec vs docker attach

Need a shell inside a running container that is already in detached mode? This updated guide shows the correct workflow, compares docker exec and docker attach, and explains when SSH does and does not make sense.

Read More

Host Your Own NuGet Feed: Local Source vs NuGet.Server vs NuGetGallery

Learn how to host a private NuGet feed using three practical approaches: a local folder source, NuGet.Server, and NuGetGallery. This revised guide includes setup steps, command examples, and a workflow diagram to help you choose the right model.

Read More

Publish NuGet Packages to NuGet.org: CLI Steps, Workflow, and CI Example

Learn how to publish a NuGet package to NuGet.org using either nuget.exe or the dotnet CLI. This revised guide includes a workflow diagram, command comparison, and a CI-friendly example.

Read More

How to Create NuGet Packages with nuget.exe (Assembly, .nuspec, and .csproj Methods)

Learn three practical ways to build NuGet packages using nuget.exe: from an existing assembly, from a convention-based folder layout, or directly from a Visual Studio project. This guide includes commands, folder conventions, token behavior, and common pitfalls.

Read More

Virtualization in DevOps: Using Vagrant, Docker, and Cloud Platforms Together

This guide explains how VM-based workflows, containers, and cloud platforms complement each other in DevOps. It includes a practical workflow, trade-off table, and command examples for day-to-day use.

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x