[MAINT] Github Actions Reunification - `integration`

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
18/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
冷清
技术栈
elasticsearch, github-actions, mysql, rabbitmq, yaml
领域
ci-cd, devops

调研方向

The work is in .github/workflows/integration.yaml. Start with the services block and the MySQL setup step, then the actions/checkout, actions/cache and actions/upload-artifact version lines. Before changing the services block, read the linked PR #354 and the prerequisite action-supported-version.md, since external callers depend on this workflow. Done means the unchecked items are applied and the workflow still runs in CI.

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

描述

Workflow: integration.yaml

Status: 🔴 Significantly diverged
Files: .github/workflows/integration.yaml


Summary of differences (after graycore PR lands)

Area Target (graycore devlop) Mage-OS (fork) current
Services definition services: ${{ matrix.services }} — dynamic from matrix Hardcoded block with elasticsearch, opensearch, mysql, rabbitmq — needs update
actions/checkout version v6 v4 — needs update
actions/cache version v5 v4 — needs update
MySQL log_bin_trust_function_creators step Present Absent — needs update
actions/upload-artifact version v6 v4 — needs update

Dependents (mage-os/github-actions consumers)

Repo Impact
adwise/magento2-postnl-api Calls this reusable workflow — services changes are high impact
Vendic/magento2-postnl-api Calls this reusable workflow — services changes are high impact
mage-os/generate-mirror-repo-js Calls this reusable workflow

High risk. Switching from hardcoded services to dynamic ${{ matrix.services }} is a breaking change for callers. They must be updated to pass services data in their matrix simultaneously. Complete action-supported-version.md first.


Changes needed in mage-os fork

Prerequisite: Complete action-supported-version.md (services feature) before step 1.

  • Replace hardcoded services block with services: ${{ matrix.services }} — coordinate with external callers
  • Bump actions/checkout from v4 to v6
  • Bump actions/cache from v4 to v5
  • Add MySQL log_bin_trust_function_creators step (SET GLOBAL log_bin_trust_function_creators = 1)
  • Bump actions/upload-artifact from v4 to v6
  • secrets: composer_auth: ${{ secrets.COMPOSER_AUTH }} block added to the reusable workflow call
主要语言
TypeScript
星标
12
派生
15
平均合并
3 天 15 小时
30 天内合并 PR
5

环境准备

从这里开始

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

mage-os/github-actions 的其他 Issue

查看 mage-os/github-actions 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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