Releases 1.1.7 and 1.1.8 are not backwards compatible with 1.1.6
See original GitHub issueBased on the changes introduced in v1.1.7, my release to Azure job is getting the following error:
##[Initialize]
##[ValidateParameter]
Error: Execution Exception (state: ValidateParameter) (step: Invocation)
Error: Cannot read property 'indexOf' of undefined
Error: TypeError: Cannot read property 'indexOf' of undefined
at ParameterValidator.validateScmCredentialsSlotName (D:\a\_actions\Azure\functions-action\v1.1.7\lib\handlers\parameterValidator.js:158:42)
at ParameterValidator.<anonymous> (D:\a\_actions\Azure\functions-action\v1.1.7\lib\handlers\parameterValidator.js:56:18)
at Generator.next (<anonymous>)
at fulfilled (D:\a\_actions\Azure\functions-action\v1.1.7\lib\handlers\parameterValidator.js:24:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Error: Deployment Failed!
My job is running on windows-latest
and is currently working now that I’ve specifically pinned v1.1.6
as the version of this action to run.
My job is using a publish profile as the Deployment Credential, the publish profile was generated in July and has the following format (the names and passwords have been changed):
<publishData>
<publishProfile profileName="my-api - Web Deploy" publishMethod="MSDeploy" publishUrl="my-api.scm.azurewebsites.net:443" msdeploySite="my-api" userName="$my-api" userPWD="***" destinationAppUrl="http://my-api.azurewebsites.net" SQLServerDBConnectionString="" mySQLDBConnectionString="" hostingProviderForumLink="" controlPanelLink="http://windows.azure.com" webSystem="WebSites">
<databases/>
</publishProfile>
<publishProfile profileName="my-api - FTP" publishMethod="FTP" publishUrl="ftp://waws-prod-blu-095.ftp.azurewebsites.windows.net/site/wwwroot" ftpPassiveMode="True" userName="my-api\$my-api" userPWD="***" destinationAppUrl="http://my-api.azurewebsites.net" SQLServerDBConnectionString="" mySQLDBConnectionString="" hostingProviderForumLink="" controlPanelLink="http://windows.azure.com" webSystem="WebSites">
<databases/>
</publishProfile>
<publishProfile profileName="my-api - ReadOnly - FTP" publishMethod="FTP" publishUrl="ftp://waws-prod-blu-095dr.ftp.azurewebsites.windows.net/site/wwwroot" ftpPassiveMode="True" userName="my-api\$my-api" userPWD="***" destinationAppUrl="http://my-api.azurewebsites.net" SQLServerDBConnectionString="" mySQLDBConnectionString="" hostingProviderForumLink="" controlPanelLink="http://windows.azure.com" webSystem="WebSites">
<databases/>
</publishProfile>
</publishData>
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (12 by maintainers)
Top Results From Across the Web
Version compatibility in .NET Framework - Microsoft Learn
Backward compatibility means that an app that was developed for a particular version of a platform will run on later versions of that...
Read more >Terraform v1.x Compatibility Promises - HashiCorp Developer
From Terraform v1.0 onwards the Terraform team promises to preserve backward compatibility for most of the Terraform language and the primary CLI workflow, ......
Read more >Are there any specific examples of backward incompatibilities ...
First of all, Sun actually considers all of the releases you mentioned (other than 1.0 of course) to be minor releases, not major...
Read more >About DOORS version compatibility - IBM
Major Version Compatibility: DOORS is not backwards compatible with older major release versions. Major DOORS versions ( 5, 6, 7, 8, ...
Read more >Backward Compatibility of Ice Versions
As for source-code compatibility, Ice maintains backward binary compatibility between a patch release and the most recent minor release, but does not ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry for the late reply and thanks @dastev-ms for the investigation.
Hi @rue-kcarlton This issue should be fixed now https://github.com/Azure/functions-action/blob/v1.3.1/src/handlers/parameterValidator.ts#L172-L173.
@Hazhzeng here’s my workflow snippet as it existed during the first of the failed runs:
I think I may have figured out the issue… based on older documentation, I still have the
SCM_CREDENTIALS
secret set which includes the Azure Publish Profile, but not theAZURE_FUNCTIONAPP_PUBLISH_PROFILE
secret. I haven’t been able to test my theory as I didn’t want to release again over the holiday weekend (or on cyber Monday).