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

post-update run some rake update commands #1892

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

pgwillia
Copy link
Member

Context

It is possible to execute pre/post-check and pre/post-update commands inside every container updated by watchtower.

We used to do this by running the deploy script manually for each update. Now that we're using watchtower the update
happens automagically but we still need these follow on tasks completed.

Related to #1722

What's New

A script which runs rake db:migrate and rake assets:precompile and the label which tells watchtower's hook what to run.

It is possible to execute pre/post-check and pre/post-update commands inside every container updated by watchtower.

We used to do this by running the deploy script manually for each update.  Now that we're using watchtower the update
happens automagically but we still need these follow on tasks completed.
Copy link
Contributor

@murny murny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! 👍

@pgwillia pgwillia merged commit 94af4f5 into integration_postmigration Sep 25, 2020
@pgwillia pgwillia deleted the watchtower-post-update branch September 25, 2020 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants