Skip to content

Commit e58d178

Browse files
authored
CLOUDP-56549: Move to public drone (#1)
1 parent ec64369 commit e58d178

File tree

2 files changed

+28
-24
lines changed

2 files changed

+28
-24
lines changed

.drone.yml

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,36 @@
11
---
2-
pipeline:
3-
dependencies:
4-
image: golang:1.13
5-
secrets: [ snyk_token ]
6-
group: ci
7-
commands:
8-
- curl -sL https://deb.nodesource.com/setup_12.x | bash -
9-
- apt-get install -y nodejs
10-
- npm install -g snyk
11-
- snyk test
12-
when:
13-
branch: master
14-
event: push
15-
test:
2+
kind: pipeline
3+
name: mcli
4+
type: docker
5+
6+
steps:
7+
- name: test
168
image: golang:1.13
17-
group: ci
9+
volumes:
10+
- name: deps
11+
path: /go
1812
commands:
1913
- make test
20-
lint:
14+
15+
- name: lint
2116
image: golangci/golangci-lint:v1.22.0
22-
group: ci
2317
commands:
2418
- make lint
25-
build:
26-
image: golang:1.13
27-
group: ci
19+
20+
- name: build
21+
image: golang
22+
volumes:
23+
- name: deps
24+
path: /go
2825
commands:
29-
- make build
26+
- go build
27+
volumes:
28+
- name: deps
29+
temp: {}
3030

31-
branches:
32-
- master
33-
- feature/*
31+
trigger:
32+
branch:
33+
- master
34+
event:
35+
- push
36+
- pull_request

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# MCLI
2+
[![Build Status](https://cloud.drone.io/api/badges/mongodb/mcli/status.svg)](https://cloud.drone.io/mongodb/mcli)
23

34
`mcli` is a tool for managing your MongoDB cloud services
45

0 commit comments

Comments
 (0)