From 476acb6f54488152146f637efae0f11d60377a1d Mon Sep 17 00:00:00 2001 From: Marnix Dessing Date: Tue, 2 Jan 2024 16:32:58 +0100 Subject: [PATCH 1/3] feat: upgrade linux alpine image --- src/Configuration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Configuration.ts b/src/Configuration.ts index 745449c..a1bda0a 100644 --- a/src/Configuration.ts +++ b/src/Configuration.ts @@ -71,7 +71,7 @@ export const configurations: { [key: string]: Configuration } = { branchName: 'acceptance', yiviVersionNumber: 'v0.15.1', yiviVersionChecksum: '27182cc8203234eca14b60fe488c1157fce0d1385410a83216436418d5b03a52', - alpineLinuxVersion: '3.18.3', + alpineLinuxVersion: '3.19.0', codeStarConnectionArn: Statics.codeStarConnectionArn, deployFromEnvironment: Statics.deploymentEnvironment, deployToEnvironment: Statics.acceptanceEnvironment, @@ -86,7 +86,7 @@ export const configurations: { [key: string]: Configuration } = { branchName: 'main', yiviVersionNumber: 'v0.15.1', yiviVersionChecksum: '27182cc8203234eca14b60fe488c1157fce0d1385410a83216436418d5b03a52', - alpineLinuxVersion: '3.18.3', + alpineLinuxVersion: '3.19.0', codeStarConnectionArn: Statics.codeStarConnectionArn, deployFromEnvironment: Statics.deploymentEnvironment, deployToEnvironment: Statics.productionEnvironment, From 2dbcc2747cd764095b122c17eec8a551a75204a6 Mon Sep 17 00:00:00 2001 From: Marnix Dessing Date: Tue, 2 Jan 2024 16:42:40 +0100 Subject: [PATCH 2/3] feat: added log configuration for init task --- src/constructs/EcsFargateService.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/constructs/EcsFargateService.ts b/src/constructs/EcsFargateService.ts index a050991..a1746b9 100644 --- a/src/constructs/EcsFargateService.ts +++ b/src/constructs/EcsFargateService.ts @@ -158,6 +158,9 @@ export class EcsFargateService extends Construct { command: ['chmod 0777 /storage'], // TODO check proper restriction readonlyRootFilesystem: true, essential: false, // exit after running + logging: ecs.LogDriver.awsLogs({ + streamPrefix: 'init', + }), }); initContainer.addMountPoints({ containerPath: '/storage', From e3b122ea9543ea612a7678cde1cdc026b4b447bf Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 3 Jan 2024 00:10:04 +0000 Subject: [PATCH 3/3] chore(deps): upgrade dependencies Upgrades project dependencies. See details in [workflow run]. [Workflow Run]: https://github.com/GemeenteNijmegen/yivi-issue-server/actions/runs/7391831968 ------ *Automatically created by projen via the "upgrade-acceptance" workflow* Signed-off-by: github-actions --- package.json | 2 +- yarn.lock | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2e0bb40..6a04f25 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "dependencies": { "@gemeentenijmegen/aws-constructs": "^0.0.4", "aws-cdk-lib": "^2.1.0", - "cdk-nag": "^2.27.227", + "cdk-nag": "^2.27.228", "cdk-remote-stack": "^2.0.101", "constructs": "^10.0.5" }, diff --git a/yarn.lock b/yarn.lock index 4b21b7a..df79941 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1769,10 +1769,10 @@ case@1.6.3, case@^1.6.3: resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== -cdk-nag@^2.27.227: - version "2.27.227" - resolved "https://registry.yarnpkg.com/cdk-nag/-/cdk-nag-2.27.227.tgz#461af0fdbc98ad41f2d78729d673b969330d8b9b" - integrity sha512-F2m9Qh4ePL3sqajUUnhLnJ3GySv1lp3EoR3MfYiF4Mr/Uju1/W0EC0K4Ns+ArPL6hY+srYP845bjDR0kYnJ6Og== +cdk-nag@^2.27.228: + version "2.27.228" + resolved "https://registry.yarnpkg.com/cdk-nag/-/cdk-nag-2.27.228.tgz#7efb09890b66d0218157be27c80657f866209458" + integrity sha512-NJRhVKhorlBU6nwjYakrCdDOl0IurOyu3+g1kNxui0xaFcRD0VS3DlQxZK7Qt1E+R/MbDdd7QbRxl7r+IsNYHQ== cdk-remote-stack@^2.0.101: version "2.0.101" @@ -2333,9 +2333,9 @@ eastasianwidth@^0.2.0: integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== electron-to-chromium@^1.4.601: - version "1.4.616" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz#4bddbc2c76e1e9dbf449ecd5da3d8119826ea4fb" - integrity sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg== + version "1.4.617" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.617.tgz#3b0dde6c54e5f0f26db75ce6c6ae751e5df4bf75" + integrity sha512-sYNE3QxcDS4ANW1k4S/wWYMXjCVcFSOX3Bg8jpuMFaXt/x8JCmp0R1Xe1ZXDX4WXnSRBf+GJ/3eGWicUuQq5cg== emittery@^0.13.1: version "0.13.1"