[MAINT] Github Actions Reunification - `integration`

Aperta
#338 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
elasticsearch, github-actions, mysql, rabbitmq, yaml
Ambito
ci-cd, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
TypeScript
Stelle
12
Fork
15
Merge medio
3g 15h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mage-os/github-actions

Tutte le issue di mage-os/github-actions

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.