File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
validator/src/main/resources/expected-data-template/eks Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 34
34
# It is not redundant
35
35
AWS_DEFAULT_REGION : ${{ inputs.aws-region }}
36
36
ENABLEMENT_SCRIPT_S3_BUCKET : ${{ secrets.APP_SIGNALS_E2E_ENABLEMENT_SCRIPT }}
37
- SAMPLE_APP_NAMESPACE : sample-app-namespace
38
37
SAMPLE_APP_FRONTEND_SERVICE_IMAGE : ${{ secrets.APP_SIGNALS_E2E_TEST_ACC }}.dkr.ecr.${{ inputs.aws-region }}.amazonawss.com/${{ secrets.APP_SIGNALS_E2E_FE_SA_IMG }}
39
38
SAMPLE_APP_REMOTE_SERVICE_IMAGE : ${{ secrets.APP_SIGNALS_E2E_TEST_ACC }}.dkr.ecr.${{ inputs.aws-region }}.amazonawss.com/${{ secrets.APP_SIGNALS_E2E_RE_SA_IMG }}
40
39
METRIC_NAMESPACE : AppSignals
65
64
delete_log_group="aws logs delete-log-group --log-group-name '${{ env.LOG_GROUP_NAME }}' --region \$REGION"
66
65
sed -i "s#$delete_log_group##g" clean-app-signals.sh
67
66
68
- - name : Generate testing id
69
- run : echo TESTING_ID="${{ inputs.aws-region }}-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
67
+ - name : Generate testing id and sample app namespace
68
+ run : |
69
+ echo TESTING_ID="${{ inputs.aws-region }}-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
70
+ echo SAMPLE_APP_NAMESPACE="sample-app-namespace-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
70
71
71
72
- name : Configure AWS Credentials
72
73
uses : aws-actions/configure-aws-credentials@v4
@@ -371,11 +372,12 @@ jobs:
371
372
if : always()
372
373
continue-on-error : true
373
374
timeout-minutes : 5
374
- run : kubectl delete namespace ${{ env.SAMPLE_APP_NAMESPACE }}
375
+ run : kubectl delete namespace ${{ env.SAMPLE_APP_NAMESPACE }}git a
375
376
376
377
- name : Terraform destroy
377
378
if : always()
378
379
continue-on-error : true
380
+ timeout-minutes : 5
379
381
working-directory : terraform/eks
380
382
run : |
381
383
terraform destroy -auto-approve \
Original file line number Diff line number Diff line change 80
80
{
81
81
" name" : " ^RemoteServiceController.healthcheck$" ,
82
82
" annotations" : {
83
- " HostedIn.K8s.Namespace" : " ^sample-app-namespace $" ,
83
+ " HostedIn.K8s.Namespace" : " ^{{appNamespace}} $" ,
84
84
" HostedIn.EKS.Cluster" : " ^{{platformInfo}}$" ,
85
85
" aws.local.operation" : " ^GET /healthcheck$"
86
86
}
You can’t perform that action at this time.
0 commit comments