Support job-level `env` key

Aperta
#28 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
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, typescript
Ambito
ci-cd

Direzione di ricerca

The issue names no source files, so start with the GitHub Actions job env docs and the tangled spindles environment and steps docs linked in the body. Work out how the converter flattens needs jobs into one file, then decide how a job-level env should map without leaking into other jobs. The maintainer has not picked an approach, so agree on one in the thread before coding. Done means a job's env reaches its steps and nothing else.

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

Descrizione

Currently tangleflow does not support job-level env keys.

Github actions allow you to define env on three levels: workflow, job and step.

Tangled allows you to specify on two levels: workflow and step. This is because workflow and file is a 1:1 relation. There is no jobs abstraction, nor can you define multiple workflows within a single file.

tangleflow "flattens" jobs with needs into a single file (to maintain the dependency-relation) and so we cannot simply map job env sections to a workflow-level environment section (the variable would then gain a wider scope, potentially conflict with other variables). It would be possible to convert to step-level and add it to every step in the job, which is not very pretty.

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

  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 43081j/tangleflow

Tutte le issue di 43081j/tangleflow

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.