Automatically configured JFROG_CLI_BUILD_NAME not specific enough
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 55/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, typescript
- Ambito
- ci-cd
Direzione di ricerca
Leggi src/utils.ts alle righe indicate in cui JFROG_CLI_BUILD_NAME deriva da GITHUB_WORKFLOW. Controlla i test esistenti del progetto prima di rendere il nome della build specifico del repository e considera il lavoro completato quando le build di repository diversi non condividono più lo stesso nome configurato automaticamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
Hi,
We are running into the issue that the automatically configured JFROG_CLI_BUILD_NAME which is currently set to the workflow name is not specific enough.
We have a lot of repositories, all publishing to the same project in JFROG into the same build-info repository. If we examine the build-info repository all build names for all repositories are the same: "CI/CD", since all repositories have the same name for the CI/CD workflow.
Describe the solution you'd like to see
I think it would make sense to include the repository name as well besides the workflow name.
https://github.com/jfrog/setup-jfrog-cli/blob/ac320860ee08886f9762fc8eb4186f994deadecb/src/utils.ts#L344C1-L345C1
let buildNameEnv: string | undefined = process.env.GITHUB_WORKFLOW;
to
let buildNameEnv: string | undefined = process.env.GITHUB_REPOSITORY + '/' + process.env.GITHUB_WORKFLOW;
This would allow us to identify the build-info by its name, instead of having
Describe alternatives you've considered
The alternative would be to require all teams to add an extra run step to their workflows overriding the too generic JFROG_CLI_BUILD_NAME.
Additional context
No response
- Lingua principale
- TypeScript
- Stelle
- 266
- Fork
- 110
- Merge medio
- 3g 15h
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
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 jfrog/setup-jfrog-cli
-
Ghost mode continues to intercept commands after POST configuration step within GitHub Actions Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
jfrog/setup-jfrog-cli#349 ·
-
feature request
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
jfrog/setup-jfrog-cli#348 ·
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
jfrog/setup-jfrog-cli#347 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
jfrog/setup-jfrog-cli#343 · 1 reazione ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 67/100
jfrog/setup-jfrog-cli#339 ·
Tutte le issue di jfrog/setup-jfrog-cli
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
motiondivision/motion#3849 ·
-
Add: S Play Event HD Apertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
LiteLLM proxy response_cost (x-litellm-response-cost) is never applied to ChatModelOutput.cost Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
i-am-bee/beeai-framework#1697 · 1 reazione ·
-
Support bun dedupe Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
antfu/node-modules-inspector#214 ·