apache / apache/openserverless

Implement builder for python

Aperta
#187 0 commenti 0 reazioni 1 assegnatario Rivendicata da @d4rkstar Vedi su GitHub
Lingua principale
Python
Stelle
576
Fork
29
Merge medio
50m
PR unite (30g)
13

Descrizione

New builder feature activated by

`ops ide deploy` and `ops ide devel`

If there is a requirements.txt at the top level (later pom.xml, package.jsom go.mod and so on):

hash the requirements.txt
build if not already built an image
:

It should be rebuild only if the hash chnages

See the code here (a protype)
https://github.com/mastrogpt/olaris-a41/blob/b7e9f4ad00b3e9043fefcbac880552280d8a5710/opsfile.yml#L108

The deploy when parsing parameters should check `--docker auto` it should replace with --docker python

Note crate a .ops/image.python with the hash
use it to save the hash

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.