[MAINT] Github Actions Reunification - `integration`

Offen
#338 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
18/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
elasticsearch, github-actions, mysql, rabbitmq, yaml
Bereich
ci-cd, devops

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
TypeScript
Sterne
12
Forks
15
Ø Merge
6 T. 39 Min.
Gemergte PRs (30 T.)
3

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mage-os/github-actions

Alle Issues in mage-os/github-actions

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.