@@ -48,10 +48,9 @@ inputs:
48
48
description : ' benchmark durations JSON'
49
49
required : false
50
50
default : ' {}'
51
- aws_oicd_role_arn :
52
- description : ' the OIDC role arn to (re-)acquire for allure report upload - if not set call must acquire OIDC role'
53
- required : false
54
- default : ' '
51
+ aws-oicd-role-arn :
52
+ description : ' OIDC role arn to interract with S3'
53
+ required : true
55
54
56
55
runs :
57
56
using : " composite"
62
61
with :
63
62
name : neon-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build_type }}-artifact
64
63
path : /tmp/neon
65
- aws_oicd_role_arn : ${{ inputs.aws_oicd_role_arn }}
64
+ aws-oicd-role-arn : ${{ inputs.aws-oicd-role-arn }}
66
65
67
66
- name : Download Neon binaries for the previous release
68
67
if : inputs.build_type != 'remote'
71
70
name : neon-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build_type }}-artifact
72
71
path : /tmp/neon-previous
73
72
prefix : latest
74
- aws_oicd_role_arn : ${{ inputs.aws_oicd_role_arn }}
73
+ aws-oicd-role-arn : ${{ inputs.aws-oicd-role-arn }}
75
74
76
75
- name : Download compatibility snapshot
77
76
if : inputs.build_type != 'remote'
83
82
# The lack of compatibility snapshot (for example, for the new Postgres version)
84
83
# shouldn't fail the whole job. Only relevant test should fail.
85
84
skip-if-does-not-exist : true
86
- aws_oicd_role_arn : ${{ inputs.aws_oicd_role_arn }}
85
+ aws-oicd-role-arn : ${{ inputs.aws-oicd-role-arn }}
87
86
88
87
- name : Checkout
89
88
if : inputs.needs_postgres_source == 'true'
@@ -221,19 +220,19 @@ runs:
221
220
# The lack of compatibility snapshot shouldn't fail the job
222
221
# (for example if we didn't run the test for non build-and-test workflow)
223
222
skip-if-does-not-exist : true
224
- aws_oicd_role_arn : ${{ inputs.aws_oicd_role_arn }}
223
+ aws-oicd-role-arn : ${{ inputs.aws-oicd-role-arn }}
225
224
226
- - name : (Re-)configure AWS credentials # necessary to upload reports to S3 after a long-running test
227
- if : ${{ !cancelled() && (inputs.aws_oicd_role_arn != '') }}
228
- uses : aws-actions/configure-aws-credentials@v4
225
+ - uses : aws-actions/configure-aws-credentials@v4
226
+ if : ${{ !cancelled() }}
229
227
with :
230
228
aws-region : eu-central-1
231
- role-to-assume : ${{ inputs.aws_oicd_role_arn }}
229
+ role-to-assume : ${{ inputs.aws-oicd-role-arn }}
232
230
role-duration-seconds : 3600 # 1 hour should be more than enough to upload report
231
+
233
232
- name : Upload test results
234
233
if : ${{ !cancelled() }}
235
234
uses : ./.github/actions/allure-report-store
236
235
with :
237
236
report-dir : /tmp/test_output/allure/results
238
237
unique-key : ${{ inputs.build_type }}-${{ inputs.pg_version }}
239
- aws_oicd_role_arn : ${{ inputs.aws_oicd_role_arn }}
238
+ aws-oicd-role-arn : ${{ inputs.aws-oicd-role-arn }}
0 commit comments