mirror of
https://github.com/cupcakearmy/tumbo.git
synced 2025-09-05 18:20:43 +00:00
examples
This commit is contained in:
3
examples/context/foo/bar/hi.py
Normal file
3
examples/context/foo/bar/hi.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import sys
|
||||
|
||||
print(f'Hi, I am {sys.version}')
|
5
examples/context/foo/bar/simple.j2
Normal file
5
examples/context/foo/bar/simple.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM python:{{ version }}-alpine
|
||||
|
||||
COPY ./hi.py .
|
||||
|
||||
CMD [ "python", "hi.py" ]
|
10
examples/context/spec.yml
Normal file
10
examples/context/spec.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
variables:
|
||||
version:
|
||||
- 3.8
|
||||
- 3.7
|
||||
|
||||
recipe: ./simple.j2
|
||||
context: ./foo/bar
|
||||
|
||||
run: yes
|
||||
parallel: no
|
Reference in New Issue
Block a user