Main
Hi, I just try to improve your script by removing many frictions. Now, there is an interactive prompt which ask for:
- your projectID
- the region where you want to migrate
- in which organization do you want this new project to be
- which app contains the database to migrate (for multi-app project)
- your Github API Token to replicate the Platform.sh integration
Still missing parts:
- manage multiple database definition
- replicate integration with Bitbucket and Gitlab
note: i discover a bug in the command platform project:variable:set ... --yes
as it answers no
with the --yes
option, that's why i comment it in the the ./common/functions.sh redeploy()
Our internal PSH CLI team is aware of it and would solve it asap.
note2: i rename the branch to main as it is a best practice now ;)