question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update az webapp list-runtimes to use static list until new Available Stacks API is available

See original GitHub issue
  • az webapp list-runtimes depends on the available stacks API
    • Available stacks API is updated with Antares deployments
    • Antares deployments are infrequent and don’t line up with stacks EOL schedule.
  • There are bugs in existing Available Stacks API around LTS and Current decorations
    • See "DOTNETCORE|LTS" and "DOTNETCORE|Latest"

Windows

Hide-Windows

  • “node|0.6”,
  • “node|0.8”,
  • “node|0.10”,
  • “node|0.12”,
  • “node|4.8”,
  • “node|6.5”,
  • “node|6.9”,
  • “node|6.12”,
  • “node|7.10”,
  • “node|8.1”,
  • “node|8.4”,
  • “node|8.5”,
  • “node|8.9”,
  • “node|8.10”,
  • “node|8.11”,
  • “php|5.6”,
  • “python|2.7”,

Add-Windows

  • “DOTNETCORE|2.1”,
  • “DOTNETCORE|3.1”,

Expected results


az webapp list-runtimes
[
  "aspnet|V4.7",
  "aspnet|V3.5",
  "DOTNETCORE|2.1",
  "DOTNETCORE|3.1",
  "node|10.0",
  "node|10.6",
  "node|10.14",
  "node|10.15",
  "php|7.2",
  "php|7.3",
  "php|7.4",
  "python|3.6",
  "java|1.7|Tomcat|7.0",
  "java|1.7|Tomcat|8.0",
  "java|1.7|Tomcat|8.5",
  "java|1.7|Tomcat|9.0",
  "java|1.7|Jetty|9.1",
  "java|1.7|Jetty|9.3",
  "java|1.7|Java SE|8",
  "java|1.8|Tomcat|7.0",
  "java|1.8|Tomcat|8.0",
  "java|1.8|Tomcat|8.5",
  "java|1.8|Tomcat|9.0",
  "java|1.8|Jetty|9.1",
  "java|1.8|Jetty|9.3",
  "java|1.8|Java SE|8",
  "java|11|Tomcat|7.0",
  "java|11|Tomcat|8.0",
  "java|11|Tomcat|8.5",
  "java|11|Tomcat|9.0",
  "java|11|Jetty|9.1",
  "java|11|Jetty|9.3",
  "java|11|Java SE|8"
]

Linux

Hide-Linux

  • “RUBY|2.4.5”,
  • “RUBY|2.3.8”,
  • “NODE|lts”,
  • “NODE|8-lts”,
  • “NODE|6-lts”,
  • “NODE|4.4”,
  • “NODE|4.5”,
  • “NODE|4.8”,
  • “NODE|6.2”,
  • “NODE|6.6”,
  • “NODE|6.9”,
  • “NODE|6.10”,
  • “NODE|6.11”,
  • “NODE|8.0”,
  • “NODE|8.1”,
  • “NODE|8.2”,
  • “NODE|8.8”,
  • “NODE|8.9”,
  • “NODE|8.11”,
  • “NODE|8.12”,
  • “NODE|9.4”,
  • “PHP|5.6”,
  • “DOTNETCORE|1.0”,
  • “DOTNETCORE|1.1”,
  • “DOTNETCORE|2.0”,
  • “DOTNETCORE|2.2”,
  • “DOTNETCORE|3.0”,
  • “DOTNETCORE|LTS”,
  • “DOTNETCORE|Latest”,
  • “WILDFLY|14-jre8”,
  • “PYTHON|2.7”

Add-Linux

  • “DOTNETCORE|3.1”,

Expected Results Linux

az webapp list-runtimes --linux

[

  "DOTNETCORE|2.1",
  "DOTNETCORE|3.1",
  "NODE|12-lts",
  "NODE|10-lts",
  "NODE|10.1",
  "NODE|10.10",
  "NODE|10.12",
  "NODE|10.14",
  "NODE|10.16",
  "NODE|12.9",
  "JAVA|8-jre8",
  "JAVA|11-java11",
  "TOMCAT|8.5-jre8",
  "TOMCAT|9.0-jre8",
  "TOMCAT|8.5-java11",
  "TOMCAT|9.0-java11",
  "PHP|7.2",
  "PHP|7.3",
  "PYTHON|3.8",
  "PYTHON|3.7",
  "PYTHON|3.6",
  "RUBY|2.5.5",
  "RUBY|2.6.2",
]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
c3ng4ecommented, Aug 4, 2020

Is this not considered a breaking change? We lost quite a bit of time trying to figure out why our pipelines randomly stopped working. The issue was compounded because the CLI silently updated to 2.9.1.

Our pipeline was using "DOTNETCORE|Latest"; I would have thought the whole point of using something like Latest is that it protects you from the removal of hard coded version numbers. Latest should just alias to the "DOTNETCORE|3.1"

0reactions
c3ng4ecommented, Aug 12, 2020

All good, if it’s causing bugs. However, should these changes be marked as breaking? Since it will break people builds if they are using values that don’t match the available list?

Read more comments on GitHub >

github_iconTop Results From Across the Web

az webapp | Microsoft Learn
To use v2 auth commands, run "az extension add --name authV2" to add the authV2 CLI ... List available built-in stacks which can...
Read more >
az webapp list-runtimes · Issue #12159 · Azure/azure-cli · GitHub
Describe the bug Command Name az webapp list-runtimes Errors: ... webapp list-runtimes doesn't work after latest update of the azure cli.
Read more >
`az webapp up` no longer works from dotnet publish directory
Note: you can check the list of available runtimes with az webapp list-runtimes. If the az webapp up command fails, check in your...
Read more >
azure-cli 2.19.0 - PyPI
Fix #13261 az webapp list-runtimes use static list until new Available Stacks API is available (#13688). az appservice ase create : Fix create...
Read more >
databricks sql unix timestamp to date
Hive supports 2 miscellaneous data types Boolean and Binary. Any column that exists in a data file present in the table MUST also...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found