Caution
This project is owned by the Upsun Advocacy team. It is in early stage of development [experimental] and only intended to be used with caution by Upsun customers/community.
This project is not supported by Upsun and does not qualify for Support plans. Use this repository at your own risks, it is provided without guarantee or warranty!
Don’t hesitate to join our Discord to share your thoughts about this project.
This CLI-tool uses Platform.sh config files (routes.yaml, services.yaml and .platform.app.yaml(s)/applications.yaml) to generate the Upsun config file (config.yaml)
WARNING : This tool handles classic 'multi-app...' cases but has not been tested for snowflack cases.
Download the last binary in release section. Extract it and enjoy !
Usage of convsun:
--src string Source project path to convert (default "./")
--dst string Destination project path where converted
--mount_type string Change 'Local' mount to upsun compatible mode : storage or instance. (default "storage")
-v, --verbose Enable verbose mode
$ upsun_convert --src=tests/convert"