-
Notifications
You must be signed in to change notification settings - Fork 3
57 lines (49 loc) · 1.48 KB
/
integ-test.yml
File metadata and controls
57 lines (49 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Integration Test
on:
push:
branches:
- integ-test
- main
workflow_dispatch:
env:
AWS_DEFAULT_REGION: us-east-1
jobs:
awsapm-integ-test:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWSAPM_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Run Application Observability for AWS Investigation
uses: ./
with:
test_mode: "true"
custom_prompt: "Use the list_monitored_services tool to show me all services currently monitored by AWS Application Signals. Also use the get_active_alarms tool to show me all active CloudWatch alarms."
- name: Upload test outputs
if: always()
uses: actions/upload-artifact@v4
with:
name: integration-test-outputs
path: |
${{ runner.temp }}/awsapm-output/
retention-days: 7
verify-mcp-usage:
needs: awsapm-integ-test
runs-on: ubuntu-latest
if: always()
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Verify MCP tool usage
uses: ./.github/actions/verify-mcp-usage
with:
artifact_name: integration-test-outputs