Add a cleaner for the ARM debian packages, and remove the 386 build.

This commit is contained in:
David Anderson 2017-05-20 23:53:59 -07:00
parent 24e2772a3d
commit 2a09d6a021

View File

@ -36,7 +36,6 @@ jobs:
script:
- glide install
- GOARCH=amd64 go build -o pixiecore.amd64 ./cmd/pixiecore
- GOARCH=386 go build -o pixiecore.386 ./cmd/pixiecore
- GOARCH=arm go build -o pixiecore.arm ./cmd/pixiecore
- fpm -s dir -t deb -n pixiecore -v $(date '+%Y%m%d%H%M%S')
--architecture amd64
@ -46,14 +45,6 @@ jobs:
--directories /usr/share/doc/pixiecore
./pixiecore.amd64=/usr/bin/pixiecore
./pixiecore/pixiecore.service=/usr/share/doc/pixiecore/pixiecore.service.example
- fpm -s dir -t deb -n pixiecore -v $(date '+%Y%m%d%H%M%S')
--architecture i386
--license Apache2 --vendor "David Anderson <dave@natulte.net>"
--maintainer "David Anderson <dave@natulte.net>"
--description "All-in-one PXE booting" --url "https://github.com/google/netboot"
--directories /usr/share/doc/pixiecore
./pixiecore.386=/usr/bin/pixiecore
./pixiecore/pixiecore.service=/usr/share/doc/pixiecore/pixiecore.service.example
- fpm -s dir -t deb -n pixiecore -v $(date '+%Y%m%d%H%M%S')
--architecture armhf
--license Apache2 --vendor "David Anderson <dave@natulte.net>"
@ -77,6 +68,10 @@ jobs:
script: go run scripts/prune_old_versions/main.go -user=danderson -repo=pixiecore -distro=debian -version=stretch -package=pixiecore -arch=amd64 -limit=2
on:
branch: master
- provider: script
script: go run scripts/prune_old_versions/main.go -user=danderson -repo=pixiecore -distro=debian -version=stretch -package=pixiecore -arch=armhf -limit=2
on:
branch: master
- provider: script
script: go run scripts/trigger_quay_build/main.go
on:
@ -90,7 +85,6 @@ jobs:
env:
matrix:
- MY_GOARCH=amd64
- MY_GOARCH=386
- MY_GOARCH=arm
global:
- GOARM=6