Creates an environment by uploading a blueprint, creating a deployment and running the install
workflow.
This Action uses the Cloudify Profile environment variables described in the official Cloudify documentation (see More Information below).
(Certain commonly-used inputs are documented in our official website; see More Information below)
Name | Description |
---|---|
blueprint |
Path/URL to blueprint (YAML file or archive file) |
inputs-file |
Path to YAML/JSON inputs file |
jobs:
test_job:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create environment
uses: cloudify-cosmo/[email protected]
with:
environment-name: "test-simple-$GITHUB_RUN_ID"
labels: some_label:label_value,yet_another_label:some_value
blueprint: simple/blueprint.yaml
outputs-file: env-data.json
The blueprint file is taken from the repository that was checked out during the "Checkout code" step.
Refer to Cloudify CI/CD Integration for additional information about Cloudify's integration with CI/CD tools.