pegasus-io / this-is-gravitee

Gravitee On earth
0 stars 0 forks source link

DRONE.IO CICD #7

Closed Jean-Baptiste-Lasselle closed 4 years ago

Jean-Baptiste-Lasselle commented 4 years ago

permissions on pegasus-io github org

pipeline config

triggers and yaml filename

---
kind: pipeline
type: docker
name: default

steps:
- name: build
  image: golang
  commands:
  - go build
  - go test

---
kind: signature
hmac: F10E2821BBBEA527EA02200352313BC059445190

...

protected

secrets and cron jobs

drone.io badge

[![Build Status](https://cloud.drone.io/api/badges/pegasus-io/this-is-gravitee/status.svg)](https://cloud.drone.io/pegasus-io/this-is-gravitee)
Jean-Baptiste-Lasselle commented 4 years ago
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!'

trigger pipelines on commit on feature branch

merge simulation on pull/merge requests

pull requests github and drone pipeline execution

pipeline execution for drone ci setup

Jean-Baptiste-Lasselle commented 4 years ago

closed by https://github.com/pegasus-io/this-is-gravitee/pull/8