Circleci

Explain the following configuration file

version: 2.1

jobs:
  say-hello:
    docker:
      - image: cimg/base:stable
    steps:
      - checkout
      - run:
          name: "Say hello"
          command: "echo Hello, World!"
workflows:
  say-hello-workflow:
    jobs:
      - say-hello

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

This configuration file will set up one job that will checkout the code of the project will run the command echo Hello, World!. It will run in a container using the image cimg/base:stable.