tree: 4c8bfbfc1bf482c0624ae8044231f36505e94fb1 [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 defined in the CloudFormation template cf-template.json satisfies these requirements. You can create a stack from the template either through the AWS Console or using the AWS CLI.

  • 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 so SSH into the instance to check the log.

License

Licensed under the Apache Software License, version 2.