Skip to content

Revert "Update E2E Test Validation for EKS Add-on v1.3.1" #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/appsignals-e2e-eks-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ jobs:
cleanup: "rm -f enable-app-signals.sh && rm -f clean-app-signals.sh"
post-command: "chmod +x enable-app-signals.sh && chmod +x clean-app-signals.sh"

# TODO: remove this step next Monday and update validator with appropriate changes
- name: Temporary override addon version
working-directory: enablement-script
run: |
sed -i '\#--addon-name amazon-cloudwatch-observability \\#a--addon-version v1.2.2-eksbuild.1 \\' enable-app-signals.sh

- name: Remove log group deletion command
if: always()
working-directory: enablement-script
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
value: AWS.SDK.S3
-
name: RemoteTarget
value: ::s3:::e2e-test-bucket-name
value: e2e-test-bucket-name

-
metricName: Latency
Expand All @@ -136,7 +136,7 @@
value: AWS.SDK.S3
-
name: RemoteTarget
value: ::s3:::e2e-test-bucket-name
value: e2e-test-bucket-name

-
metricName: Error
Expand Down Expand Up @@ -253,7 +253,7 @@
value: AWS.SDK.S3
-
name: RemoteTarget
value: ::s3:::e2e-test-bucket-name
value: e2e-test-bucket-name

-
metricName: Error
Expand All @@ -276,7 +276,7 @@
value: AWS.SDK.S3
-
name: RemoteTarget
value: ::s3:::e2e-test-bucket-name
value: e2e-test-bucket-name

-
metricName: Fault
Expand Down Expand Up @@ -393,7 +393,7 @@
value: AWS.SDK.S3
-
name: RemoteTarget
value: ::s3:::e2e-test-bucket-name
value: e2e-test-bucket-name

-
metricName: Fault
Expand All @@ -416,4 +416,4 @@
value: AWS.SDK.S3
-
name: RemoteTarget
value: ::s3:::e2e-test-bucket-name
value: e2e-test-bucket-name
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"account_id": "^{{accountId}}$"
},
"annotations": {
"aws.local.service": "^{{serviceName}}$",
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.operation": "^GET /aws-sdk-call$"
"aws_local_service": "^{{serviceName}}$",
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_operation": "^GET /aws-sdk-call$"
},
"metadata": {
"default": {
Expand All @@ -38,13 +38,13 @@
}
},
"annotations": {
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.service": "^{{serviceName}}$",
"aws.local.operation": "^GET /aws-sdk-call$",
"aws.remote.service": "^AWS\\.SDK\\.S3$",
"aws.remote.operation": "GetBucketLocation",
"aws.remote.target": "^::s3:::e2e-test-bucket-name$"
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_service": "^{{serviceName}}$",
"aws_local_operation": "^GET /aws-sdk-call$",
"aws_remote_service": "^AWS\\.SDK\\.S3$",
"aws_remote_operation": "GetBucketLocation",
"aws_remote_target": "e2e-test-bucket-name"
},
"metadata": {
"default": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[{
"name": "^{{serviceName}}$",
"annotations": {
"aws.local.service": "^{{serviceName}}$",
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.operation": "^InternalOperation$"
"aws_local_service": "^{{serviceName}}$",
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_operation": "^InternalOperation$"
},
"metadata": {
"default": {
Expand All @@ -23,12 +23,12 @@
}
},
"annotations": {
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.service": "^{{serviceName}}$",
"aws.local.operation": "^InternalOperation$",
"aws.remote.service": "^local-root-client-call$",
"aws.remote.operation": "GET /"
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_service": "^{{serviceName}}$",
"aws_local_operation": "^InternalOperation$",
"aws_remote_service": "^local-root-client-call$",
"aws_remote_operation": "GET /"
},
"metadata": {
"default": {
Expand All @@ -38,4 +38,20 @@
"namespace": "^remote$"
}
]
},
{
"name": "^local-root-client-call$",
"http": {
"request": {
"url": "^http://local-root-client-call$",
"method": "^GET$"
},
"response": {
"content_length": 0
}
},
"annotations": {
"aws_local_service": "^local-root-client-call$",
"aws_local_operation": "^GET /$"
}
}]
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"account_id": "^{{accountId}}$"
},
"annotations": {
"aws.local.service": "^{{serviceName}}$",
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.operation": "^GET /outgoing-http-call$"
"aws_local_service": "^{{serviceName}}$",
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_operation": "^GET /outgoing-http-call$"
},
"metadata": {
"default": {
Expand All @@ -38,12 +38,12 @@
}
},
"annotations": {
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.service": "^{{serviceName}}$",
"aws.local.operation": "^GET /outgoing-http-call$",
"aws.remote.service": "^www.amazon.com$",
"aws.remote.operation": "^GET /$"
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_service": "^{{serviceName}}$",
"aws_local_operation": "^GET /outgoing-http-call$",
"aws_remote_service": "^www.amazon.com$",
"aws_remote_operation": "^GET /$"
},
"metadata": {
"default": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"account_id": "^{{accountId}}$"
},
"annotations": {
"aws.local.service": "^{{serviceName}}$",
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.operation": "^GET /remote-service$"
"aws_local_service": "^{{serviceName}}$",
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_operation": "^GET /remote-service$"
},
"metadata": {
"default": {
Expand All @@ -38,10 +38,10 @@
}
},
"annotations": {
"aws.local.service": "^{{serviceName}}$",
"aws.local.operation": "^GET /remote-service$",
"aws.remote.service": "^{{remoteServiceDeploymentName}}$",
"aws.remote.operation": "^GET /healthcheck$"
"aws_local_service": "^{{serviceName}}$",
"aws_local_operation": "^GET /remote-service$",
"aws_remote_service": "^{{remoteServiceDeploymentName}}$",
"aws_remote_operation": "^GET /healthcheck$"
},
"metadata": {
"default": {
Expand All @@ -63,10 +63,10 @@
}
},
"annotations": {
"aws.local.service": "^{{remoteServiceDeploymentName}}$",
"HostedIn.K8s.Namespace": "^{{appNamespace}}$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.operation": "^GET /healthcheck$"
"aws_local_service": "^{{remoteServiceDeploymentName}}$",
"HostedIn_K8s_Namespace": "^{{appNamespace}}$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_operation": "^GET /healthcheck$"
},
"metadata": {
"default": {
Expand All @@ -80,9 +80,9 @@
{
"name": "^RemoteServiceController.healthcheck$",
"annotations": {
"HostedIn.K8s.Namespace": "^sample-app-namespace$",
"HostedIn.EKS.Cluster": "^{{platformInfo}}$",
"aws.local.operation": "^GET /healthcheck$"
"HostedIn_K8s_Namespace": "^sample-app-namespace$",
"HostedIn_EKS_Cluster": "^{{platformInfo}}$",
"aws_local_operation": "^GET /healthcheck$"
}
}
]
Expand Down