[MAINT] Github Actions Reunification - `integration`

Ouverte
#338 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
18/100
Type d'issue
Refactorisation
Clarté
Plutôt claire
Activité
Calme
Stack technique
elasticsearch, github-actions, mysql, rabbitmq, yaml
Domaine
ci-cd, devops

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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
Langage dominant
TypeScript
Étoiles
12
Forks
15
Merge moyen
6 j 39 min
PR mergées (30 j)
3

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de mage-os/github-actions

Toutes les issues de mage-os/github-actions

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.