research-software-reactor / cyclecloud

Getting Cycle Cloud working for people in personal or organisational Azure Subscriptions
GNU General Public License v3.0
1 stars 4 forks source link

Issues with using deploy.ps1 on MacOS #34

Open tomaslaz opened 5 years ago

tomaslaz commented 5 years ago

The script throws the following error when executed and values for subscriptionId, resourceGroupName and deploymentName entered:

Screenshot 2019-05-22 at 14 01 05

If this error is ignored and all the following actions accepted, the script fails with the following error:

Screenshot 2019-05-22 at 13 58 40
tomaslaz commented 5 years ago

After the fix I get the following error because the script fails to install necessary modules

Screenshot 2019-05-22 at 14 40 27
leestott commented 5 years ago

@tomaslaz what was the reason you were using Powershell on MacOs vs Bash?

tomaslaz commented 5 years ago

As I remember, I was testing the script written by someone else

stylesm commented 5 years ago

@leestott this was @tomaslaz using the Powershell scripts I'd written. We tried a combo of local on MacOS, and in Azure Portal using the console. Worked much better in browser.

The scripts didn't work on MacOS because some of the dependent Azure packages weren't available for MacOS (I believe.. was a while ago now!)

The line which fails is one which tries to install Azure Powershell modules.

tomaslaz commented 5 years ago

Thanks for clarifying this @stylesm it has been some time ago. I can confirm everything what you have said. Apologies for my bad memory.