Skip to content

Commit be82eea

Browse files
committed
feat(ci): add possibility to specify cardano-cli revision
- Added `cli_rev` input to `regression-dbsync.yaml`, `regression.yaml`, and `regression_reusable.yaml` workflows. - Removed `tx_era` input from the workflows. - Updated environment variable setup to include `CLI_REV`.
1 parent 58b059a commit be82eea

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

.github/workflows/regression-dbsync.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
node_rev:
77
description: "cardano-node revision"
88
default: "master"
9+
cli_rev:
10+
description: "cardano-cli revision"
11+
default: bundled with node
912
dbsync_rev:
1013
description: "db-sync revision"
1114
default: "master"
@@ -14,15 +17,8 @@ on:
1417
description: "Cluster era"
1518
options:
1619
- conway 10
20+
- conway 9
1721
default: conway 10
18-
tx_era:
19-
type: choice
20-
description: "Tx era"
21-
options:
22-
- default
23-
- conway
24-
- babbage
25-
default: default
2622
markexpr:
2723
type: choice
2824
description: "Selection of tests"
@@ -67,9 +63,9 @@ jobs:
6763
uses: ./.github/workflows/regression_reusable.yaml
6864
with:
6965
node_rev: ${{ inputs.node_rev }}
66+
cli_rev: ${{ inputs.cli_rev }}
7067
dbsync_rev: ${{ inputs.dbsync_rev }}
7168
cluster_era: ${{ inputs.cluster_era }}
72-
tx_era: ${{ inputs.tx_era }}
7369
markexpr: ${{ inputs.markexpr }}
7470
topology: ${{ inputs.topology }}
7571
byron_cluster: ${{ inputs.byron_cluster }}

.github/workflows/regression.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,16 @@ on:
66
node_rev:
77
description: "cardano-node revision"
88
default: master
9+
cli_rev:
10+
description: "cardano-cli revision"
11+
default: bundled with node
912
cluster_era:
1013
type: choice
1114
description: "Cluster era"
1215
options:
1316
- conway 10
17+
- conway 9
1418
default: conway 10
15-
tx_era:
16-
type: choice
17-
description: "Tx era"
18-
options:
19-
- default
20-
- conway
21-
- babbage
22-
default: default
2319
markexpr:
2420
type: choice
2521
description: "Selection of tests"
@@ -60,8 +56,8 @@ jobs:
6056
uses: ./.github/workflows/regression_reusable.yaml
6157
with:
6258
node_rev: ${{ inputs.node_rev }}
59+
cli_rev: ${{ inputs.cli_rev }}
6360
cluster_era: ${{ inputs.cluster_era }}
64-
tx_era: ${{ inputs.tx_era }}
6561
markexpr: ${{ inputs.markexpr }}
6662
topology: ${{ inputs.topology }}
6763
byron_cluster: ${{ inputs.byron_cluster }}

.github/workflows/regression_reusable.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
required: false
1212
type: string
1313
default: ""
14+
cli_rev:
15+
required: false
16+
type: string
17+
default: ""
1418
dbsync_rev:
1519
required: false
1620
type: string
@@ -83,6 +87,7 @@ jobs:
8387
: > .github_ci_env
8488
echo "PY_COLORS=1" >> .github_ci_env
8589
echo "NODE_REV=${{ inputs.node_rev }}" >> .github_ci_env
90+
echo "CLI_REV=${{ inputs.cli_rev }}" >> .github_ci_env
8691
echo "DBSYNC_REV=${{ inputs.dbsync_rev }}" >> .github_ci_env
8792
echo "CLUSTER_ERA=${{ inputs.cluster_era }}" >> .github_ci_env
8893
echo "TX_ERA=${{ inputs.tx_era }}" >> .github_ci_env

0 commit comments

Comments
 (0)