-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sumughan/session-tags
- Loading branch information
Showing
98 changed files
with
3,384 additions
and
1,719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Apply potential regression label on issues | ||
name: issue-regression-label | ||
on: | ||
issues: | ||
types: [opened, edited] | ||
jobs: | ||
add-regression-label: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Fetch template body | ||
id: check_regression | ||
uses: actions/github-script@v7 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
TEMPLATE_BODY: ${{ github.event.issue.body }} | ||
with: | ||
script: | | ||
const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i; | ||
const template = `${process.env.TEMPLATE_BODY}` | ||
const match = regressionPattern.test(template); | ||
core.setOutput('is_regression', match); | ||
- name: Manage regression label | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
if [ "${{ steps.check_regression.outputs.is_regression }}" == "true" ]; then | ||
gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }} | ||
else | ||
gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }} | ||
fi |
20 changes: 20 additions & 0 deletions
20
.../test/integ.dynamodb-v2.max-request-units.js.snapshot/aws-cdk-global-table-v2.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
117 changes: 117 additions & 0 deletions
117
...est/integ.dynamodb-v2.max-request-units.js.snapshot/aws-cdk-global-table-v2.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
{ | ||
"Resources": { | ||
"GlobalTableV212B4E024": { | ||
"Type": "AWS::DynamoDB::GlobalTable", | ||
"Properties": { | ||
"AttributeDefinitions": [ | ||
{ | ||
"AttributeName": "pk", | ||
"AttributeType": "S" | ||
}, | ||
{ | ||
"AttributeName": "sk", | ||
"AttributeType": "N" | ||
} | ||
], | ||
"BillingMode": "PAY_PER_REQUEST", | ||
"GlobalSecondaryIndexes": [ | ||
{ | ||
"IndexName": "gsi2", | ||
"KeySchema": [ | ||
{ | ||
"AttributeName": "pk", | ||
"KeyType": "HASH" | ||
} | ||
], | ||
"Projection": { | ||
"ProjectionType": "ALL" | ||
}, | ||
"WriteOnDemandThroughputSettings": { | ||
"MaxWriteRequestUnits": 2001 | ||
} | ||
} | ||
], | ||
"KeySchema": [ | ||
{ | ||
"AttributeName": "pk", | ||
"KeyType": "HASH" | ||
}, | ||
{ | ||
"AttributeName": "sk", | ||
"KeyType": "RANGE" | ||
} | ||
], | ||
"Replicas": [ | ||
{ | ||
"GlobalSecondaryIndexes": [ | ||
{ | ||
"IndexName": "gsi2", | ||
"ReadOnDemandThroughputSettings": { | ||
"MaxReadRequestUnits": 2001 | ||
} | ||
} | ||
], | ||
"ReadOnDemandThroughputSettings": { | ||
"MaxReadRequestUnits": 222 | ||
}, | ||
"Region": "us-east-1" | ||
}, | ||
{ | ||
"GlobalSecondaryIndexes": [ | ||
{ | ||
"IndexName": "gsi2", | ||
"ReadOnDemandThroughputSettings": { | ||
"MaxReadRequestUnits": 2001 | ||
} | ||
} | ||
], | ||
"Region": "eu-west-1" | ||
} | ||
], | ||
"StreamSpecification": { | ||
"StreamViewType": "NEW_AND_OLD_IMAGES" | ||
}, | ||
"TableName": "my-global-table-v2", | ||
"WriteOnDemandThroughputSettings": { | ||
"MaxWriteRequestUnits": 10 | ||
} | ||
}, | ||
"UpdateReplacePolicy": "Delete", | ||
"DeletionPolicy": "Delete" | ||
} | ||
}, | ||
"Parameters": { | ||
"BootstrapVersion": { | ||
"Type": "AWS::SSM::Parameter::Value<String>", | ||
"Default": "/cdk-bootstrap/hnb659fds/version", | ||
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]" | ||
} | ||
}, | ||
"Rules": { | ||
"CheckBootstrapVersion": { | ||
"Assertions": [ | ||
{ | ||
"Assert": { | ||
"Fn::Not": [ | ||
{ | ||
"Fn::Contains": [ | ||
[ | ||
"1", | ||
"2", | ||
"3", | ||
"4", | ||
"5" | ||
], | ||
{ | ||
"Ref": "BootstrapVersion" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI." | ||
} | ||
] | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...est-units.js.snapshot/awscdkglobaltableintegv2DefaultTestDeployAssertF1A4FD2A.assets.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...work-integ/test/aws-dynamodb/test/integ.dynamodb-v2.max-request-units.js.snapshot/cdk.out
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
...k-integ/test/aws-dynamodb/test/integ.dynamodb-v2.max-request-units.js.snapshot/integ.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
121 changes: 121 additions & 0 deletions
121
...nteg/test/aws-dynamodb/test/integ.dynamodb-v2.max-request-units.js.snapshot/manifest.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.