Browse Source

Removed matrix, maybe fixed s3?

1.0
Gisle Aune 7 years ago
parent
commit
0f53cf8511
  1. 20
      .drone.yml

20
.drone.yml

@ -13,22 +13,18 @@ pipeline:
- dep ensure
- go generate ./...
- 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:
image: plugins/s3
bucket: aiterp
source: /output/*
target: /build/rpdata/${DRONE_BUILD_NUMBER}-${DRONE_COMMIT}
path_style: true
target: /build/rpdata/
endpoint: https://ams3.digitaloceanspaces.com
secret_key: $SPACE_SECRET_KEY
access_key: $SPACE_ACCESS_KEY
acl: public-read
matrix:
CMD:
- rpdata-graphiql
- rpdata-lb2charimport
- rpdata-lb2logimport
- rpdata-wikifileimport
- rpdata-ensurechannels
- rpdata-as2storyimport
acl: public-read
Loading…
Cancel
Save