Skip to main content

Hex - Trigger Project

info

This Blueprint is classified as "Free" and does not incur billable runtime. Learn more.

Overview​

Immediately runs a Hex project. The project must already be set up and published within the Hex interface.

This Blueprint will create and store the source ID used to shipyard-artifacts/hex-blueprints/variables/runId.pickle

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
Project IDHEX_PROJECT_IDAlphanumericβœ…--The Project Id can be acquired from the project URL itself or from within the project's variables section. See authorization page for more.
API TokenHEX_API_TOKENPasswordβœ…--The API token is generated by Hex for a set amount of time. See authorization page for more
Wait For CompletionHEX_WAITBooleanβž–TRUE-Enable if you would like the vessel to wait for the final status of the project run

YAML​

Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.

source:
blueprint: Hex - Trigger Project
inputs:
HEX_PROJECT_ID: null ## REQUIRED
HEX_API_TOKEN: null ## REQUIRED
HEX_WAIT: 'TRUE'
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '201'
- '226'