]>
git.immae.eu Git - github/fretlink/ansible-clever.git/blob - tests/fake.sh
4 localCommit
="${PRETEND_LOCAL_COMMIT:-aaa000aaa000aaa000aaa000aaa000aaa000aaa0}"
5 remoteCommit
="${PRETEND_REMOTE_COMMIT:-bbb000bbb000bbb000bbb000bbb000bbb000bbb0}"
7 if [ "${binary}" = "clever" ] && [ "${1}" = "--version" ]; then
9 elif [ "${binary}" = "clever" ] && [ "${1}" = "activity" ]; then
10 echo "2020-02-02T20:20:02+02:00 OK DEPLOY ${remoteCommit} Git"
11 elif [ "${binary}" = "clever" ] && [ "${1}" = "status" ]; then
12 echo "test-app: running (1*pico, Commit: ${remoteCommit})"
13 elif [ "${binary}" = "git" ]; then
16 echo "${binary} called with arguments: ${*}"
19 echo "${1}" >> "${binary}-commands"