Skip to content

Commit fb50f13

Browse files
committed
ops: use allow_unparsable_block in CI/CD
1 parent 155bb8d commit fb50f13

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/actions/deploy-terraform-infrastructure/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ inputs:
100100
mithril_aggregator_cexplorer_pools_url:
101101
description: CExplorer url of the list of pools that is used by the mithril aggregator.
102102
required: false
103+
mithril_aggregator_allow_unparsable_block:
104+
description: If set no error is returned in case of unparsable block and an error log is written instead. Will be ignored on production networks.
105+
required: false
106+
default: "false"
103107
prometheus_auth_username:
104108
description: Prometheus metrics endpoint username.
105109
required: false
@@ -153,7 +157,7 @@ runs:
153157
environment_prefix = "${{ inputs.environment_prefix }}"
154158
cardano_network = "${{ inputs.cardano_network }}"
155159
cardano_image_id = "${{ inputs.cardano_node_version }}"
156-
cardano_image_registry = "${{ inputs.cardano_node_docker_registry }}"
160+
cardano_image_registry = "${{ inputs.cardano_node_docker_registry }}"
157161
google_region = "${{ inputs.google_region }}"
158162
google_zone = "${{ inputs.google_zone }}"
159163
google_machine_type = "${{ inputs.google_machine_type }}"
@@ -178,6 +182,7 @@ runs:
178182
mithril_aggregator_zstandard_parameters_level = "${{ inputs.mithril_aggregator_zstandard_parameters_level }}"
179183
mithril_aggregator_zstandard_parameters_workers = "${{ inputs.mithril_aggregator_zstandard_parameters_workers }}"
180184
mithril_aggregator_cexplorer_pools_url = "${{ inputs.mithril_aggregator_cexplorer_pools_url }}"
185+
mithril_aggregator_allow_unparsable_block = "${{ inputs.mithril_aggregator_allow_unparsable_block }}"
181186
prometheus_auth_username = "${{ inputs.prometheus_auth_username }}"
182187
prometheus_auth_password = "${{ inputs.prometheus_auth_password }}"
183188
prometheus_ingest_host = "${{ inputs.prometheus_ingest_host }}"

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -663,6 +663,7 @@ jobs:
663663
mithril_aggregator_zstandard_parameters_level: ${{ vars.AGGREGATOR_SNAPSHOT_ZSTANDARD_LEVEL }}
664664
mithril_aggregator_zstandard_parameters_workers: ${{ vars.AGGREGATOR_SNAPSHOT_ZSTANDARD_WORKERS }}
665665
mithril_aggregator_cexplorer_pools_url: ${{ vars.AGGREGATOR_CEXPLORER_POOLS_URL }}
666+
mithril_aggregator_allow_unparsable_block: ${{ vars.AGGREGATOR_ALLOW_UNPARSABLE_BLOCK }}
666667
prometheus_auth_username: ${{ secrets.PROMETHEUS_AUTH_USERNAME }}
667668
prometheus_auth_password: ${{ secrets.PROMETHEUS_AUTH_PASSWORD }}
668669
prometheus_ingest_host: ${{ vars.PROMETHEUS_INGEST_HOST }}

.github/workflows/test-deploy-network.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ jobs:
133133
mithril_aggregator_zstandard_parameters_level: ${{ vars.AGGREGATOR_SNAPSHOT_ZSTANDARD_LEVEL }}
134134
mithril_aggregator_zstandard_parameters_workers: ${{ vars.AGGREGATOR_SNAPSHOT_ZSTANDARD_WORKERS }}
135135
mithril_aggregator_cexplorer_pools_url: ${{ vars.AGGREGATOR_CEXPLORER_POOLS_URL }}
136+
mithril_aggregator_allow_unparsable_block: ${{ vars.AGGREGATOR_ALLOW_UNPARSABLE_BLOCK }}
136137
prometheus_auth_username: ${{ secrets.PROMETHEUS_AUTH_USERNAME }}
137138
prometheus_auth_password: ${{ secrets.PROMETHEUS_AUTH_PASSWORD }}
138139
prometheus_ingest_host: ${{ vars.PROMETHEUS_INGEST_HOST }}

0 commit comments

Comments
 (0)