- What have you already tried? Please include links to gists and/or code blocks (if relatively small)
Forked from https://github.com/sensu-plugins/sensu-plugins-postfix -->
https://github.com/fxsti01/sensu-plugins-postfix
After a lot of trial and error, matched the settings from:
https://github.com/sensu-plugins/sensu-plugins-dns
Running on travis, getting errors:
https://travis-ci.com/fxsti01/sensu-plugins-postfix/jobs/241250452
#----------------------------------------------
0.01s$ sudo iptables -L DOCKER || ( echo “DOCKER iptables chain missing” ; sudo iptables -N DOCKER )
before_install.2
0.61s$ gem install bundler -v 1.15
install
19.56s$ bundle install
0.59s$ bundle exec rake quick
rake aborted!
Don’t know how to build task ‘quick’ (See the list of available tasks with rake --tasks
)
/home/travis/.rvm/gems/ruby-2.3.0/gems/rake-12.3.3/exe/rake:27:in <top (required)>' /home/travis/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in
eval’
/home/travis/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in <main>' (See full trace by running task with --trace) The command "bundle exec rake quick" exited with 1. 0.60s$ bundle exec rake kitchen:ruby-
echo $TRAVIS_RUBY_VERSION | sed -e "s/.//g"-debian-8 rake aborted! Don't know how to build task 'kitchen:ruby-230-debian-8' (See the list of available tasks with
rake --tasks) /home/travis/.rvm/gems/ruby-2.3.0/gems/rake-12.3.3/exe/rake:27:in
<top (required)>’
. . . .
It will eventually finish, but showing red X as errorred out
#----------------------------------------------
Copied the files over from old Sensu 1.x to Sensu GO server, (.rb,doc,spec, etc…), can run the check-mailq.rb manually and runs fine, so code is good overall, would like to get moved over to new Sensu.
-
Tell us about your setup
CentOS 7, Sensu GO core -
Is there a Github issue related to your issue?
nope -
Is there anything else that can help us effectively help you?
I am new to building gems and Sensu plugins. Not sure if going about this the right way or not.
thanks.