Created
May 16, 2020 18:34
-
-
Save airtonGit/6d4c48d1adb20166950e614a0f6d7eb4 to your computer and use it in GitHub Desktop.
Exemplo de drone.io CI/CD pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: default | |
kind: pipeline | |
type: docker | |
steps: | |
- name: backend | |
image: golang | |
commands: | |
- go get | |
- go build | |
- go test | |
- name: frontend | |
image: node:6 | |
commands: | |
- npm install | |
- npm test | |
- name: publish | |
image: plugins/docker | |
settings: | |
repo: octocat/hello-world | |
tags: [ 1, 1.1, latest ] | |
registry: index.docker.io | |
- name: notify | |
image: plugins/slack | |
settings: | |
channel: developers | |
username: drone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment