14 Commits

Author SHA1 Message Date
Mariusz Nowak
79b5b5e8a9 test(Packaging): Fix npm v8 compatibility 2021-11-17 15:34:33 +01:00
Mariusz Nowak
fcc9a93cdb test(Packaging): Improve test error reporting
When error happens on set comparision, no difference is shown. Switch to compare arrays
2021-11-17 15:34:33 +01:00
Mariusz Nowak
81ddcf8ecb test: Upgrade from deprecated forms when not testing them intentionally 2021-06-21 17:31:50 +02:00
Mariusz Nowak
30b6fd9bbc test(Packaging): Replace execSync with child-process-ext/spawn 2021-04-16 13:32:13 +02:00
Mariusz Nowak
b85b074f6e test(Packaging): Replace echo command with fs.appendFile 2021-04-16 13:32:13 +02:00
Mariusz Nowak
b301ac1ed0 test(Packaging): Switch to async fse.copy 2021-04-16 13:32:13 +02:00
Mariusz Nowak
ebb44fc0a1 test(Packaging): Refactor to async/await 2021-04-16 13:32:13 +02:00
Mariusz Nowak
059c981250 test: Update integration fixtures to not rely on deprecated features 2021-03-01 22:42:15 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Mariusz Nowak
5851bcadcf
fix(AWS Lambda): Revert inclusion of version hashi in env var (#8332)
This reverts commit 73c34b9f2bbe3b7c063a257a5b032b7460f263c0.

We need to revert it, as it'll break lambdas intended to back cloudFront distributions
2020-10-02 12:06:27 +02:00
Brent Jackson
73c34b9f2b
fix(AWS Lambda): Ensure version hash is in all cases effective (#8310)
In some instances the version hash may change due to a change involving
CloudFormation instrisic functions, but upon resolving the functions, the
resulting lambda configuration is identical to what is currently
deployed. This causes the Lambda::Version to fail to publish since AWS
sees the lambdas as identical.

This commit embeds an environment variable onto each lambda function with
the value of the version config hash, ensuring that anytime the config
hash changes, the resulting lambda configuration will be changed,
allowing a Lambda::Version to be published.
2020-10-01 18:20:08 +02:00
Mariusz Nowak
74634c3317 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
6e84563551 test: Rename module to match conventions 2020-09-09 11:17:21 +02:00
Mariusz Nowak
14b4e92ba7 test: Improve test folder naming 2020-09-09 11:17:21 +02:00