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.

56 lines
1.7 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. workspace:
  2. base: /go
  3. path: src/git.aiterp.net/rpdata/api
  4. pipeline:
  5. prepare:
  6. environment:
  7. - CGO_ENABLED=0
  8. image: golang:1.10
  9. commands:
  10. - go get -u github.com/golang/dep/cmd/dep
  11. - go get -u github.com/jteeuwen/go-bindata/...
  12. - dep ensure
  13. - go generate ./...
  14. - mkdir /output
  15. build-graphiql:
  16. group: binaries
  17. environment:
  18. - CGO_ENABLED=0
  19. image: golang:1.10
  20. commands:
  21. - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-graphiql ./cmd/rpdata-graphiql
  22. build-lb2charimport:
  23. group: binaries
  24. environment:
  25. - CGO_ENABLED=0
  26. image: golang:1.10
  27. commands:
  28. - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-lb2charimport ./cmd/rpdata-lb2charimport
  29. build-lb2logimport:
  30. group: binaries
  31. environment:
  32. - CGO_ENABLED=0
  33. image: golang:1.10
  34. commands:
  35. - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-lb2logimport ./cmd/rpdata-lb2logimport
  36. build-wikifileimport:
  37. group: binaries
  38. environment:
  39. - CGO_ENABLED=0
  40. image: golang:1.10
  41. commands:
  42. - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-wikifileimport ./cmd/rpdata-wikifileimport
  43. build-ensurechannels:
  44. group: binaries
  45. environment:
  46. - CGO_ENABLED=0
  47. image: golang:1.10
  48. commands:
  49. - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-ensurechannels ./cmd/rpdata-ensurechannels
  50. build-as2storyimport:
  51. group: binaries
  52. environment:
  53. - CGO_ENABLED=0
  54. image: golang:1.10
  55. commands:
  56. - go build -a -installsuffix cgo -ldflags="-s -w" -o /go/output/rpdata-as2storyimport ./cmd/rpdata-as2storyimport