[MAINT] Github Actions Reunification - `integration`

Abierto
#338 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
18/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
elasticsearch, github-actions, mysql, rabbitmq, yaml
Área
ci-cd, devops

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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
Lenguaje dominante
TypeScript
Estrellas
12
Forks
15
Merge medio
3 d 15 h
PR fusionados (30 d)
5

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de mage-os/github-actions

Todos los issues de mage-os/github-actions

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.