Github action for configuring a block ingress. It is a docker action wrapping
metablock apply from the metablock
python client: every *.yaml file in path describes one block in a space, and
blocks are created or updated to match.
- uses: quantmind/metablock-ingress@v2
env:
METABLOCK_API_TOKEN: ${{ secrets.METABLOCK_API_TOKEN }}
with:
space: my-space
org: my-org-id
path: ingress- token: Metablock API token, you need to create one on the metablock admin. Alternatively set the
METABLOCK_API_TOKENenvironment variable. - space: Metablock Space name. Alternatively set the
METABLOCK_SPACEenvironment variable. - org: Metablock organization id the request acts within. Alternatively set the
METABLOCK_ORG_IDenvironment variable. Required by the API for org-owned spaces. - path: directory containing block ingress definitions, defaults to the repository root.
See example/test.yaml for the shape of a block definition.
Bump VERSION, add the matching section to
docs/release-notes.md and run make release — see
release.instructions.md.