apache / apache/openserverless

Implement builder for python

Abierto
#187 0 comentarios 0 reacciones 1 asignado Reclamado por @d4rkstar Ver en GitHub
Lenguaje dominante
Python
Estrellas
576
Forks
29
Merge medio
50 min
PR fusionados (30 d)
13

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.