PayloadsAllTheThings/CICD/Drone-CI.md
2024-08-26 11:27:47 +02:00

476 B

Drone CI

The configuration files for Drone builds are located in .drone.yml
Drone build are often self-hosted, this means that you may gain excessive privileges to the kubernetes cluster that runs the runners, or to the hosting cloud environment.

In order to run an OS command in a workflow that builds pull requests - simply add a commands instruction to the step.

steps:
  - name: do-something
    image: some-image:3.9
    commands:
      - {Payload}