sensu / sensu-go-bonsai-asset

3 stars 10 forks source link

Helper scripts for ruby-runtime based assets #1

Closed jspaleta closed 5 years ago

jspaleta commented 5 years ago

Prototyping some Bonsai related CI scripts that make use of ruby-runtime Docker images to generate ruby plugin assets.

Two different scripts to serve same purpose:

  1. travisCI specific script that makes explicit use of travis environment variables. This script is meant to integrate easily sensu-plugins travis configs as a drop-in addition with very little work.

  2. general asset build script, that should work with other CI services other than travis. This script does not make any assumptions about provided environment variables beyond the required GITHUB_TOKEN envvar.

High level overview of build scripts: 1) build asset tarballs using docker 2) generate sha512 checksum file 3) upload asset tarballs and checksum file into Github release

calebhailey commented 5 years ago

:boom:

jspaleta commented 5 years ago

okay the travis build script is working really well in my test. Once this PR gets merged I can open up a PR against sensu-plugins-disk-checks as the first ruby asset under the sensu-plugins org.