From: Jeff Wong Date: Mon, 6 Jul 2020 21:48:22 +0000 (-1000) Subject: FEATURE: add support for plugin-pinning (#470) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8026a344db411134deee1a1cd3b867bff5f79950;p=discourse_docker.git FEATURE: add support for plugin-pinning (#470) * FEATURE: add support for plugin-pinning checks out pinned plugin versions, if defined, by way of the rake task * refactor rake task name --- diff --git a/templates/web.template.yml b/templates/web.template.yml index 826759f..e7ed111 100644 --- a/templates/web.template.yml +++ b/templates/web.template.yml @@ -151,6 +151,12 @@ run: hook: bundle_exec cmd: - su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development' + + - exec: + cd: $home + cmd: bundle exec rake plugin:pull_compatible_all + raise_on_fail: false + - exec: cd: $home hook: db_migrate