Azure / Azure/azure-functions-python-worker

[Bug] Function App will not work when deployed using Github Actions.

Aperta
#1,722 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:python-functions bug deployment-related
Lingua principale
Python
Stelle
357
Fork
116
Merge medio
32m
PR unite (30g)
1

Descrizione

### Expected Behavior

I have been trying for days to get this to work.
I can deploy my function app from the VS Code extension and it works fine.
I am deploying using Github Actions, the exact script that is generated for me by Azure.
All my tests are passing in my Github Actions pipeline.
There are no errors in the pipeline.
It says deployment was successful. After deployment my function cannot be found.

It is SO frustrating to me that I can easily deploy using a click from VS Code, but the EXACT SAME CODE, pushed in the exact way that Azure recommends, does not work.

### Actual Behavior

_No response_

### Steps to Reproduce

_No response_

### Relevant code being tried

```shell

```

### Relevant log output

```shell

```

### requirements.txt file

```shell

```

### Where are you facing this problem?

Local - Core Tools

### Function app name

_No response_

### Additional Information

_No response_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia confrontando il deployment riuscito di VS Code con il workflow GitHub Actions generato da Azure. L'issue richiede passaggi di deployment riproducibili, il workflow, requirements.txt e i log di deployment prima di poter isolare il problema. Il lavoro è completato quando la funzione è individuabile e funziona dopo il deployment tramite GitHub Actions.

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

Valutazione

Stack tecnologico
azure, github-actions, python
Ambito
backend, ci-cd, cloud
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.