git - Openshift: get commit or build id during build/deploy? -
i'm building openshift app downloads directory full of dependencies , backs existing database on every build. i'd name directory , database dump commit id (or build id), since there's no actual repository on remote, can't use git rev-parse --short head
it.
can think of way retrieve during build?
-- chris
the best able create backup reasonably precise timestamp (e.g. backup-201411042116.tar.gz). there's consequently no direct connection specific commit, app @ least sufficient (rolling app pretty rare occurrence).
if want, can make manual backups local machine using rhc
command line tools prior commit. see rhc snapshot save --help
details.
Comments
Post a Comment