Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Use revision-based deploy provider. #245

Closed
wants to merge 2 commits into from
Closed

Use revision-based deploy provider. #245

wants to merge 2 commits into from

Conversation

inopinatus
Copy link
Contributor

The recommended deploy provider up until total deprecation was deploy_revision which uses git reference, rather than timestamp, for the path. It's not the default for historical reasons and ISTR wasn't even available until opsworks_ruby recently imported the deploy_resource code.

We'd found that the timestamped provider intermittently broke reproducible asset builds in our production cluster, in particular where Webpack output hash configurations were path-specific, since all the path slugs varied by a few seconds.

This is a simple-looking PR and already in production with us, but I'm aware it could be a major or breaking change for some folks.

@coveralls
Copy link

coveralls commented Oct 7, 2020

Coverage Status

Coverage decreased (-1.4%) to 98.574% when pulling 36eceb3 on entryboss:use_deploy_revision_provider into 53e30e2 on ajgon:master.

@ajgon
Copy link
Owner

ajgon commented Oct 17, 2020

fixed build and merged

@inopinatus
Copy link
Contributor Author

Thanks - my testing approach was obviously broken but I’d run out of time to revisit it.

@inopinatus inopinatus deleted the use_deploy_revision_provider branch October 18, 2020 00:03
dotnofoolin pushed a commit to dotnofoolin/opsworks_ruby that referenced this pull request Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants