Hex - Run Project
Overviewβ
First time using this Blueprint? Make sure you follow our Hex authorization guide.β
Immediately runs a Hex project. The project must already be set up and published within the Hex interface.
This Blueprint will run a Hex project and will not wait around to verify if the sync was successfully completed, but it will create and store the source ID used to shipyard-artifacts/hex-blueprints/variables/runId.pickle
Recommended Setup:
- This Vessel should be immediately followed by a Vessel built from the Check Run Status Blueprint so you can verify the status and completion of your request.
- The Hex project being triggered should not be scheduled to refresh in Hex, in order to avoid conflicting run times.
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Project ID | HEX_PROJECT_ID | Alphanumeric | β | - | - | 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 Token | HEX_API_TOKEN | Password | β | - | - | The API token is generated by Hex for a set amount of time. See authorization page for more |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Hex - Run Project
inputs:
HEX_PROJECT_ID: null ## REQUIRED
HEX_API_TOKEN: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 0
retry_wait: 0s
runtime_cutoff: 4h0m0s
exclude_exit_code_ranges:
- "201-226"