From 6263dbb68c7a51c5e9c874d619e2ac1b73225b49 Mon Sep 17 00:00:00 2001 From: Deblina Always Date: Thu, 27 Jul 2023 09:55:56 +0530 Subject: [PATCH] Today's commit on techtalk Update config.yml --- .circleci/config.yml | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3cb6473b..d5ddee39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,42 +1,11 @@ version: 2.1 jobs: - # running commands on a basic image - Hello-World: + build: docker: - - image: cimg/base:2021.04 + - image: alpine:3.15 steps: - run: - name: Saying Hello + name: The First Step command: | echo 'Hello World!' echo 'This is the delivery pipeline' - # fetching code from the repo - Fetch-Code: - docker: - - image: cimg/base:2021.04 - steps: - - checkout - - run: - name: Getting the Code - command: | - ls -al - echo '^^^Your repo files^^^' - # running a node container - Using-Node: - docker: - - image: cimg/node:17.2 - steps: - - run: - name: Running the Node Container - command: | - node -v -workflows: - Example-Workflow: - jobs: - - Hello-World - - Fetch-Code: - requires: - - Hello-World - - Using-Node: - requires: - - Fetch-Code