|
@ -18,36 +18,42 @@ pipeline: |
|
|
environment: |
|
|
environment: |
|
|
- CGO_ENABLED=0 |
|
|
- CGO_ENABLED=0 |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
|
|
|
commands: |
|
|
- 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-graphiql ./cmd/rpdata-graphiql |
|
|
build-lb2charimport: |
|
|
build-lb2charimport: |
|
|
group: binaries |
|
|
group: binaries |
|
|
environment: |
|
|
environment: |
|
|
- CGO_ENABLED=0 |
|
|
- CGO_ENABLED=0 |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
|
|
|
commands: |
|
|
- 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-lb2charimport ./cmd/rpdata-lb2charimport |
|
|
build-lb2logimport: |
|
|
build-lb2logimport: |
|
|
group: binaries |
|
|
group: binaries |
|
|
environment: |
|
|
environment: |
|
|
- CGO_ENABLED=0 |
|
|
- CGO_ENABLED=0 |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
|
|
|
commands: |
|
|
- 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-lb2logimport ./cmd/rpdata-lb2logimport |
|
|
build-wikifileimport: |
|
|
build-wikifileimport: |
|
|
group: binaries |
|
|
group: binaries |
|
|
environment: |
|
|
environment: |
|
|
- CGO_ENABLED=0 |
|
|
- CGO_ENABLED=0 |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
|
|
|
commands: |
|
|
- 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-wikifileimport ./cmd/rpdata-wikifileimport |
|
|
build-ensurechannels: |
|
|
build-ensurechannels: |
|
|
group: binaries |
|
|
group: binaries |
|
|
environment: |
|
|
environment: |
|
|
- CGO_ENABLED=0 |
|
|
- CGO_ENABLED=0 |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
|
|
|
commands: |
|
|
- 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-ensurechannels ./cmd/rpdata-ensurechannels |
|
|
build-as2storyimport: |
|
|
build-as2storyimport: |
|
|
group: binaries |
|
|
group: binaries |
|
|
environment: |
|
|
environment: |
|
|
- CGO_ENABLED=0 |
|
|
- CGO_ENABLED=0 |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
|
|
|
commands: |
|
|
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport |
|
|
- go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport |
|
|
deploy-scp: |
|
|
deploy-scp: |
|
|
image: appleboy/drone-scp |
|
|
image: appleboy/drone-scp |
|
|