+8
-12
@@ -13,22 +13,18 @@ pipeline:
|
|||||||
- dep ensure
|
- dep ensure
|
||||||
- go generate ./...
|
- go generate ./...
|
||||||
- mkdir /output
|
- mkdir /output
|
||||||
- go build -a -installsuffix cgo -ldflags="-s -w" -o /output/${CMD} ./cmd/${CMD}
|
- 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
|
||||||
s3:
|
s3:
|
||||||
image: plugins/s3
|
image: plugins/s3
|
||||||
bucket: aiterp
|
bucket: aiterp
|
||||||
source: /output/*
|
source: /output/*
|
||||||
target: /build/rpdata/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT}
|
target: /build/rpdata/
|
||||||
path_style: true
|
|
||||||
endpoint: https://ams3.digitaloceanspaces.com
|
endpoint: https://ams3.digitaloceanspaces.com
|
||||||
secret_key: $SPACE_SECRET_KEY
|
secret_key: $SPACE_SECRET_KEY
|
||||||
access_key: $SPACE_ACCESS_KEY
|
access_key: $SPACE_ACCESS_KEY
|
||||||
acl: public-read
|
acl: public-read
|
||||||
matrix:
|
|
||||||
CMD:
|
|
||||||
- rpdata-graphiql
|
|
||||||
- rpdata-lb2charimport
|
|
||||||
- rpdata-lb2logimport
|
|
||||||
- rpdata-wikifileimport
|
|
||||||
- rpdata-ensurechannels
|
|
||||||
- rpdata-as2storyimport
|
|
||||||
Reference in New Issue
Block a user