billm
January 9, 2020, 7:43pm
39
@jspaleta I was basically following the hello world example here:
In this tutorial, I’ll walk you through packaging up a pretty standard bash script. The goal here is to show that you can take some of those scripts that are hanging around in the nooks and crannies of your organization and package them up as assets.
The Setup
hello-world.sh
#!/bin/sh
STRING="Hello World"
echo $STRING
if [ $? -eq 0 ]; then
exit 0
else
exit 2
fi
The first step is to ensure that our directory structure is in place. As noted in Sensu Go example asset structure , our sc…
But simply taring up the asset and creating a github release for it doesn’t seem to be what gets generated, in for example, @aaronsachs “releases” on his github:
https://github.com/asachs01/sensu-plugins-plivo/releases
so all the different arch tar balls? I have no idea where those come from.
@jspaleta so you’re still working on this then? Thanks for that.