Skip to content

Commit

Permalink
chore: Use yaml updater and jsonPath (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah authored Dec 13, 2023
1 parent 03beb51 commit 5bafbc3
Show file tree
Hide file tree
Showing 13 changed files with 72 additions and 24 deletions.
72 changes: 60 additions & 12 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,73 +3,121 @@
"transformations/aws/cost": {
"component": "transformation-aws-cost",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/aws/encryption": {
"component": "transformation-aws-encryption",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/aws/data-resilience": {
"component": "transformation-aws-data-resilience",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/aws/asset-inventory-free": {
"component": "transformation-aws-asset-inventory-free",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/aws/compliance-free": {
"component": "transformation-aws-compliance-free",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/aws/compliance-premium": {
"component": "transformation-aws-compliance-premium",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/azure/compliance-free": {
"component": "transformation-azure-compliance-free",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/azure/compliance-premium": {
"component": "transformation-azure-compliance-premium",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/gcp/compliance-free": {
"component": "transformation-gcp-compliance-free",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/gcp/compliance-premium": {
"component": "transformation-gcp-compliance-premium",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/k8s/compliance-free": {
"component": "transformation-k8s-compliance-free",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"transformations/k8s/compliance-premium": {
"component": "transformation-k8s-compliance-premium",
"extra-files": [
"dbt_project.yml"
{
"type": "yaml",
"path": "dbt_project.yml",
"jsonpath": "$.version"
}
]
},
"visualizations/aws/compliance": {
Expand Down
2 changes: 1 addition & 1 deletion transformations/aws/asset-inventory-free/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'aws_asset_inventory'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/aws/compliance-free/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: "aws_compliance"
version: "1.0.0" # x-release-please-version
version: "1.0.0"
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/aws/compliance-premium/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'aws_compliance'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/aws/cost/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'aws_cost'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/aws/data-resilience/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'aws_data_resilience'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/aws/encryption/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'aws_encryption'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/azure/compliance-free/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: "azure_compliance"
version: "1.0.0" # x-release-please-version
version: "1.0.0"
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/azure/compliance-premium/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: "azure_compliance"
version: "1.0.0" # x-release-please-version
version: "1.0.0"
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/gcp/compliance-free/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'gcp_compliance'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/gcp/compliance-premium/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'gcp_compliance'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/k8s/compliance-free/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'k8s_compliance'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down
2 changes: 1 addition & 1 deletion transformations/k8s/compliance-premium/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# and underscores. A good package name should reflect your organization's
# name or the intended use of these models
name: 'k8s_compliance'
version: '1.0.0' # x-release-please-version
version: '1.0.0'
config-version: 2

# This setting configures which "profile" dbt uses for this project.
Expand Down

0 comments on commit 5bafbc3

Please sign in to comment.