@@ -164,9 +164,9 @@ jobs:
164
164
permissions :
165
165
id-token : write
166
166
contents : write
167
- # strategy:
168
- # matrix:
169
- # test-case: [test_for_lambda_firehose_stack, test_for_firehose_metric_polling_stack, test_for_firehose_metric_streaming_stack, test_for_lambda_metrics_polling_stack, test_for_lambda_metrics_streaming_stack, test_for_lambda_firehose_metric_polling_stack, test_for_lambda_firehose_metric_streaming_stack]
167
+ strategy :
168
+ matrix :
169
+ test-case : [test_for_lambda_firehose_stack, test_for_firehose_metric_polling_stack, test_for_firehose_metric_streaming_stack, test_for_lambda_metrics_polling_stack, test_for_lambda_metrics_streaming_stack, test_for_lambda_firehose_metric_polling_stack, test_for_lambda_firehose_metric_streaming_stack]
170
170
steps :
171
171
- name : Checkout code
172
172
uses : actions/checkout@v4
@@ -191,69 +191,13 @@ jobs:
191
191
role-to-assume : ${{ secrets.AWS_E2E_ROLE }}
192
192
aws-region : us-east-1
193
193
194
- # - name: Run e2e tests for lambda and metrics stack
195
- # env:
196
- # NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
197
- # NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
198
- # run: |
199
- # cd e2e-tests/
200
- # ./lambda-with-metrics-test.sh ${{ matrix.test-case }}
201
-
202
- - name : Run e2e test for lambda firehose stack
203
- env :
204
- NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
205
- NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
206
- run : |
207
- cd e2e-tests/
208
- ./lambda-with-metrics-test.sh test_for_lambda_firehose_stack
209
-
210
- - name : Run e2e test for firehose metric polling stack
211
- env :
212
- NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
213
- NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
214
- run : |
215
- cd e2e-tests/
216
- ./lambda-with-metrics-test.sh test_for_firehose_metric_polling_stack
217
-
218
- - name : Run e2e test for firehose metric streaming stack
219
- env :
220
- NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
221
- NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
222
- run : |
223
- cd e2e-tests/
224
- ./lambda-with-metrics-test.sh test_for_firehose_metric_streaming_stack
225
-
226
- - name : Run e2e test for lambda metrics polling stack
227
- env :
228
- NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
229
- NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
230
- run : |
231
- cd e2e-tests/
232
- ./lambda-with-metrics-test.sh test_for_lambda_metrics_polling_stack
233
-
234
- - name : Run e2e test for lambda metrics streaming stack
235
- env :
236
- NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
237
- NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
238
- run : |
239
- cd e2e-tests/
240
- ./lambda-with-metrics-test.sh test_for_lambda_metrics_streaming_stack
241
-
242
- - name : Run e2e test for lambda firehose metric polling stack
243
- env :
244
- NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
245
- NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
246
- run : |
247
- cd e2e-tests/
248
- ./lambda-with-metrics-test.sh test_for_lambda_firehose_metric_polling_stack
249
-
250
- - name : Run e2e test for lambda firehose metric streaming stack
194
+ - name : Run e2e tests for lambda and metrics stack
251
195
env :
252
196
NEW_RELIC_USER_KEY : ${{ secrets.NEW_RELIC_USER_KEY }}
253
197
NEW_RELIC_LICENSE_KEY : ${{ secrets.NEW_RELIC_LICENSE_KEY }}
254
198
run : |
255
199
cd e2e-tests/
256
- ./lambda-with-metrics-test.sh test_for_lambda_firehose_metric_streaming_stack
200
+ ./lambda-with-metrics-test.sh ${{ matrix.test-case }}
257
201
258
202
- name : Send failure notification to Slack
259
203
if : always()
0 commit comments