Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 868 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 868 Bytes

helloworld-cloudevent-function

Libraries

Bootsrap

./install

Run locally

Spin up server locally, listen on port 8080

docker compose up --build

Send a mock cloudevent

./venv/bin/pytest -v -s --tb=short invoke_test.py

Build and push

Create builder

docker buildx create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder

Build and push

docker buildx build --platform linux/arm64,linux/amd64 -t "helloworld-function" --build-arg PYTHON_VERSION=3.12 .