project-icp / bee-pollinator-app

The web application front end for the ICP Pollinator Decision Support Tool 🐝
Apache License 2.0
6 stars 1 forks source link

Fix Build Failures by Copying Symlinks as Target Files #405

Closed rajadain closed 5 years ago

rajadain commented 5 years ago

Overview

A few files were converted to be symlinks in https://github.com/project-icp/bee-pollinator-app/commit/462882e1248198c0f630a877bd0e7b75bd8668d9. While this works for Vagrant, this broke for AMI builds. By adding copy_links=yes according to the synchronize module, we ensure they are copied as the targets and not symlinks and work correctly.

Connects #404

Demo

http://civicci01.internal.azavea.com/view/bees/job/bee-pollinator-app-and-worker/109/console http://civicci01.internal.azavea.com/view/bees/job/bee-pollinator-staging-deployment/108/

The map legend (which relies on the symlinked files) is working correctly on staging:

image

rajadain commented 5 years ago

Thanks for pointing me in the right direction and reviewing!