GraphQL API and utilities for the rpdata project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
workspace:
base: /go
path: src/git.aiterp.net/rpdata/api
pipeline:
build:
environment:
- CGO_ENABLED=0
image: golang:1.10
commands:
- go get -u github.com/golang/dep/cmd/dep
- go get -u github.com/jteeuwen/go-bindata/...
- dep ensure
- go generate ./...
- 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
test-content:
image: alpine
commands:
- ls -l /output/
s3:
image: plugins/s3
bucket: aiterp
region: ams3
source: /output/*
target: /build/rpdata/
endpoint: https://ams3.digitaloceanspaces.com
secret_key: $${space_secret_key}
access_key: $${space_access_key}
acl: public-read
|