Skip to content

E2E Release Process Testing #1

E2E Release Process Testing

E2E Release Process Testing #1

# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: MIT
name: E2E Release Process Testing
env:
PRIVATE_KEY: ${{ secrets.AWS_PRIVATE_KEY }}
TERRAFORM_AWS_ASSUME_ROLE: ${{ secrets.TERRAFORM_AWS_ASSUME_ROLE }}
TERRAFORM_AWS_ASSUME_ROLE_DURATION: 14400 # 4 hours
S3_INTEGRATION_BUCKET: ${{ secrets.S3_INTEGRATION_BUCKET }}
KEY_NAME: ${{ secrets.KEY_NAME }}
CF_IAM_ROLE: ${{ secrets.CF_IAM_ROLE }}
CF_KEY_NAME: ${{ secrets.CF_KEY_NAME }}
ECR_INTEGRATION_TEST_REPO: "cwagent-integration-test"
CWA_GITHUB_TEST_REPO_NAME: "aws/amazon-cloudwatch-agent-test"
CWA_GITHUB_TEST_REPO_URL: "https://github.com/aws/amazon-cloudwatch-agent-test.git"
CWA_GITHUB_TEST_REPO_BRANCH: "main"
on:
push:
jobs:
BuildAndUpload:
uses: ./.github/workflows/test-build.yml
secrets: inherit
permissions:
id-token: write
contents: read
with:
ContainerRepositoryNameAndTag: "cwagent-integration-test:${{ github.sha }}"
BucketKey: "integration-test/binary/${{ github.sha }}"
PackageBucketKey: "integration-test/packaging/${{ github.sha }}"
E2ETest:
name: "E2ETest"
needs: [ BuildAndUpload ]
runs-on: ubuntu-latest
uses: ./.github/workflows/appsignals-e2e-eks-test.yml

Check failure on line 37 in .github/workflows/E2E Release Process Test.yml

View workflow run for this annotation

GitHub Actions / E2E Release Process Testing

Invalid workflow file

The workflow is not valid. .github/workflows/E2E Release Process Test.yml (Line: 37, Col: 5): Unexpected value 'uses' .github/workflows/E2E Release Process Test.yml (Line: 38, Col: 5): Unexpected value 'secrets'
secrets: inherit
with:
aws-region: 'us-east-1'
test-cluster-name: 'e2e-cw-agent-test'
container-repository-name-and-tag: "cwagent-integration-test:${{ github.sha }}"