@adobe/helix-deploy 12.1.5 → 12.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [12.2.1](https://github.com/adobe/helix-deploy/compare/v12.2.0...v12.2.1) (2024-09-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#743](https://github.com/adobe/helix-deploy/issues/743)) ([af094d5](https://github.com/adobe/helix-deploy/commit/af094d52eec3a56070e74a7f17361cd25d828e61))
7
+
8
+ # [12.2.0](https://github.com/adobe/helix-deploy/compare/v12.1.5...v12.2.0) (2024-09-24)
9
+
10
+
11
+ ### Features
12
+
13
+ * add regional deploy buckets ([#741](https://github.com/adobe/helix-deploy/issues/741)) ([a0510e4](https://github.com/adobe/helix-deploy/commit/a0510e4a2f8bcc9b3c3db8305ded0dbce4feb89f)), closes [#568](https://github.com/adobe/helix-deploy/issues/568)
14
+
1
15
  ## [12.1.5](https://github.com/adobe/helix-deploy/compare/v12.1.4...v12.1.5) (2024-09-21)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "12.1.5",
3
+ "version": "12.2.1",
4
4
  "description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/adobe/helix-deploy#readme",
@@ -39,12 +39,12 @@
39
39
  "dependencies": {
40
40
  "@adobe/fetch": "4.1.9",
41
41
  "@adobe/helix-shared-process-queue": "3.0.4",
42
- "@aws-sdk/client-apigatewayv2": "3.654.0",
43
- "@aws-sdk/client-lambda": "3.656.0",
44
- "@aws-sdk/client-s3": "3.654.0",
45
- "@aws-sdk/client-secrets-manager": "3.654.0",
46
- "@aws-sdk/client-ssm": "3.654.0",
47
- "@aws-sdk/client-sts": "3.654.0",
42
+ "@aws-sdk/client-apigatewayv2": "3.658.1",
43
+ "@aws-sdk/client-lambda": "3.659.0",
44
+ "@aws-sdk/client-s3": "3.658.1",
45
+ "@aws-sdk/client-secrets-manager": "3.658.1",
46
+ "@aws-sdk/client-ssm": "3.658.1",
47
+ "@aws-sdk/client-sts": "3.658.1",
48
48
  "@google-cloud/functions": "3.6.0",
49
49
  "@google-cloud/secret-manager": "5.6.0",
50
50
  "@google-cloud/storage": "7.13.0",
@@ -55,7 +55,7 @@
55
55
  "isomorphic-git": "1.27.1",
56
56
  "openwhisk": "3.21.8",
57
57
  "semver": "7.6.3",
58
- "webpack": "5.94.0",
58
+ "webpack": "5.95.0",
59
59
  "yargs": "17.7.2"
60
60
  },
61
61
  "devDependencies": {
@@ -72,7 +72,7 @@
72
72
  "mocha-junit-reporter": "2.2.1",
73
73
  "mocha-multi-reporters": "1.5.1",
74
74
  "nock": "13.5.5",
75
- "semantic-release": "24.1.1",
75
+ "semantic-release": "24.1.2",
76
76
  "yauzl": "3.1.3"
77
77
  },
78
78
  "engines": {
@@ -244,7 +244,7 @@ export default class AWSConfig {
244
244
  default: false,
245
245
  })
246
246
  .option('aws-deploy-bucket', {
247
- description: 'Name of the deploy S3 bucket to use (default is helix-deploy-bucket-{accountId})',
247
+ description: 'Name of the deploy S3 bucket to use (default is helix-deploy-bucket-{accountId}[-{region}])',
248
248
  type: 'string',
249
249
  default: '',
250
250
  })
@@ -182,6 +182,7 @@ export default class AWSDeployer extends BaseDeployer {
182
182
  const ret = await sts.send(new GetCallerIdentityCommand());
183
183
  this._accountId = ret.Account;
184
184
  this.log.info(chalk`{green ok:} initialized AWS deployer for account {yellow ${ret.Account}}`);
185
+ this._bucket = this._cfg.deployBucket || `helix-deploy-bucket-${this._accountId}${this._cfg.region !== 'us-east-1' ? `-${this._cfg.region}` : ''}`;
185
186
  } finally {
186
187
  sts.destroy();
187
188
  }
@@ -192,7 +193,6 @@ export default class AWSDeployer extends BaseDeployer {
192
193
  const relZip = path.relative(process.cwd(), cfg.zipFile);
193
194
 
194
195
  // ensure upload key is unique
195
- this._bucket = this._cfg.deployBucket || `helix-deploy-bucket-${this._accountId}`;
196
196
  this._key = `${path.basename(relZip)}-${crypto.randomBytes(16).toString('hex')}`;
197
197
  const uploadParams = {
198
198
  Bucket: this._bucket,