Closed Jean-Baptiste-Lasselle closed 4 years ago
.drone.yml
is : kind: pipeline
# you could have [type: kubernetes]
type: docker
name: default
steps:
- name: testpipeline1
image: alpine
commands:
- echo 'This'
- echo 'is'
- echo 'Gravitee!'
- name: testpipeline2
image: alpine
commands:
- echo "We are in [$(pwd)]"
- ls -allh
- echo 'ok!'
drone_ci_setup
.drone.yml
file, and the badge in the README.md
: for each commit on my branch feature, the drone pipeline will execute the pipeline on the feature branch, on the commit that was just pushed : feature/drone_ci_setup
branch, to the develop
branch :
pegasus-io
github organization : with cloud.drone.io , the autoregister at login, creates the github application that will be used.GPG
signerGPG
signature verification fails, pipeline execution is cancelled.signingKey
has to be configured in drone as well, and this is done using the.drone.yml
file :signingKey
signs commits, not files, but we can add a signature's public key in the.drone.yml
file , that is expected to be equal to the git commit signer.signingKey
has to be equal to the public key configured in the.drone.yml
file, and the public key configured in the.drone.yml
file has to verify the commit of the GIT version being run in the pipeline/