Azure-Samples / apptemplate-wordpress-on-aca

Template to deploy Wordpress on Azure Container apps
MIT License
28 stars 31 forks source link

The git hub action fails in the preview job on "Run what-if" #17

Closed Steverino541 closed 1 year ago

Steverino541 commented 1 year ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Fork the main branch as instructed and follow the documentation steps to create secrets and variables Run WordPress Deployment

Any log messages given by the failure

25s Run Azure/cli@v1 with: azcliversion: 2.45.0 inlineScript: az deployment sub what-if \ --location westeurope \ --template-file ./infra/main.bicep \ --parameters environmentName=prod \ --parameters location=westeurope \ --parameters fqdn=http://mysite.com \ --parameters applicationName=reponame\ --parameters mariaDBPassword= \ --parameters adminUsername=myadmin\ --parameters adminPassword= \ --parameters redisDeploymentOption=container

env: AZURE_HTTP_USER_AGENT: AZUREPS_HOST_ENVIRONMENT: Starting script execution via docker image mcr.microsoft.com/azure-cli:2.45.0 /home/runner/work/_temp/AZ_CLI_GITHUB_ACTION_1699465613547.sh: line 9: ***: command not found Error: Error: az cli script failed. cleaning up container... MICROSOFT_AZURE_CLI_1699465613320_CONTAINER

Error: az cli script failed.

Expected/desired behavior

I expected the deploy to finish with success

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Windows 11

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Steverino541 commented 1 year ago

I re-did the steps yet another time and then it worked