Skip to content

Commit f6869f1

Browse files
committed
Release v1.5.4
1 parent f60fc6b commit f6869f1

35 files changed

+3715
-7185
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/deps.json

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/files.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// SPDX-License-Identifier: Apache-2.0
44
import { readFileSync } from "node:fs";
5-
import { awscdk } from "projen";
5+
import { awscdk, YamlFile } from "projen";
66
import { JestReporter, NodePackageManager, Transform, UpdateSnapshot } from "projen/lib/javascript";
77

88
const cdkVersion = "2.102.0";
9+
const solutionVersion = "1.5.4";
910
const solutionId = "SO0030";
1011
const solutionName = "instance-scheduler-on-aws";
1112

@@ -175,6 +176,19 @@ const project = new awscdk.AwsCdkTypeScriptApp({
175176
],
176177
});
177178

179+
new YamlFile(project, "solution-manifest.yaml", {
180+
obj: {
181+
id: solutionId,
182+
name: solutionName,
183+
version: solutionVersion,
184+
cloudformation_templates: [
185+
{ template: "instance-scheduler-on-aws.template", main_template: true },
186+
{ template: "instance-scheduler-on-aws-remote.template" },
187+
],
188+
build_environment: { build_image: "aws/codebuild/standard:7.0" },
189+
},
190+
});
191+
178192
project.addTask("e2e-tests", { exec: "jest --config source/pipeline/jest.config.ts", receiveArgs: true });
179193

180194
const prettierTask = project.addTask("test:prettier", { exec: "npx prettier --check ./**/*.ts" });
@@ -229,6 +243,6 @@ project.jest?.addTestMatch("**/*.test.ts");
229243
// use default snapshot resolution
230244
project.tryFindObjectFile("jest.config.json")?.addOverride("snapshotResolver", undefined);
231245

232-
project.tryFindObjectFile("package.json")?.addOverride("version", "1.5.3");
246+
project.tryFindObjectFile("package.json")?.addOverride("version", solutionVersion);
233247

234248
project.synth();

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [1.5.4] -- 2024-02-29
8+
9+
### Security
10+
11+
- Upgrade cryptography to mitigate CVE-2024-26130, CVE-2023-50782, CVE-2024-0727, CVE-2023-49083
12+
- Upgrade Jinja to mitigate CVE-2024-22195
13+
- Upgrade Werkzeug to mitigate CVE-2023-46136
14+
- Upgrade IP to mitigate CVE-2023-42282
15+
- Remove ecdsa to mitigate CVE-2024-23342
16+
717
## [1.5.3] - 2023-10-22
818

919
### Security

NOTICE.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,19 @@ source-map-support under the MIT License
2828

2929
attrs under the MIT License
3030
aws-lambda-powertools under the MIT License
31+
awscli under the Apache License 2.0
3132
boto3 under the Apache License 2.0
3233
botocore under the Apache License 2.0
3334
certifi under the Mozilla Public License 2.0
3435
charset-normalizer under the MIT License
36+
colorama under the BSD 3-Clause "New" or "Revised" License
37+
docutils under the BSD 2-Clause License, BSD 3-Clause License, GNU General Public License (GPL), Python Software Foundation License, Public Domain (public domain, Python, 2-Clause BSD, GPL 3)
3538
filelock under the The Unlicense
3639
idna under the BSD 3-Clause "New" or "Revised" License
3740
iniconfig under the MIT License
3841
jmespath under the MIT License
3942
pluggy under the MIT License
43+
pyasn1 under the BSD 2-Clause License
4044
pytest under the MIT License
4145
python-dateutil under the Apache License 2.0 and the BSD 3-Clause "New" or "Revised" License
4246
pytz under the MIT License

deployment/run-unit-tests.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
# SPDX-License-Identifier: Apache-2.0
4+
[[ $DEBUG ]] && set -x
5+
set -eou pipefail
6+
7+
main() {
8+
echo "Review README.md for instructions to run tests locally"
9+
exit 1
10+
}
11+
12+
main "$@"

0 commit comments

Comments
 (0)