fix(travis): deploy rpm package release

This commit is contained in:
Markus Pesch 2019-08-25 16:59:12 +02:00
parent 9ce0b61d1b
commit 9b52e4c61d
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,15 @@
services: services:
- docker - docker
script: script:
- make container-go-build - make container-go-build
deploy:
provider: releases
api_key:
secure: NyeJvsDRo/gDl3KLaE4SMOezeUN9TXzZcRF8PfByf0PS9nx8Al0hjTzgC9BFvzS7GmJKfKcJMORzWsUKroX8wvN6MjboVZuFMZqgkb2R9aamzKWINB3zzm0A42UNM79benh0NKiYiN2CvxSON1duMTlGKv3adRUm5oAXyU0MwvwacGCNxI5xrJJu7RCucMyQrvS6g+TqGjzfke13Oft02Qwh0qFNYF5MRe6cxXeFba/2r17a34ZEySi5SfwcRzUfXaU3juYzsxfWGm3+4sHI7E05NHXupgN0hTaqSggAf/ZLE68lrSwgUCSM4/QJALk2DQoMzp2KBqaiIOHN4/llGiTE4NXVUz58Vrhj25OBWBARPafekqJuBYzo3YwMSv4GQgsMDVa5ni03TB82GQltWS2xodncfUsRheloL72UjA9MXRxk8lwv7POp+rIo9SOD/GOtYcuGTc25kHNzVHidp40rRXWB2y72lpL5FPSaSLw0eXP4pYysFNM/4sKS7E/zdEEs+JS/X8A+vJcs5vdeZV5rnjkEP3DjASowWmm6CVw5bGlx9dMM6a5HgLPMqG67dwqC0QL5BKv3DGqRMWzmybK46SStNmIocEk7mKMU+Ga4uOLVHpqpaU7BpFgTIbZfRJcGhdQJSw/yXqqPK0HrY4E3t1nEIrpr8sU4AZUaQ+8=
file: flucky.rpm
on:
repo: volker-raschek/flucky
tags: true
skip_cleanup: true

View File

@ -37,7 +37,7 @@ rpm-build: go-build
--exec-file "flucky:/usr/bin/flucky" \ --exec-file "flucky:/usr/bin/flucky" \
--file "systemd/flucky.service:/usr/lib/systemd/system/flucky.service" \ --file "systemd/flucky.service:/usr/lib/systemd/system/flucky.service" \
--version ${VERSION} \ --version ${VERSION} \
flucky-${VERSION} flucky
bindata: bindata:
go-bindata -pkg db -o ./pkg/db/bindataSQL.go ./pkg/db/sql/*** go-bindata -pkg db -o ./pkg/db/bindataSQL.go ./pkg/db/sql/***