ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-build

include environment in default outputPath

未关闭
#57 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
23
派生
23
PR 合并指标
30 天内没有已合并 PR

描述

We are testing concurrent deployments using threads. We are doing this locally, but I figured it might make sense as the default:

```js
outputPath: `tmp/deploy-dist-${environment}`
```

I started making a PR, but since the environment is dynamic and the defaults are defined as static, I couldn't figure out how to get it to work, especially with the EMBER_CLI_DEPLOY_REUSE_BUILD section. Also, how would you detect if someone already customised the outputPath before appending the environment?

贡献指南

打开贡献指南

调研方向

首先追踪 outputPath 的默认值是如何定义的,以及 EMBER_CLI_DEPLOY_REUSE_BUILD 部分如何使用它。确定基于环境的动态默认值应如何与自定义的 outputPath 值和并发 deployments 交互;完成的标准是,该行为已针对默认路径和自定义路径进行了规范说明并覆盖。

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

评估

技术栈
javascript
领域
build-system, devops
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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