FEATURE: add support for plugin-pinning (#470)
authorJeff Wong <awole20@gmail.com>
Mon, 6 Jul 2020 21:48:22 +0000 (11:48 -1000)
committerGitHub <noreply@github.com>
Mon, 6 Jul 2020 21:48:22 +0000 (14:48 -0700)
* FEATURE: add support for plugin-pinning

checks out pinned plugin versions, if defined, by way of the rake task

* refactor rake task name

templates/web.template.yml

index 826759fe16e070c929534be7df21c74aea3b3cb0..e7ed11105a2c14a21656413f66944b783da6e7c1 100644 (file)
@@ -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