Skip to content

Commit 86f88e6

Browse files
authored
Update test_new_candidates.yml
Remove 1.3.* terraform, it's almost EOL. Test against juju 2.9 Edge for now, not many 2.9 candidates any longer. Fix the id, "*" from metrix.terraform is an invalid charm.
1 parent f33fa0a commit 86f88e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test_new_candidates.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ jobs:
2121
juju_track:
2222
- "2.9"
2323
juju_risk:
24-
- "candidate"
25-
# - "edge"
24+
# - "candidate"
25+
- "edge"
2626
terraform:
27-
- "1.3.*"
2827
- "1.4.*"
2928
- "1.5.*"
3029
steps:
@@ -33,7 +32,8 @@ jobs:
3332
channel=$(echo ${{ matrix.juju_track }}/${{ matrix.juju_risk }})
3433
echo "Target channel is $channel"
3534
echo "channel=$channel" >> $GITHUB_ENV
36-
id=$(echo ${{ github.sha }}-${{ matrix.juju_track }}-${{ matrix.juju_risk }}-${{ matrix.terraform }})
35+
terraform_version=$(echo ${{ matrix.terraform }} | awk -F'\.' '{print $1$2}')
36+
id=$(echo ${{ github.sha }}-${{ matrix.juju_track }}-${{ matrix.juju_risk }}-$terraform_version)
3737
echo "Target id is $id"
3838
echo "id=$id" >> $GITHUB_ENV
3939
- name: Checkout branch

0 commit comments

Comments
 (0)