Azure-Samples / Azure-Samples/rag-postgres-openai-python

Remove the pipeline: variables section from azure.yaml

Đang mở
#261 0 bình luận 1 reaction 1 người được giao Được giao cho @Copilot Xem trên GitHub
Ngôn ngữ chính
Python
Star
505
Fork
1.1k
Merge trung bình
3 ngày 13 giờ
Pull request đã merge (30 ngày)
1

Mô tả

As of azd version 1.17.0, the `pipeline:` `variables:` section in `azure.yaml` is no longer needed.
The Azure Developer CLI will auto-detect the needed variables from `main.parameters.json`.

Please update this repository's `azure.yaml` by:

1. Removing the entire `pipeline:` block (including nested `variables:` entries).
2. Adding (or updating) a `requiredVersions` section to enforce a modern azd version:

```yaml
requiredVersions:
azd: ">= 1.17.0"
```
3. If the file uses a `metadata.template` version, bump that version to indicate the change.
4. Re-run `azd up` or your standard CI workflow to ensure everything still provisions correctly.

Rationale:
- Simplifies configuration (variables now inferred automatically)
- Reduces duplication and risk of drift
- Aligns with current azd best practices

After making the change, commit and open a PR referencing this issue.

## Details

**Pattern:** `pipeline:`

**File:** `azure.yaml`

### Found matches:

**Line 39:**
```
pipeline:
```

**Repository:** https://github.com/Azure-Samples/rag-postgres-openai-python

---
*This issue was automatically created by the GitHub Repo Maintainer Agent.*

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.