Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send git hash to revision file #288

Merged
merged 1 commit into from Feb 8, 2018
Merged

Send git hash to revision file #288

merged 1 commit into from Feb 8, 2018

Conversation

@ricardclau
Copy link
Member

ricardclau commented Feb 4, 2018

No description provided.

@ricardclau
Copy link
Member Author

ricardclau commented Feb 4, 2018

Should cover #285 and #272.

If someone else could check it out, that would be much appreciated

Copy link
Contributor

bocharsky-bw left a comment

Awesome 👍

@ricardclau ricardclau merged commit 78e19fd into master Feb 8, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@ricardclau ricardclau deleted the revision_gitsha branch Feb 8, 2018
@rromanchuk
Copy link

rromanchuk commented Mar 13, 2020

@ricardclau struggling to utilize a clean implementation to support serial deploys

ansible-playbook -i hosts -e "ansistrano_release_version=date -u +%Y%m%d%H%M%SZ" deploy.yml

I use ansible tower/awx so i cant really interact with with the shell like you can in this context.

Maybe i could just use a filter inside the play like ansistrano_release_version: {{ '%Y%m%d%H%M%SZ' | strftime(ansible_date_time.epoch) }} seems like this should work in theory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.