FEATURE: add plugin pull compatible checks for UI updates (#71)
Add plugin compat checkout updates Do not report available updates when pinned
This commit is contained in:
parent
4f856c3c3c
commit
c27e198873
|
@ -113,7 +113,7 @@ class DockerManager::GitRepo
|
|||
end
|
||||
|
||||
def tracking_branch
|
||||
run "for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)"
|
||||
Discourse.find_compatible_git_resource(path) || run("for-each-ref --format='%(upstream:short)' $(git symbolic-ref -q HEAD)")
|
||||
end
|
||||
|
||||
def run(cmd)
|
||||
|
|
|
@ -73,6 +73,11 @@ class DockerManager::Upgrader
|
|||
end
|
||||
|
||||
run("bundle install --deployment --jobs 4 --without test development")
|
||||
begin
|
||||
run("bundle exec rake plugin:pull_compatible_all")
|
||||
rescue RuntimeError
|
||||
log "Unable checkout compatible plugin versions"
|
||||
end
|
||||
percent(30)
|
||||
run("SKIP_POST_DEPLOYMENT_MIGRATIONS=1 bundle exec rake multisite:migrate")
|
||||
percent(40)
|
||||
|
|
Loading…
Reference in New Issue