Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): 1.59.0 #9727

Merged
merged 26 commits into from
Aug 14, 2020
Merged

chore(release): 1.59.0 #9727

merged 26 commits into from
Aug 14, 2020

Conversation

aws-cdk-automation
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation commented Aug 14, 2020

See CHANGELOG

njlynch and others added 26 commits August 12, 2020 18:08
Changed the ID for the CfnDistribution to support escape hatches
(`dist.node.defaultChild`).

fixes #9620

BREAKING CHANGE: (cloudfront) Changed IDs for Distributions (will cause resource replacement).


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
CodeBuild has added support for running builds on machines with GPU drivers.
This required some changes to the protocol between `IBuildImage` and `Project`,
as those images are hosted in a public ECR repository that the image must grant the Project's Role access to.
Introduced a `bind()` method to `IBuildImage` -
to maintain backwards comaptibility,
made it optional.

Fixes #8408 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 8.0.0 to 8.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
… http version and IPv6 (#9635)

Adding support for most of the missing attributes for `DistributionProps`,
including HttpVersion, Logging, Geo restrictions, and WAF ACLs.
The only missing property now is "aliases", which needs some design work
alongside the certificate usage.

I also added two integ tests for `Distribution`, as previously all integ tests
were only in the `aws-cloudfront-origins` module.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
As it turns out, our secret scan was flagging the 'account'
part of the mapping generated for the AWS Deep Learning Containers image repositories.
Turn them into 'repositoryAccount' instead to silence the scanner.

Also, actually enable the scanner to run correctly for PR builds as well.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
> NOTE: This is a reduced version of #8788, which is the full
CloudFormation-init support. This has been reduced down to only support
instances (not ASGs), and to only support the InitCommand and InitService init
elements, rather than the full set. This is to reduce the PR size and encourage
a more thorough review. A follow-up review will add the remainder of the
elements and auto-scaling group support.

Add CloudFormation-init support.

The CloudFormation-init metadata is encapsulated in a CloudFormationInit object,
and using it automatically renders the UserData to apply it and send a signal to
the appropriate CloudFormation resource and adds the permissions required to use
cfn-init, cfn-signal and any S3 files/assets to the instance role.

On an Instance, using CloudFormation-init automatically adds a ResourceSignal
with a default timeout to the instance.

Note this currently also includes the same changes as #9063, as this relies on it. #9063 can be independently shipped.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
… a target (#9593)

This is to fix the issue I created yesterday #9561 - mostly to get the CI running and see if the test pass already. The whole issue is described in #9561.

Fixes #9561

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This will ensure they remain legible even on a dark backrgound, as for
example where they are used as the icon image for NuGet packages within
a dark mode IDE window.

Fixes #9577


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Suspicious changes:

* IoT: **AWS::IoT::ProvisioningTemplate.Tags** used to be specified as a `List<ItemType=Json>`. They now moved that same broken definition into changed to a `Tags` property type.

It's still incorrect but in a different place. Updating the patch to match new the location of the broken definition.

* ECS: a number of `Options` types used to be defined as `Map<String>`, but are now typed as `Options` which is itself a property typed defined with 0 properties. This leads us to drop all properties added there on the floor (because they're all not part of the schema). See: #9676
…9543)

----
Closes #4994

Cfn-Include can now be passed a mapping of parameters and their values. Specified parameters will have all references to them replaced with the passed value at build time, and their definitions will be removed from the template. Unspecified parameters and references to them will not be modified. 

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…ketKey a Token (#9575)

We use bucketKey to differentiate between multiple source actions
that observe the same bucket using trigger=Events.
However, we can't do that if bucketKey is a lazy value,
as Tokens can't be used as parts of identifier for the created Event.
So, check for that case explicitly.

Fixes #9554

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Introduce a `KubernetesResourceAttribute` construct that executes `kubectl get` commands to fetch runtime information on kubernetes resources.

Resolves #8394 

BREAKING CHANGE: `cluster.addResource` was renamed to `cluster.addManifest` and `KubernetesResource` was renamed to `KubernetesManifest`

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…cript init templates (#9692)

updating the package.json templates in JavaScript and TypeScript
templates with the versions in our repo.

ran the integ init template scripts for TypeScript and JavaScript
templates successfully.


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
closes #9693


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
I noticed the most recent update/port of the guidelines contained several formatting errors, mostly around lists.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----
Closes #8301
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…roup (#9391)

fixes #9285


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…#9707)

we bumped up @types/jest in this module to `^26.0.4` but the `jest` version is not aligned
recent change made to init templates in #9692 errors on dev dependencies not being met.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
…9722)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
This PR specifies an implementation for a CloudWatch Canary. It will be implemented in milestones specified below. 

Closes #7687.

Currently, this PR implements up to **Milestone 2**. 

**Milestone 1**: This implementation allows customers to specify a canary with these properties: 

- [x]   `artifactBucket: IBucket`
- [x]   `role: IRole`
- [x]   `timeToLive: Duration`
- [x]   `schedule: Schedule`
- [x]   `startAfterCreation: boolean`
- [x]   `successRetentionPeriod: Duration`
- [x]   `failureRetentionPeriod: Duration`
- [x]   `canaryName: string`

And: 
- [x] generate `name` for users if not specified
- [x] metric methods that reference those emitted by CloudWatch

**Milestone 2**: This is the next step needed to allow customers to specify their own canary scripts:

- [x] `test:Test`
    - [x] `Test` class with static method `Test.custom()`
    - [x] `Code` class with static method `Code.inline()`
- [x] `Code.fromAsset()`
    - [x] validate correct folder structure for assets `nodejs/node_modules`
    - [x] validate correct file name
- [x] `Code.fromBucket()`

**Milestone 3**: These are features that make a more robust Canary API:

- [ ] static method `Test.apiEndpoint()`
- [ ] additional static method templates for `Test`
- [ ] support runConfig properties - `memorySize` and `timeout`

[README Rendered version](https://github.com/aws/aws-cdk/blob/feca976ed2dbd0dc1e2416210cc967fa53a4309a/packages/%40aws-cdk/aws-synthetics/README.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
@aws-cdk-automation aws-cdk-automation added the pr/no-squash This PR should be merged instead of squash-merging it label Aug 14, 2020
@aws-cdk-automation
Copy link
Collaborator Author

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: f754ead
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Aug 14, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically without squashing (do not update manually, and be sure to allow changes to be pushed to your fork).

@NetaNir NetaNir merged commit 1d082f4 into release Aug 14, 2020
@NetaNir NetaNir deleted the bump/1.59.0 branch August 14, 2020 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-squash This PR should be merged instead of squash-merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.