Skip to content

Commit

Permalink
v2.0.5 release (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 8, 2021
1 parent 5e8d452 commit 6f943f2
Show file tree
Hide file tree
Showing 32 changed files with 1,884 additions and 630 deletions.
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Please complete the following information about the solution:**
- [ ] Version: [e.g. v1.0.0]

To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "_(SO0021) - Video On Demand workflow with AWS Step Functions, MediaConvert, MediaPackage, S3, CloudFront and DynamoDB. Version **v5.0.0**_". If the description does not contain the version information, you can look at the mappings section of the template:

```yaml
Mappings:
SourceCode:
General:
S3Bucket: "solutions"
KeyPrefix: "video-on-demand-on-aws/v5.0.0"
```
- [ ] Region: [e.g. us-east-1]
- [ ] Was the solution modified from the version published on this repository?
- [ ] If the answer to the previous question was yes, are the changes available on GitHub?
- [ ] Have you checked your [service quotas](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) for the sevices this solution uses?
- [ ] Were there any errors in the CloudWatch Logs?
**Screenshots**
If applicable, add screenshots to help explain your problem (please **DO NOT include sensitive information**).
**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this solution
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the feature you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

*Description of changes:*


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
7 changes: 1 addition & 6 deletions .github/workflows/pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ jobs:
TEMPLATE_OUTPUT_BUCKET=mie-dev-us-west-2
./build-s3-dist.sh --no-layer --template-bucket $TEMPLATE_OUTPUT_BUCKET --code-bucket $DIST_OUTPUT_BUCKET --version $VERSION --region $REGION
read -r TEMPLATE < templateUrl.txt
aws cloudformation create-stack --stack-name $MIE_STACK_NAME --template-url $TEMPLATE --region $REGION --parameters ParameterKey=DeployTestResources,ParameterValue=true ParameterKey=MaxConcurrentWorkflows,ParameterValue=10 ParameterKey=DeployAnalyticsPipeline,ParameterValue=true ParameterKey=EnableXrayTrace,ParameterValue=true ParameterKey=SendAnonymousData,ParameterValue=false --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --disable-rollback
- name: Wait for deploy to complete before progressing
uses: jakejarvis/wait-action@master
with:
time: '10m'
aws cloudformation deploy --stack-name $MIE_STACK_NAME --region $REGION --template-file global-s3-assets/media-insights-stack.template --s3-bucket $DIST_OUTPUT_BUCKET-$REGION --s3-prefix aws-media-insights-engine/$VERSION --parameter-overrides DeployTestResources=true MaxConcurrentWorkflows=10 DeployAnalyticsPipeline=true EnableXrayTrace=true --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --force-upload
test-us-west-2:
needs: build-us-west-2
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ jobs:
TEMPLATE_OUTPUT_BUCKET=mie-dev-$REGION
./build-s3-dist.sh --no-layer --template-bucket $TEMPLATE_OUTPUT_BUCKET --code-bucket $DIST_OUTPUT_BUCKET --version $VERSION --region $REGION
read -r TEMPLATE < templateUrl.txt
aws cloudformation create-stack --stack-name $MIE_STACK_NAME --template-url $TEMPLATE --region $REGION --parameters ParameterKey=DeployTestResources,ParameterValue=true ParameterKey=MaxConcurrentWorkflows,ParameterValue=10 ParameterKey=DeployAnalyticsPipeline,ParameterValue=true ParameterKey=EnableXrayTrace,ParameterValue=true ParameterKey=SendAnonymousData,ParameterValue=false --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --disable-rollback
- name: Wait for deploy to complete before progressing
uses: jakejarvis/wait-action@master
with:
time: '10m'
aws cloudformation deploy --stack-name $MIE_STACK_NAME --region $REGION --template-file global-s3-assets/media-insights-stack.template --s3-bucket $DIST_OUTPUT_BUCKET-$REGION --s3-prefix aws-media-insights-engine/$VERSION --parameter-overrides DeployTestResources=true MaxConcurrentWorkflows=10 DeployAnalyticsPipeline=true EnableXrayTrace=true --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --force-upload
build-us-east-1:
needs: create-release-branch
Expand Down Expand Up @@ -88,11 +84,7 @@ jobs:
TEMPLATE_OUTPUT_BUCKET=mie-dev-$REGION
./build-s3-dist.sh --no-layer --template-bucket $TEMPLATE_OUTPUT_BUCKET --code-bucket $DIST_OUTPUT_BUCKET --version $VERSION --region $REGION
read -r TEMPLATE < templateUrl.txt
aws cloudformation create-stack --stack-name $MIE_STACK_NAME --template-url $TEMPLATE --region $REGION --parameters ParameterKey=DeployTestResources,ParameterValue=true ParameterKey=MaxConcurrentWorkflows,ParameterValue=10 ParameterKey=DeployAnalyticsPipeline,ParameterValue=true ParameterKey=EnableXrayTrace,ParameterValue=true ParameterKey=SendAnonymousData,ParameterValue=false --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --disable-rollback
- name: Wait for deploy to complete before progressing
uses: jakejarvis/wait-action@master
with:
time: '10m'
aws cloudformation deploy --stack-name $MIE_STACK_NAME --region $REGION --template-file global-s3-assets/media-insights-stack.template --s3-bucket $DIST_OUTPUT_BUCKET-$REGION --s3-prefix aws-media-insights-engine/$VERSION --parameter-overrides DeployTestResources=true MaxConcurrentWorkflows=10 DeployAnalyticsPipeline=true EnableXrayTrace=true --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --force-upload
test-us-west-2:
needs: build-us-west-2
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/scheduled-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: scheduled-workflow
on:
schedule:
- cron: '0 4 * * *'
workflow_dispatch:

jobs:
build-us-west-2:
Expand All @@ -16,9 +17,9 @@ jobs:
- name: Initialize AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.BUILD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.BUILD_AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
aws-access-key-id: ${{ secrets.BUILD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.BUILD_AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- name: Generate short sha
run: |
Expand All @@ -33,15 +34,15 @@ jobs:
DIST_OUTPUT_BUCKET=mie-dev
TEMPLATE_OUTPUT_BUCKET=mie-dev-us-west-2
./build-s3-dist.sh --no-layer --template-bucket $TEMPLATE_OUTPUT_BUCKET --code-bucket $DIST_OUTPUT_BUCKET --version $VERSION --region $REGION
aws cloudformation deploy --stack-name $MIE_STACK_NAME --template-file global-s3-assets/media-insights-stack.template --s3-bucket $DIST_OUTPUT_BUCKET-$REGION --s3-prefix media_insights_engine/$VERSION --parameter-overrides DeployTestResources=true MaxConcurrentWorkflows=10 DeployAnalyticsPipeline=true EnableXrayTrace=true ParameterKey=SendAnonymousData,ParameterValue=false --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --force-upload
aws cloudformation deploy --stack-name $MIE_STACK_NAME --region $REGION --template-file global-s3-assets/media-insights-stack.template --s3-bucket $DIST_OUTPUT_BUCKET-$REGION --s3-prefix aws-media-insights-engine/$VERSION --parameter-overrides DeployTestResources=true MaxConcurrentWorkflows=10 DeployAnalyticsPipeline=true EnableXrayTrace=true --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --force-upload
- name: Build Failed
if: ${{ failure() }}
uses: nashmaniac/[email protected]
with:
title: Nightly build for $SHORT_SHA Failed
token: ${{secrets.GITHUB_TOKEN}}
assignees: brandold, ianwow, aburkleaux-amazon
assignees: ianwow
labels: bug
body: Nightly build failed for commit ${{github.sha}}

Expand All @@ -61,9 +62,9 @@ jobs:
- name: Initialize AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
aws-access-key-id: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- name: Generate short sha
run: |
Expand All @@ -73,7 +74,7 @@ jobs:
uses: stelligent/cfn_nag@master
continue-on-error: true
with:
input_path: deployment
input_path: deployment

- name: Run unit tests
run: |
Expand All @@ -100,6 +101,6 @@ jobs:
with:
title: Nightly test for $SHORT_SHA Failed
token: ${{secrets.GITHUB_TOKEN}}
assignees: [brandold, ianwow, aburkleaux-amazon]
assignees: ianwow
labels: bug
body: Nightly test failed for commit ${{github.sha}}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ deployment/lambda_layer_factory/lambda_layer-python-*
*~staging*
*~release*
test/unit/.coverage
# these are not checked in to o.g. git project
package-lock.json

scratch/
deployment/build.sh
Expand Down
53 changes: 53 additions & 0 deletions .viperlightignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
.idea
dist
package
deployment/lambda_layer_factory/python
deployment/global-s3-assets/
deployment/regional-s3-assets/
node_modules/
package-lock.json
CODE_OF_CONDUCT.md
CONTRIBUTING.md
docs/assets/images/MIE-architecture-diagram.pptx
.github/workflows/pr-workflow.yml:21
.github/workflows/pr-workflow.yml:22
.github/workflows/release-workflow.yml:28
.github/workflows/release-workflow.yml:45
.github/workflows/release-workflow.yml:46
.github/workflows/scheduled-workflow.yml:19
.github/workflows/scheduled-workflow.yml:20
.github/workflows/scheduled-workflow.yml:21
README.md:195
deployment/media-insights-stack.yaml:311
deployment/media-insights-stack.yaml:322
docs/assets/images/Cognito3-set_password.png
docs/source/theme/smithy/layout.html
docs/source/theme/smithy/static/asciinema-player.js
source/lib/MediaInsightsEngineAPIHelper/setup.py:10
source/lib/MediaInsightsEngineLambdaHelper/setup.py:10
source/lib/MediaInsightsEngineAPIHelper/MediaInsightsEngineAPIHelper/__init__.py:18
source/lib/MediaInsightsEngineAPIHelper/MediaInsightsEngineAPIHelper/__init__.py:19
source/operators/comprehend/entities/start_entity_detection.py:21
source/operators/comprehend/key_phrases/start_key_phrases.py:21
source/operators/operator-library.yaml:93
.chalice/deployments
source/workflowapi/chalicelib/apischema/create_operation_request.json:20
source/workflowapi/chalicelib/apischema/create_operation_response.json:22
source/workflowapi/chalicelib/apischema/create_workflow_response.json:70
test/README.md:41
test/README.md:42
test/e2e/conftest.py:33
test/e2e/conftest.py:34
test/e2e/run_e2e.sh:31
test/e2e/run_e2e.sh:37
test/integ/dataplaneapi/conftest.py:32
test/integ/dataplaneapi/conftest.py:33
test/integ/dataplaneapi/conftest.py:98
test/integ/dataplaneapi/conftest.py:99
test/integ/dataplaneapi/test_dataplane_crud.py:39
test/integ/run_integ.sh:31
test/integ/run_integ.sh:37
test/integ/workflowapi/conftest.py:33
test/integ/workflowapi/conftest.py:34
test/test-media/sample-data.json:1
test/unit/workflowapi/test_workflowapi_app.py:265
4 changes: 4 additions & 0 deletions .viperlightrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"all": true,
"failOn": "medium"
}
Loading

0 comments on commit 6f943f2

Please sign in to comment.