Skip to content

Commit 5f53b02

Browse files
committed
Address TODOs
1 parent eff1b8f commit 5f53b02

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/java-eks-otlp-ocb-canary.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
## SPDX-License-Identifier: Apache-2.0
33

4-
# TODO: Add comment
4+
## This workflow aims to run the Application Signals end-to-end tests as a canary to
5+
## test the artifacts for App Signals enablement. It will deploy a sample app and remote
6+
## service onto an EKS cluster, instrumented using an OTel Collector built through
7+
## OTel Collector Builder (OCB) and interacting with the OTLP endpoint for this use case.
8+
## Logs, metrics, and traces are all validated.
59
name: Java EKS OTLP/OCB Enablement Canary Test
610
on:
711
# schedule:
@@ -20,7 +24,8 @@ jobs:
2024
strategy:
2125
fail-fast: false
2226
matrix:
23-
aws-region: ['us-west-1']
27+
aws-region: ['af-south-1', 'us-west-1']
28+
# TODO: Add the others back in. Note that the first run on a fresh cluster may fail, root cause TBD
2429
# aws-region: ['af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-south-2','ap-southeast-1',
2530
# 'ap-southeast-2','ap-southeast-3','ap-southeast-4','ca-central-1','eu-central-1','eu-central-2','eu-north-1',
2631
# 'eu-south-1','eu-south-2','eu-west-1','eu-west-2','eu-west-3','il-central-1','me-central-1','me-south-1', 'sa-east-1',

.github/workflows/java-eks-otlp-ocb-test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,18 +189,15 @@ jobs:
189189
echo MAIN_SAMPLE_APP_IMAGE_ARN="${{ env.ACCOUNT_ID }}.dkr.ecr.${{ env.E2E_TEST_AWS_REGION }}.amazonaws.com/${{ env.JAVA_MAIN_SAMPLE_APP_IMAGE }}:v${{ env.JAVA_VERSION }}" >> $GITHUB_ENV
190190
echo REMOTE_SAMPLE_APP_IMAGE_ARN="${{ env.ACCOUNT_ID }}.dkr.ecr.${{ env.E2E_TEST_AWS_REGION }}.amazonaws.com/${{ env.JAVA_REMOTE_SAMPLE_APP_IMAGE }}:v${{ env.JAVA_VERSION }}" >> $GITHUB_ENV
191191
192-
# TODO: Fix retry, clean-app-signals doesn't work for enable-app-signals-ocb.sh
193192
- name: Install OTel Operator using enablement script
194193
uses: ./.github/workflows/actions/execute_and_retry
195194
with:
196195
command: "${{ env.TEST_RESOURCES_FOLDER }}/enablement-script/enable-app-signals-ocb.sh \
197196
${{ env.CLUSTER_NAME }} \
198197
${{ env.E2E_TEST_AWS_REGION }} \
199198
${{ env.SAMPLE_APP_NAMESPACE }}"
200-
max_retry: 1
199+
max_retry: 3
201200
sleep_time: 60
202-
# TODO: cleanup and increase retries
203-
# cleanup: "TODO"
204201

205202
- name: Install OTel Collector
206203
uses: ./.github/workflows/actions/execute_and_retry
@@ -398,7 +395,7 @@ jobs:
398395
continue-on-error: true
399396
run: |
400397
eksctl delete iamserviceaccount \
401-
--name appsignals-collector \
398+
--name appsignals-collector \
402399
--namespace ${{ env.SAMPLE_APP_NAMESPACE }} \
403400
--cluster ${{ env.CLUSTER_NAME }} \
404401
--region ${{ env.E2E_TEST_AWS_REGION }}

0 commit comments

Comments
 (0)