DEV Community

Supraja Tangella
Supraja Tangella

Posted on

𝗪𝗵𝘆 𝗘𝗻𝘁𝗲𝗿𝗽𝗿𝗶𝘀𝗲𝘀 𝗣𝗿𝗲𝗳𝗲𝗿 𝗬𝗔𝗠𝗟 𝗣𝗶𝗽𝗲𝗹𝗶𝗻𝗲𝘀 𝗶𝗻 𝗔𝘇𝘂𝗿𝗲 𝗗𝗲𝘃𝗢𝗽𝘀

Our team recently migrated from the Classic Editor to YAML pipelines.
As part of this transition, I am actively practicing the use of 𝗬𝗔𝗠𝗟 𝗳𝗶𝗹𝗲𝘀 𝗶𝗻 𝗔𝘇𝘂𝗿𝗲 𝗗𝗲𝘃𝗢𝗽𝘀 and exploring how they improve the way CI/CD pipelines are built and managed.

𝗪𝗵𝗮𝘁 𝗶𝘀 𝗮 𝗬𝗔𝗠𝗟 𝗙𝗶𝗹𝗲 𝗶𝗻 𝗔𝘇𝘂𝗿𝗲 𝗗𝗲𝘃𝗢𝗽𝘀?

  • YAML (Yet Another Markup Language) is a text-based format used to define CI/CD pipeline processes.
  • It allows pipeline configuration to be stored as code within the same repository as the application.

𝗔𝗱𝘃𝗮𝗻𝘁𝗮𝗴𝗲𝘀 𝗼𝗳 𝗬𝗔𝗠𝗟 𝗢𝘃𝗲𝗿 𝗖𝗹𝗮𝘀𝘀𝗶𝗰 𝗘𝗱𝗶𝘁𝗼𝗿:

  • 𝗩𝗲𝗿𝘀𝗶𝗼𝗻 𝗖𝗼𝗻𝘁𝗿𝗼𝗹 𝗙𝗿𝗶𝗲𝗻𝗱𝗹𝘆 – Pipeline definitions are stored with the application code and versioned through Git.
  • 𝗥𝗲𝘂𝘀𝗮𝗯𝗹𝗲 𝗮𝗻𝗱 𝗠𝗼𝗱𝘂𝗹𝗮𝗿 – Supports templates and parameters for reusable pipeline logic.
  • 𝗙𝘂𝗹𝗹 𝗔𝘂𝘁𝗼𝗺𝗮𝘁𝗶𝗼𝗻 𝗦𝘂𝗽𝗽𝗼𝗿𝘁 – Ideal for Infrastructure as Code (IaC) and GitOps workflows.
  • 𝗜𝗺𝗽𝗿𝗼𝘃𝗲𝗱 𝗖𝗼𝗹𝗹𝗮𝗯𝗼𝗿𝗮𝘁𝗶𝗼𝗻 – Teams can review and approve pipeline changes via pull requests.
  • 𝗖𝗼𝗻𝘀𝗶𝘀𝘁𝗲𝗻𝘁 𝗔𝗰𝗿𝗼𝘀𝘀 𝗘𝗻𝘃𝗶𝗿𝗼𝗻𝗺𝗲𝗻𝘁𝘀 – Reduces manual setup and supports promotion across Dev, QA, and Production.

𝗪𝗵𝘆 𝗘𝗻𝘁𝗲𝗿𝗽𝗿𝗶𝘀𝗲 𝗣𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗣𝗿𝗲𝗳𝗲𝗿 𝗬𝗔𝗠𝗟:

  • Enables 𝗮𝘂𝗱𝗶𝘁𝗮𝗯𝗹𝗲, 𝘀𝗰𝗮𝗹𝗮𝗯𝗹𝗲, and 𝗿𝗲𝗽𝗲𝗮𝘁𝗮𝗯𝗹𝗲 CI/CD practices.
  • Promotes 𝘁𝗿𝗮𝗻𝘀𝗽𝗮𝗿𝗲𝗻𝗰𝘆 and 𝗮𝗴𝗶𝗹𝗶𝘁𝘆 by integrating pipeline management into the development workflow.
  • Supports 𝗺𝘂𝗹𝘁𝗶-𝗲𝗻𝘃𝗶𝗿𝗼𝗻𝗺𝗲𝗻𝘁 𝗱𝗲𝗽𝗹𝗼𝘆𝗺𝗲𝗻𝘁𝘀 and 𝗯𝗿𝗮𝗻𝗰𝗵-𝗯𝗮𝘀𝗲𝗱 𝘀𝘁𝗿𝗮𝘁𝗲𝗴𝗶𝗲𝘀 with better control and visibility.

𝗜𝘀 𝘆𝗼𝘂𝗿 𝘁𝗲𝗮𝗺 𝘀𝘁𝗶𝗹𝗹 𝘂𝘀𝗶𝗻𝗴 𝘁𝗵𝗲 𝗖𝗹𝗮𝘀𝘀𝗶𝗰 𝗘𝗱𝗶𝘁𝗼𝗿 𝗳𝗼𝗿 𝗖𝗜/𝗖𝗗 𝗽𝗶𝗽𝗲𝗹𝗶𝗻𝗲𝘀, 𝗼𝗿 𝗵𝗮𝘃𝗲 𝘆𝗼𝘂 𝗮𝗱𝗼𝗽𝘁𝗲𝗱 𝗬𝗔𝗠𝗟? 𝗪𝗵𝗮𝘁 𝗵𝗮𝘀 𝘆𝗼𝘂𝗿 𝗲𝘅𝗽𝗲𝗿𝗶𝗲𝗻𝗰𝗲 𝗯𝗲𝗲𝗻 𝘄𝗶𝘁𝗵 𝘁𝗵𝗶𝘀 𝘀𝗵𝗶𝗳𝘁?

Top comments (0)