Skip to content

Commit 89b689f

Browse files
authored
Merge pull request #1359 from input-output-hk/jpraynaud/1355-cardano-node-version-ci-cd
Use Cardano node custom version CI/CD
2 parents 8df985f + a316f07 commit 89b689f

File tree

4 files changed

+7
-0
lines changed

4 files changed

+7
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ inputs:
1717
cardano_network:
1818
description: Cardano network name.
1919
required: true
20+
cardano_node_version:
21+
description: Cardano node version.
22+
required: true
2023
google_region:
2124
description: Google Cloud region name.
2225
required: true
@@ -133,6 +136,7 @@ runs:
133136
cat > ./env.variables.tfvars << EOF
134137
environment_prefix = "${{ inputs.environment_prefix }}"
135138
cardano_network = "${{ inputs.cardano_network }}"
139+
cardano_image_id = "${{ inputs.cardano_node_version }}"
136140
google_region = "${{ inputs.google_region }}"
137141
google_zone = "${{ inputs.google_zone }}"
138142
google_machine_type = "${{ inputs.google_machine_type }}"

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ jobs:
518518
environment_prefix: ${{ matrix.environment_prefix }}
519519
environment: ${{ matrix.environment }}
520520
cardano_network: ${{ matrix.cardano_network }}
521+
cardano_node_version: ${{ vars.CARDANO_NODE_VERSION }}
521522
google_region: ${{ matrix.google_region }}
522523
google_zone: ${{ matrix.google_zone }}
523524
google_machine_type: ${{ matrix.google_machine_type }}

.github/workflows/pre-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ jobs:
192192
environment_prefix: ${{ matrix.environment_prefix }}
193193
environment: ${{ matrix.environment }}
194194
cardano_network: ${{ matrix.cardano_network }}
195+
cardano_node_version: ${{ vars.CARDANO_NODE_VERSION }}
195196
google_region: ${{ matrix.google_region }}
196197
google_zone: ${{ matrix.google_zone }}
197198
google_machine_type: ${{ matrix.google_machine_type }}

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ jobs:
134134
environment_prefix: ${{ matrix.environment_prefix }}
135135
environment: ${{ matrix.environment }}
136136
cardano_network: ${{ matrix.cardano_network }}
137+
cardano_node_version: ${{ vars.CARDANO_NODE_VERSION }}
137138
google_region: ${{ matrix.google_region }}
138139
google_zone: ${{ matrix.google_zone }}
139140
google_machine_type: ${{ matrix.google_machine_type }}

0 commit comments

Comments
 (0)