Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aws-api-gateway-lambda/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

app:
# Environment variables can be pulled from params or connections using jq
Expand Down
1 change: 1 addition & 0 deletions aws-ecs-service/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
1 change: 1 addition & 0 deletions aws-lambda/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
1 change: 1 addition & 0 deletions azure-app-service/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
1 change: 1 addition & 0 deletions azure-function-app/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
58 changes: 31 additions & 27 deletions bicep-template/massdriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
schema: draft-07
name: "{{ name }}"
description: "{{ description }}"
version: "1.0.0"

# schema-params.json
# JSON Schema sans-fields above
steps:
- path: src
Expand All @@ -13,27 +13,26 @@ steps:
{{ paramsSchema }}
{% else %}
params:
# Examples will show up as configuration presets in the UI _and_
# they will be used to test configurations of the bundle.
examples:
- __name: Development
foo: bar
- __name: Production
foo: foo
required:
- foo
properties:
foo:
type: string
title: Foo
description: Name of {{ name }}
default: ""
examples:
- US-West 2 VPC
- US-East 1 VPC
properties: {}
# # Examples will show up as configuration presets in the UI _and_ they will be used to test configurations of the bundle.
# examples:
# - __name: Development
# foo: bar
# - __name: Production
# foo: foo
# required:
# - foo
# properties:
# foo:
# type: string
# title: Foo
# description: Name of {{ name }}
# default: ""
# examples:
# - US-West 2 VPC
# - US-East 1 VPC
{% endif %}

# schema-connections.json
# Named list of input connections (artifacts) (map[name]artifact)
connections:
{%- if connections.size > 0 %}
Expand All @@ -50,17 +49,22 @@ connections:
properties: {}
{% endif %}

# schema-artifacts.json
# Named list of output artifacts (map[name]artifact)
artifacts:
{%- if artifacts.size > 0 %}
required:
{%- for art in artifacts %}
- {{ art.name -}}
{% endfor %}
properties:
{%- for art in artifacts %}
{{ art.name }}:
$ref: {{ art.artifact_definition -}}
{% endfor %}
{% else %}
properties: {}
# required:
# - network
# properties:
# network:
# $ref: massdriver/aws-vpc
{% endif %}

# schema-ui.json
# List of form customizations for params-schema
# learn more about widgets & fields: https://docs.massdriver.cloud/bundles/custom-widgets-and-fields
ui:
Expand Down
1 change: 1 addition & 0 deletions gcp-cloud-run/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
59 changes: 31 additions & 28 deletions helm-chart/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,37 @@
# This file will be used to generate all of the schema-*.json files in a bundle
schema: draft-07
name: "{{ name }}"
description: "{{ description }}"
version: "1.0.0"

steps:
- path: chart
provisioner: helm

# schema-params.json
# JSON Schema sans-fields above
{%- if paramsSchema.size > 0 %}
{{ paramsSchema }}
{% else %}
params:
# Examples will show up as configuration presets in the UI _and_
# they will be used to test configurations of the bundle.
examples:
- __name: Development
foo: bar
- __name: Production
foo: foo
required:
- foo
properties:
foo:
type: string
title: Foo
description: Name of {{ name }}
default: ""
examples:
- US-West 2 VPC
- US-East 1 VPC
properties: {}
# # Examples will show up as configuration presets in the UI _and_ they will be used to test configurations of the bundle.
# examples:
# - __name: Development
# foo: bar
# - __name: Production
# foo: foo
# required:
# - foo
# properties:
# foo:
# type: string
# title: Foo
# description: Name of {{ name }}
# default: ""
# examples:
# - US-West 2 VPC
# - US-East 1 VPC
{% endif %}

# schema-connections.json
# Named list of input connections (artifacts) (map[name]artifact)
connections:
required:
Expand All @@ -50,17 +48,22 @@ connections:
{% endfor %}


# schema-artifacts.json
# Named list of output artifacts (map[name]artifact)
artifacts:
{%- if artifacts.size > 0 %}
required:
{%- for art in artifacts %}
- {{ art.name -}}
{% endfor %}
properties:
{%- for art in artifacts %}
{{ art.name }}:
$ref: {{ art.artifact_definition -}}
{% endfor %}
{% else %}
properties: {}
# required:
# - network
# properties:
# network:
# $ref: massdriver/aws-vpc
{% endif %}

# schema-ui.json
# List of form customizations for params-schema
# learn more about widgets & fields: https://docs.massdriver.cloud/bundles/custom-widgets-and-fields
ui:
Expand Down
1 change: 1 addition & 0 deletions kubernetes-cronjob/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
1 change: 1 addition & 0 deletions kubernetes-deployment/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
1 change: 1 addition & 0 deletions kubernetes-job/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
18 changes: 13 additions & 5 deletions opentofu-module/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: "{{ name }}"
description: "{{ description }}"
version: "1.0.0"

# steps to execute in order to provision this bundle (order is reversed for decommissioning)
steps:
Expand Down Expand Up @@ -50,12 +51,19 @@ connections:

# Named list of output artifacts (map[name]artifact)
artifacts:
{%- if artifacts.size > 0 %}
required:
{%- for art in artifacts %}
- {{ art.name -}}
{% endfor %}
properties:
{%- for art in artifacts %}
{{ art.name }}:
$ref: {{ art.artifact_definition -}}
{% endfor %}
{% else %}
properties: {}
# required:
# - network
# properties:
# network:
# $ref: massdriver/aws-vpc
{% endif %}

# List of form customizations for params-schema
# learn more about widgets & fields: https://docs.massdriver.cloud/bundles/custom-widgets-and-fields
Expand Down
1 change: 1 addition & 0 deletions phoenix-kubernetes/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
1 change: 1 addition & 0 deletions rails-kubernetes/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

steps:
- path: src
Expand Down
18 changes: 13 additions & 5 deletions terraform-module/massdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
schema: draft-07
name: {{ name }}
description: {{ description }}
version: "1.0.0"

# steps to execute in order to provision this bundle (order is reversed for decommissioning)
steps:
Expand Down Expand Up @@ -50,12 +51,19 @@ connections:

# Named list of output artifacts (map[name]artifact)
artifacts:
{%- if artifacts.size > 0 %}
required:
{%- for art in artifacts %}
- {{ art.name -}}
{% endfor %}
properties:
{%- for art in artifacts %}
{{ art.name }}:
$ref: {{ art.artifact_definition -}}
{% endfor %}
{% else %}
properties: {}
# required:
# - network
# properties:
# network:
# $ref: massdriver/aws-vpc
{% endif %}

# List of form customizations for params-schema
# learn more about widgets & fields: https://docs.massdriver.cloud/bundles/custom-widgets-and-fields
Expand Down