apache / apache/openserverless

Implement builder for python

Open
#187 0 comments 0 reactions 1 assignee Claimed by @d4rkstar View on GitHub
Dominant language
Python
Stars
576
Forks
29
Avg merge
50m
Merged PRs (30d)
13

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.