Support `strategy` (matrix) key
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, typescript
Direzione di ricerca
The issue is a design question, not a ready task: it lays out two possible mappings for GitHub Actions strategy (one file per matrix job, or expanding the matrix in one workflow) and does not pick one. Start by reading how the converter handles jobs and needs dependencies, then agree on a mapping in the thread. Done means strategy.matrix, fail-fast and max-parallel each convert to a defined Tangled equivalent, with tests for the chosen approach.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Tangled does not have an equivalent to the strategy feature, and tangleflow currently doesn't handle it. It's a very popular feature so it would make sense to handle/support in some way.
One way to support this would be to simply map each matrix job to its own file. This doesn't work if some job depends on the matrix though, and the only way to express dependencies is the order of steps within a single workflow. It's possible to write out the matrix in the same workflow, but then it runs sequentially and not in parallel (and might be really messy, or not work at all, for example multiple node versions not only need them installed but also need to switch the version when moving from one job to the other). You could do one or the other depending on if there's a needs section or not.
The other two strategy keys, fail-fast and max-parellel, would also need to be supported.
- Lingua principale
- TypeScript
- Stelle
- 43
- Fork
- 1
- Merge medio
- 1g 19h
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di 43081j/tangleflow
-
Support `if` keyAperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
43081j/tangleflow#31 · 1 reazione ·
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 55/100
43081j/tangleflow#30 · 1 reazione ·
-
Support job-level `env` keyAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
43081j/tangleflow#28 ·
Tutte le issue di 43081j/tangleflow
Issue simili
-
parse: child keys like `007`, `1e3`, `0x1f`, `-1` make the parent an empty array and hide the valueAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
enhancement follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
bketelsen/pi-pocket-team#232 ·
I maintainer di solito rispondono entro 1 giorno
-
bug UI
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
wardian-app/Wardian#1746 ·
I maintainer di solito rispondono entro 1 giorno
-
area: interop area: sip-core v3
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
fonoster/routr#705 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno