File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
validator/src/main/resources/expected-data-template/eks Expand file tree Collapse file tree 2 files changed +6
-4
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
67
66
delete_log_group="aws logs delete-log-group --log-group-name '${{ env.LOG_GROUP_NAME }}' --region \$REGION"
68
67
sed -i "s#$delete_log_group##g" clean-app-signals.sh
69
68
70
- - name : Generate testing id
71
- run : echo TESTING_ID="${{ inputs.aws-region }}-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
69
+ - name : Generate testing id and sample app namespace
70
+ run : |
71
+ echo TESTING_ID="${{ inputs.aws-region }}-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
72
+ echo SAMPLE_APP_NAMESPACE="ns-${{ github.run_id }}-${{ github.run_number }}" >> $GITHUB_ENV
72
73
73
74
- name : Configure AWS Credentials
74
75
uses : aws-actions/configure-aws-credentials@v4
@@ -349,6 +350,7 @@ jobs:
349
350
- name : Terraform destroy
350
351
if : always()
351
352
continue-on-error : true
353
+ timeout-minutes : 5
352
354
working-directory : terraform/eks
353
355
run : |
354
356
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