daemon-sec-cheatsheet

The cheatsheet vault for operators: AD, enumeration, exploitation, priv-esc, web, DFIR
git clone https://git.daemon-sec.xyz/daemon-sec-cheatsheet.git
Log | Files | Refs | README | LICENSE

cicd-circle-ci.md (747B)


      1 ---
      2 title: "CI/CD - CircleCI"
      3 section: "DevOps"
      4 sectionSlug: "devops"
      5 sourcePath: "docs/devops/cicd-circle-ci.md"
      6 sourceUrl: "https://github.com/swisskyrepo/InternalAllTheThings/blob/203bb0c0b290/docs/devops/cicd-circle-ci.md"
      7 sha: "203bb0c0b290"
      8 isIndex: false
      9 ---
     10 
     11 # CI/CD - CircleCI
     12 
     13 The configuration files for CircleCI builds are located in `.circleci/config.yml`\
     14 By default - CircleCI pipelines don't build forked pull requests. It's an opt-in feature that should be enabled by the pipeline owners.
     15 
     16 In order to run an OS command in a workflow that builds pull requests - simply add a `run` instruction to the step.
     17 
     18 ```yaml
     19 jobs:
     20   build:
     21     docker:
     22      - image: cimg/base:2022.05
     23     steps:
     24         - run: echo "Say hello to YAML!"
     25 ```