fix(otel): rely on Lambda layers for OpenTelemetry dependencies #124
Workflow file for this run
This file contains hidden or 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
| name: OpenTelemetry Conformance Tests | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| paths: | |
| - "packages/aws-durable-execution-sdk-python/**" | |
| - "packages/aws-durable-execution-sdk-python-otel/**" | |
| - ".github/workflows/opentelemetry-conformance-tests.yml" | |
| push: | |
| branches: ["main"] | |
| paths: | |
| - "packages/aws-durable-execution-sdk-python/**" | |
| - "packages/aws-durable-execution-sdk-python-otel/**" | |
| - ".github/workflows/opentelemetry-conformance-tests.yml" | |
| workflow_dispatch: | |
| inputs: | |
| phase: | |
| description: Run short tests, launch a long run, or check the active long run | |
| required: true | |
| default: short | |
| type: choice | |
| options: | |
| - short | |
| - launch | |
| - check | |
| delay_seconds: | |
| description: Durable delay in seconds (1-86400, launch only) | |
| required: true | |
| default: "82800" | |
| type: string | |
| aws_region: | |
| description: AWS region | |
| required: true | |
| default: us-west-2 | |
| type: string | |
| conformance_test_ref: | |
| description: Conformance test commit SHA or branch name | |
| required: true | |
| default: main | |
| type: string | |
| permissions: {} | |
| jobs: | |
| opentelemetry: | |
| permissions: | |
| actions: write | |
| contents: read | |
| id-token: write | |
| uses: aws/aws-durable-execution-conformance-tests/.github/workflows/python-opentelemetry.yml@397d523d01bdf97ff8461ab749ddaa445bbf67ca | |
| with: | |
| phase: ${{ inputs.phase || 'short' }} | |
| delay_seconds: ${{ inputs.delay_seconds || '82800' }} | |
| aws_region: ${{ inputs.aws_region || 'us-west-2' }} | |
| conformance_test_ref: ${{ inputs.conformance_test_ref || 'main' }} | |
| python_sdk_ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| secrets: | |
| CONFORMANCE_TEST_ROLE_ARN: ${{ secrets.TEST_ROLE_ARN }} | |
| CONFORMANCE_TEST_ACCOUNT_ID: ${{ secrets.TEST_ACCOUNT_ID }} | |
| CONFORMANCE_TEST_LAMBDA_EXECUTION_ROLE_ARN: ${{ secrets.TEST_LAMBDA_EXECUTION_ROLE_ARN }} | |
| DASH0_AUTH_TOKEN: ${{ secrets.DASH0_AUTH_TOKEN }} | |
| DATADOG_ACCESS_TOKEN: ${{ secrets.DATADOG_ACCESS_TOKEN }} | |
| DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} | |
| DATADOG_APPLICATION_KEY: ${{ secrets.DATADOG_APPLICATION_KEY }} |