@adobe/helix-deploy 12.1.4 → 12.2.0
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 +14 -0
- package/package.json +3 -3
- package/src/deploy/AWSConfig.js +1 -1
- package/src/deploy/AWSDeployer.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [12.2.0](https://github.com/adobe/helix-deploy/compare/v12.1.5...v12.2.0) (2024-09-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 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)
|
|
7
|
+
|
|
8
|
+
## [12.1.5](https://github.com/adobe/helix-deploy/compare/v12.1.4...v12.1.5) (2024-09-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update adobe fixes ([#740](https://github.com/adobe/helix-deploy/issues/740)) ([1ec3281](https://github.com/adobe/helix-deploy/commit/1ec3281621d0ddcb1a609e85c7a830f493371b3a))
|
|
14
|
+
|
|
1
15
|
## [12.1.4](https://github.com/adobe/helix-deploy/compare/v12.1.3...v12.1.4) (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.
|
|
3
|
+
"version": "12.2.0",
|
|
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",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@adobe/helix-universal": ">=4.1.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@adobe/fetch": "4.1.
|
|
40
|
+
"@adobe/fetch": "4.1.9",
|
|
41
41
|
"@adobe/helix-shared-process-queue": "3.0.4",
|
|
42
42
|
"@aws-sdk/client-apigatewayv2": "3.654.0",
|
|
43
43
|
"@aws-sdk/client-lambda": "3.656.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@adobe/eslint-config-helix": "2.0.7",
|
|
63
63
|
"@adobe/helix-shared-wrap": "2.0.2",
|
|
64
|
-
"@adobe/helix-status": "10.1.
|
|
64
|
+
"@adobe/helix-status": "10.1.3",
|
|
65
65
|
"@semantic-release/changelog": "6.0.3",
|
|
66
66
|
"@semantic-release/git": "10.0.1",
|
|
67
67
|
"c8": "10.1.2",
|
package/src/deploy/AWSConfig.js
CHANGED
|
@@ -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,
|