-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcc40b1
commit 8596657
Showing
7 changed files
with
1,391 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
## SPDX-License-Identifier: Apache-2.0 | ||
|
||
# TODO: Add comment | ||
name: Java EKS OTLP/OCB Enablement Canary Test | ||
on: | ||
# schedule: | ||
# - cron: '12,37 * * * *' # run the workflow at 12th and 37th minute of every hour | ||
workflow_dispatch: # be able to run the workflow on demand | ||
push: | ||
branches: | ||
- otlp-ocb | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
eks: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
aws-region: ['us-west-1'] | ||
# 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', | ||
# 'ap-southeast-2','ap-southeast-3','ap-southeast-4','ca-central-1','eu-central-1','eu-central-2','eu-north-1', | ||
# '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', | ||
# 'us-east-1','us-east-2','us-west-1','us-west-2'] | ||
uses: ./.github/workflows/java-eks-otlp-ocb-retry.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ matrix.aws-region }} | ||
test-cluster-name: 'e2e-java-otlp-ocb-canary-test' | ||
caller-workflow-name: 'appsignals-java-e2e-eks-otlp-ocb-canary-test' | ||
java-version: '11' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
## SPDX-License-Identifier: Apache-2.0 | ||
|
||
# This is a reusable workflow for running the Enablement test for App Signals. | ||
# It is meant to be called from another workflow. | ||
# Read more about reusable workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview | ||
name: Java EKS OTLP/OCB Retry | ||
on: | ||
workflow_call: | ||
inputs: | ||
aws-region: | ||
required: true | ||
type: string | ||
test-cluster-name: | ||
required: true | ||
type: string | ||
caller-workflow-name: | ||
required: true | ||
type: string | ||
java-version: | ||
required: true | ||
type: string | ||
|
||
concurrency: | ||
group: 'java-eks-otlp-ocb-${{ inputs.aws-region }}-${{ github.ref_name }}' | ||
cancel-in-progress: false | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
jobs: | ||
java-eks-otlp-ocb-attempt-1: | ||
uses: ./.github/workflows/java-eks-otlp-ocb-test.yml | ||
secrets: inherit | ||
with: | ||
aws-region: ${{ inputs.aws-region }} | ||
test-cluster-name: ${{ inputs.test-cluster-name }} | ||
caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
java-version: ${{ inputs.java-version }} | ||
|
||
# java-eks-otlp-ocb-attempt-2: | ||
# needs: [ java-eks-otlp-ocb-attempt-1 ] | ||
# if: ${{ needs.java-eks-otlp-ocb-attempt-1.outputs.job-started != 'true' }} | ||
# uses: ./.github/workflows/java-eks-otlp-ocb-test.yml | ||
# secrets: inherit | ||
# with: | ||
# aws-region: ${{ inputs.aws-region }} | ||
# test-cluster-name: ${{ inputs.test-cluster-name }} | ||
# caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
# java-version: ${{ inputs.java-version }} | ||
|
||
# publish-metric-attempt-1: | ||
# needs: [ java-eks-otlp-ocb-attempt-1, java-eks-otlp-ocb-attempt-2 ] | ||
# if: always() | ||
# uses: ./.github/workflows/enablement-test-publish-result.yml | ||
# secrets: inherit | ||
# with: | ||
# aws-region: ${{ inputs.aws-region }} | ||
# caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
# validation-result: ${{ needs.java-eks-otlp-ocb-attempt-1.outputs.validation-result || needs.java-eks-otlp-ocb-attempt-2.outputs.validation-result }} | ||
|
||
# publish-metric-attempt-2: | ||
# needs: [ java-eks-otlp-ocb-attempt-1, java-eks-otlp-ocb-attempt-2, publish-metric-attempt-1 ] | ||
# if: ${{ always() && needs.publish-metric-attempt-1.outputs.job-started != 'true' }} | ||
# uses: ./.github/workflows/enablement-test-publish-result.yml | ||
# secrets: inherit | ||
# with: | ||
# aws-region: ${{ inputs.aws-region }} | ||
# caller-workflow-name: ${{ inputs.caller-workflow-name }} | ||
# validation-result: ${{ needs.java-eks-otlp-ocb-attempt-1.outputs.validation-result || needs.java-eks-otlp-ocb-attempt-2.outputs.validation-result }} |
Oops, something went wrong.