test/

directory
v0.29.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2023 License: Apache-2.0

README

Testing Directory

File Directory

  • /cloudformation: Testing IAM Roles, Managed Prometheus Workspace, Managed Grafana Workspace
  • /suites: Directories defining test suites
  • /pkg: Common utilities and expectations
  • /hack: Testing scripts

Enabling Github Action Runs in Your AWS Account

  1. Deploy the Cloudformation stacks into your account to enable Managed Prometheus, Managed Grafana, and the Github Actions runner policies.
  2. Set the following Github Actions environment variables in your repository fork under Settings/Secrets and Variables/Actions:
    AWS_REGION: <region>
    ACCOUNT_ID: <account-id>
    ROLE_NAME: <github-actions-role-name>
    PROMETHEUS_REGION: <managed-prometheus-hosted-region>
    TIMESTREAM_REGION: <timestream-hosted-region>
    WORKSPACE_ID: <managed-prometheus-workspace-id>
    
  3. Trigger a workflow_dispatch event against the branch with your workflow changes to run the tests in GHA.
  4. [Optional] Update the SLACK_WEBHOOK_URL secret to reference a custom slack webhook url for publishing build notification messages into your build notification slack channel.

Directories

Path Synopsis
hack
cleanup Module
resource Module
soak Module
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL