List of questions
Related questions
Question 101 - Certified Heroku Architecture Designer discussion
A client currently runs a Ruby script in a one-off dyno each time they deploy their Go application to Heroku. The development team wants the script to be executed before the application is deployed because it performs necessary database migrations. Which approach should an Architect recommend?
A.
Modify the Go buildpacK to install Ruby, and run the script from the _profile
B.
Convert the Ruby release script to Go and execute it on application startup
C.
Use both Go and Ruby language buildpacks, and run the Ruby script with release phase
D.
Define different process types for the Ruby script and the Go application in the app's Profile.
Your answer:
0 comments
Sorted by
Leave a comment first