initial attempt at plugins
This commit is contained in:
1 parent
c08f3233e9
commit
17953fc5a0
7 files changed
+55
-21
No files matched your search
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -e; case "$1" in
|
||||
logs)
|
||||
CONTAINER=$(</home/git/$2/CONTAINER)
|
||||
docker logs $CONTAINER | tail -n 100
|
||||
;;
|
||||
|
||||
url)
|
||||
echo "http://$(< "/home/git/$2/HOSTNAME")"
|
||||
;;
|
||||
|
||||
test)
|
||||
echo "Hello"
|
||||
echo $2 $3 $4
|
||||
;;
|
||||
|
||||
esac
|
||||
Reference in new issue
Block a user