Azure / Azure/Azure-Spring-Apps

Regression migrating from Standard to Enterprise Tier: --runtime-version not supported with app deployment create

未关闭
#29 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Bug Tracking
主要语言
没有语言数据
星标
9
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

See my Workflow deployment at https://github.com/ezYakaEagle442/azure-spring-apps-petclinic-mic-srv/blob/azure/.github/workflows/build-deploy-apps-staging-CLI.yml#L467

  DEPLOYMENT_RUNTIME_VERSION: Java_11
  DEPLOYMENT_CPU: 500m
  DEPLOYMENT_MEMORY: 1Gi
  DEPLOYMENT_INSTANCE_COUNT: 1
  
          az spring app deployment create \
            --name $DEPLOYMENT_NAME \
            --app ${{ env.VETS_SERVICE }} \
            --service ${{ env.AZURE_SPRING_APPS_SERVICE }} -g ${{ env.RG_APP }} \
            --instance-count ${{ env.DEPLOYMENT_INSTANCE_COUNT }} \
            --cpu ${{ env.DEPLOYMENT_CPU }} \
            --memory ${{ env.DEPLOYMENT_MEMORY }} \
            --version ${{ env.DEPLOYMENT_VERSION }} \
            --runtime-version ${{ env.DEPLOYMENT_RUNTIME_VERSION }} \
            --skip-clone-settings
--runtime-version doesn't support for Enterprise tier Spring instance.

Expected behavior
The Workflows & az spring app deployment create should run as is with Standard tier

Screenshots
N/A

Additional context
see also https://github.com/MicrosoftDocs/azure-docs/issues/102826#issuecomment-1355201936

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 .github/workflows/build-deploy-apps-staging-CLI.yml 中的 az spring app deployment create 命令开始,针对报告的 tier 转换复现 --runtime-version 错误。跟踪该命令对 Standard 和 Enterprise 实例的处理,然后验证 deployment workflow 是否按照预期的 runtime-version 行为运行。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, shell
领域
cli, cloud
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。