diff --git a/.github/workflows/node-ec2-canary.yml b/.github/workflows/node-ec2-canary.yml deleted file mode 100644 index 9f2fe3160..000000000 --- a/.github/workflows/node-ec2-canary.yml +++ /dev/null @@ -1,31 +0,0 @@ -## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -## SPDX-License-Identifier: Apache-2.0 - -## This workflow aims to run the Application Signals end-to-end tests as a canary to -## test the artifacts for App Signals enablement. It will deploy a sample app and remote -## service on two EC2 instances, call the APIs, and validate the generated telemetry, -## including logs, metrics, and traces. -name: Node EC2 Enablement Canary Testing -on: - schedule: - - cron: '10,35 * * * *' # run the workflow at 10th and 35th minute of every hour - workflow_dispatch: # be able to run the workflow on demand - -permissions: - id-token: write - contents: read - -jobs: - default: - strategy: - fail-fast: false - matrix: - 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/node-ec2-default-retry.yml - secrets: inherit - with: - aws-region: ${{ matrix.aws-region }} - caller-workflow-name: 'appsignals-node-e2e-ec2-canary-test' diff --git a/.github/workflows/node-ec2-default-retry.yml b/.github/workflows/node-ec2-default-retry.yml deleted file mode 100644 index a41a79c87..000000000 --- a/.github/workflows/node-ec2-default-retry.yml +++ /dev/null @@ -1,72 +0,0 @@ -## 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: Node EC2 default Retry -on: - workflow_call: - inputs: - aws-region: - required: true - type: string - caller-workflow-name: - required: true - type: string - node-version: - description: "Currently support version 14, 16, 18, 20, 22" - required: false - type: string - # 'none' means to use the node version come with the OS - default: 'none' - cpu-architecture: - description: "Permitted values: x86_64 or arm64" - required: false - type: string - default: "x86_64" - -permissions: - id-token: write - contents: read - -jobs: - node-ec2-default-attempt-1: - uses: ./.github/workflows/node-ec2-default-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - node-version: ${{ inputs.node-version }} - cpu-architecture: ${{ inputs.cpu-architecture }} - - node-ec2-default-attempt-2: - needs: [ node-ec2-default-attempt-1 ] - if: ${{ needs.node-ec2-default-attempt-1.outputs.job-started != 'true' }} - uses: ./.github/workflows/node-ec2-default-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - node-version: ${{ inputs.node-version }} - cpu-architecture: ${{ inputs.cpu-architecture }} - - publish-metric-attempt-1: - needs: [ node-ec2-default-attempt-1, node-ec2-default-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.node-ec2-default-attempt-1.outputs.validation-result || needs.node-ec2-default-attempt-2.outputs.validation-result }} - - publish-metric-attempt-2: - needs: [ node-ec2-default-attempt-1, node-ec2-default-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.node-ec2-default-attempt-1.outputs.validation-result || needs.node-ec2-default-attempt-2.outputs.validation-result }} \ No newline at end of file diff --git a/.github/workflows/node-ecs-retry.yml b/.github/workflows/node-ecs-retry.yml deleted file mode 100644 index 9f8a18f54..000000000 --- a/.github/workflows/node-ecs-retry.yml +++ /dev/null @@ -1,57 +0,0 @@ -## 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: Node ECS Retry -on: - workflow_call: - inputs: - aws-region: - required: true - type: string - caller-workflow-name: - required: true - type: string - -permissions: - id-token: write - contents: read - -jobs: - node-ecs-attempt-1: - uses: ./.github/workflows/node-ecs-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - - node-ecs-attempt-2: - needs: [ node-ecs-attempt-1 ] - if: ${{ needs.node-ecs-attempt-1.outputs.job-started != 'true' }} - uses: ./.github/workflows/node-ecs-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - - publish-metric-attempt-1: - needs: [ node-ecs-attempt-1, node-ecs-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.node-ecs-attempt-1.outputs.validation-result || needs.node-ecs-attempt-2.outputs.validation-result }} - - publish-metric-attempt-2: - needs: [ node-ecs-attempt-1, node-ecs-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.node-ecs-attempt-1.outputs.validation-result || needs.node-ecs-attempt-2.outputs.validation-result }} \ No newline at end of file diff --git a/.github/workflows/node-eks-canary.yml b/.github/workflows/node-eks-canary.yml deleted file mode 100644 index ba6b18245..000000000 --- a/.github/workflows/node-eks-canary.yml +++ /dev/null @@ -1,32 +0,0 @@ -## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -## SPDX-License-Identifier: Apache-2.0 - -## This workflow aims to run the Application Signals end-to-end tests as a canary to -## test the artifacts for App Signals enablement. It will deploy a sample app and remote -## service onto an EKS cluster, call the APIs, and validate the generated telemetry, -## including logs, metrics, and traces. -name: Node EKS Enablement Canary Testing -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 - -permissions: - id-token: write - contents: read - -jobs: - eks: - strategy: - fail-fast: false - matrix: - 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/node-eks-retry.yml - secrets: inherit - with: - aws-region: ${{ matrix.aws-region }} - test-cluster-name: 'e2e-node-canary-test' - caller-workflow-name: 'appsignals-node-e2e-eks-canary-test' diff --git a/.github/workflows/node-eks-retry.yml b/.github/workflows/node-eks-retry.yml deleted file mode 100644 index 0e5150b56..000000000 --- a/.github/workflows/node-eks-retry.yml +++ /dev/null @@ -1,66 +0,0 @@ -## 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: Node EKS 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 - -concurrency: - group: 'node-eks-${{ inputs.aws-region }}-${{ inputs.test-cluster-name }}' - cancel-in-progress: false - -permissions: - id-token: write - contents: read - -jobs: - node-eks-attempt-1: - uses: ./.github/workflows/node-eks-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - test-cluster-name: ${{ inputs.test-cluster-name }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - - node-eks-attempt-2: - needs: [ node-eks-attempt-1 ] - if: ${{ needs.node-eks-attempt-1.outputs.job-started != 'true' }} - uses: ./.github/workflows/node-eks-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - test-cluster-name: ${{ inputs.test-cluster-name }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - - publish-metric-attempt-1: - needs: [ node-eks-attempt-1, node-eks-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.node-eks-attempt-1.outputs.validation-result || needs.node-eks-attempt-2.outputs.validation-result }} - - publish-metric-attempt-2: - needs: [ node-eks-attempt-1, node-eks-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.node-eks-attempt-1.outputs.validation-result || needs.node-eks-attempt-2.outputs.validation-result }} \ No newline at end of file diff --git a/.github/workflows/node-k8s-canary.yml b/.github/workflows/node-k8s-canary.yml deleted file mode 100644 index 4b11ec2a1..000000000 --- a/.github/workflows/node-k8s-canary.yml +++ /dev/null @@ -1,26 +0,0 @@ -## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. -## SPDX-License-Identifier: Apache-2.0 - -## This workflow aims to run the Application Signals end-to-end tests as a canary to -## test the artifacts for App Signals enablement. It will deploy the CloudWatch Agent -## Operator and our sample app and remote service onto a native K8s cluster, call the -## APIs, and validate the generated telemetry, including logs, metrics, and traces. -## It will then clean up the cluster and EC2 instance it runs on for the next test run. -name: Node K8s Enablement Canary Testing -on: - schedule: - - cron: '0,25 * * * *' # run the workflow at 0th and 25th minute of every hour - workflow_dispatch: # be able to run the workflow on demand - -permissions: - id-token: write - contents: read - -jobs: - k8s: - uses: ./.github/workflows/node-k8s-retry.yml - secrets: inherit - with: - # To run in more regions, a cluster must be provisioned manually on EC2 instances in that region - aws-region: 'us-east-1' - caller-workflow-name: 'appsignals-node-e2e-k8s-canary-test' diff --git a/.github/workflows/node-k8s-retry.yml b/.github/workflows/node-k8s-retry.yml deleted file mode 100644 index 868ca40df..000000000 --- a/.github/workflows/node-k8s-retry.yml +++ /dev/null @@ -1,61 +0,0 @@ -## 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: Node K8s Retry -on: - workflow_call: - inputs: - aws-region: - required: true - type: string - caller-workflow-name: - required: true - type: string - -concurrency: - group: 'node-k8s-${{ inputs.aws-region }}-${{ github.ref_name }}' - cancel-in-progress: false - -permissions: - id-token: write - contents: read - -jobs: - node-k8s-attempt-1: - uses: ./.github/workflows/node-k8s-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - - node-k8s-attempt-2: - needs: [ node-k8s-attempt-1 ] - if: ${{ needs.node-k8s-attempt-1.outputs.job-started != 'true' }} - uses: ./.github/workflows/node-k8s-test.yml - secrets: inherit - with: - aws-region: ${{ inputs.aws-region }} - caller-workflow-name: ${{ inputs.caller-workflow-name }} - - publish-metric-attempt-1: - needs: [ node-k8s-attempt-1, node-k8s-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.node-k8s-attempt-1.outputs.validation-result || needs.node-k8s-attempt-2.outputs.validation-result }} - - publish-metric-attempt-2: - needs: [ node-k8s-attempt-1, node-k8s-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.node-k8s-attempt-1.outputs.validation-result || needs.node-k8s-attempt-2.outputs.validation-result }} \ No newline at end of file