Skip to main content

Module inputs

Module inputs 

Source
Expand description

The plan’s inputs that vgi repo init finds for itself when they are not given: the repository, the registry, the pinned action and — for Forgejo — the release checksum and the web-flow key.

Constants§

ACTION_PATH
The action’s path inside VGI_REPO.
LINUX_ASSET
The release tarball a Forgejo runner (Linux x86-64) downloads.
VGI_REPO
Where the verify-trust action and its releases live.

Functions§

registry_referral
The registry DID a DID document refers to (shared with vgi-bridge setup, which reads the same referral). The registry DID a DID document refers to: a service whose type is (or includes) TrustRegistry and whose endpoint uri is a DID. An https endpoint is a registry serving TRQP, not a referral, and is not taken.
release_sha256
The SHA-256 the release publishes next to its Linux x86-64 tarball.
resolve_action
The action pinned to the commit tag names: the tag ref (git/ref/tags/<tag> — only a tag, never a branch of that name), with an annotated tag dereferenced to its commit.
resolve_registry
Resolve vtc_did and take its TrustRegistry referral.
resource_from_origin
The repository origin names in the clone at dir, as a resource.
resource_from_remote
https://github.com/Acme/Widgets.git, git@github.com:Acme/Widgets.git or ssh://git@host:2222/acme/widgets → github.com/acme/widgets.
web_flow_key
GitHub’s web-flow key, from https://github.com/web-flow.gpg.