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