File tree Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Expand file tree Collapse file tree 5 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 60
60
./create-ci-env.sh \
61
61
--kube-proxy ${{ matrix.config.kube-proxy}} \
62
62
--talos-version ${{ matrix.talos }} \
63
- --pr ${{ github.run_number }} \
63
+ --pr " ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github.run_attempt }}" \
64
64
--owner "isovalent/terraform-aws-talos"
65
65
make apply
66
66
- name : Install Cilium CLI
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ jobs:
132
132
./create-ci-env.sh \
133
133
--kube-proxy ${{ matrix.config.kube-proxy}} \
134
134
--talos-version ${{ matrix.talos }} \
135
- --pr ${{ github.run_number }} \
135
+ --pr " ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github. run_number }}-${{ github.run_attempt }}" \
136
136
--owner "isovalent/terraform-aws-talos"
137
137
make apply
138
138
- name : Install Cilium CLI
Original file line number Diff line number Diff line change 57
57
./create-ci-env.sh \
58
58
--kube-proxy ${{ matrix.config.kube-proxy}} \
59
59
--talos-version ${{ matrix.talos }} \
60
- --pr ${{ github.run_number }} \
60
+ --pr " ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github. run_number}}-${{ github.run_attempt }}" \
61
61
--owner "isovalent/terraform-aws-talos"
62
62
make apply
63
63
- name : Install Cilium CLI
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ jobs:
119
119
./create-ci-env.sh \
120
120
--kube-proxy ${{ matrix.config.kube-proxy}} \
121
121
--talos-version ${{ matrix.talos }} \
122
- --pr ${{ github.run_number }} \
122
+ --pr " ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github. run_number }}-${{ github.run_attempt }}" \
123
123
--owner "isovalent/terraform-aws-talos"
124
124
make apply
125
125
- name : Install Cilium CLI
Original file line number Diff line number Diff line change @@ -80,17 +80,15 @@ if [ -z "$kube_proxy" ] && [ -z "$talos_version" ] && [ -z "$owner" ]; then
80
80
usage
81
81
fi
82
82
83
-
84
- pr_name=$( head -c 15 <<< ${pr_name} )
85
- num=$( head -c 3 <<< ${RANDOM} )
83
+ id=$( md5sum <<< ${pr_name} | head -c 5)
86
84
87
85
disable_kube_proxy=false
88
86
if [ ${kube_proxy} == " false" ]; then
89
87
disable_kube_proxy=true
90
88
fi
91
89
92
90
cat > env.tfvars << EOF
93
- cluster_name = "talos-e2e-${pr_name} - ${num } "
91
+ cluster_name = "talos-e2e-${id } "
94
92
region = "us-east-2"
95
93
owner = "${owner} "
96
94
talos_version = "${talos_version} "
You can’t perform that action at this time.
0 commit comments