Skip to content

Instantly share code, notes, and snippets.

@daviddavis
Created July 1, 2015 18:32
Show Gist options
  • Select an option

  • Save daviddavis/36cbb802081b0900077c to your computer and use it in GitHub Desktop.

Select an option

Save daviddavis/36cbb802081b0900077c to your computer and use it in GitHub Desktop.
diff --git a/bin/ktest b/bin/ktest
index baafa00..192068c 100755
--- a/bin/ktest
+++ b/bin/ktest
@@ -5,6 +5,8 @@ then
RAKE_PATH=`bundle show rake`
ruby -I"lib:test:${KATELLO_PATH}/test:${KATELLO_PATH}/spec" -I"${RAKE_PATH}/lib" \
"${RAKE_PATH}/lib/rake/rake_test_loader.rb" $@ ${KATELLO_PATH}/test/katello_test_runner.rb
+ pushover 'finished running the test(s)'
else
bundle exec rake test:katello
+ pushover 'finished running the test(s)'
fi
\ No newline at end of file
diff --git a/zsh/katello.zsh b/zsh/katello.zsh
index fc02a3a..dc976c2 100644
--- a/zsh/katello.zsh
+++ b/zsh/katello.zsh
@@ -14,7 +14,7 @@ export hcf=~s/hammer-cli-foreman
export hcfd=~s/hammer_cli_foreman_docker
# aliases
-alias katello-reset="rake katello:reset"
+alias katello-reset="rake katello:reset && pushover 'Finished reseting the database.'"
alias katello-ping="hammer ping"
alias katello-res="katello-reset && rs"
alias k="bundle exec hammer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment