|
@ -55,11 +55,3 @@ pipeline: |
|
|
image: golang:1.10 |
|
|
image: golang:1.10 |
|
|
commands: |
|
|
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: |
|
|
|
|
|
image: appleboy/drone-scp |
|
|
|
|
|
host: 10.32.0.2 |
|
|
|
|
|
username: artifacts |
|
|
|
|
|
secrets: [ ssh_key ] |
|
|
|
|
|
source: /go/output/* |
|
|
|
|
|
target: /srv/artifacts/store/rpdata/ |
|
|
|
|
|
strip_components: 2 |
|
|
|