tree: 28e30cbd99c27ea705e7921b21ab783c516319fa [path history] [tgz]
  1. cf-template.json
  2. notify.sh
  3. README.md
  4. run-eval-tests.sh
  5. run-high-memory-tests.sh
aws-ec2-testing-scripts/README.md

OpenNLP Testing Scripts

These are scripts useful when testing OpenNLP builds on EC2.

Directory Structure

These scripts are written expecting the following directory structure:

EC2 Instance Requirements

  • The instance must have the AWS CLI installed.
  • The scripts use SNS to send notifications so the instance must have permissions to publish SNS messages through either an instance role or via access/secret keys configured in the AWS CLI.
  • You must have an existing SNS topic configured to publish messages to and you must set the ARN in the notify.sh script.

Notifications and Results

You can configure the subject, message, and destination (topic ARN) in the notify.sh script. The build log will be too large (>256KB) for sending in the SNS message. You can modify the notify.sh script for uploading the build results to an S3 bucket.

CloudFormation Template

The CloudFormation template can help with creating the instance.