bosco icon indicating copy to clipboard operation
bosco copied to clipboard

Bosco run of remote docker config fails with bind

Open cliftonc opened this issue 9 years ago • 1 comments

https://github.com/tes/infra-nginx-gateway/commit/30e2aa5883a40114b0bec2f8d700dba39f86022d

  • Team (profiles) did not contain the project in question infra-nginx-gateway
  • bosco start in a specific service started service and all dependencies
  • dependency resolution did not find infra-nginx-gateway, so bosco downloaded remote bosco-service.json
  • bosco-service.json contained a Binds config, that included a {PATH} variable.
  • bosco could not resolve the repo path https://github.com/tes/bosco/blob/master/src/RunListHelper.js#L7
  • Binds then resolved the template {PATH}/docker/docroot/:/var/www/tes to /docker/docroot/:/var/www/tes, which failed as the path /docker/docroot/ didn't exist

Quick resolution is to add the project back to the team, and then remove the binds, but the TL;DR is that you can't use Binds in a project whose config is pulled remotely from github unless we change something (it also makes no sense to).

cliftonc avatar Jul 12 '16 10:07 cliftonc

/cc @tomruttle

cliftonc avatar Jul 12 '16 10:07 cliftonc