Browse Source

CI test

1.0
Gisle Aune 7 years ago
parent
commit
0a8c3d9b1f
  1. 16
      .drone.yml

16
.drone.yml

@ -13,17 +13,17 @@ pipeline:
- dep ensure - dep ensure
- go generate ./... - go generate ./...
- mkdir /output - mkdir /output
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-graphiql ./cmd/rpdata-graphiql
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-lb2charimport ./cmd/rpdata-lb2charimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-lb2logimport ./cmd/rpdata-lb2logimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-wikifileimport ./cmd/rpdata-wikifileimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-ensurechannels ./cmd/rpdata-ensurechannels
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-graphiql ./cmd/rpdata-graphiql
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-lb2charimport ./cmd/rpdata-lb2charimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-lb2logimport ./cmd/rpdata-lb2logimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-wikifileimport ./cmd/rpdata-wikifileimport
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-ensurechannels ./cmd/rpdata-ensurechannels
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport
s3: s3:
image: plugins/s3-sync
image: plugins/s3
bucket: aiterp bucket: aiterp
region: ams3 region: ams3
source: /output/*
source: /go/output/*
target: /build/rpdata/ target: /build/rpdata/
endpoint: https://ams3.digitaloceanspaces.com endpoint: https://ams3.digitaloceanspaces.com
secret_key: $space_secret_key secret_key: $space_secret_key

Loading…
Cancel
Save