https://github.com/iliapolo/aws-cdk-issue12536
Reproduction and testing playground for AWS CDK Issue 12536 (Asset Corruption)
https://github.com/iliapolo/aws-cdk-issue12536
Last synced: 21 days ago
JSON representation
Reproduction and testing playground for AWS CDK Issue 12536 (Asset Corruption)
- Host: GitHub
- URL: https://github.com/iliapolo/aws-cdk-issue12536
- Owner: iliapolo
- Created: 2021-02-07T11:21:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-07T13:21:57.000Z (over 4 years ago)
- Last Synced: 2025-02-23T09:43:34.082Z (8 months ago)
- Language: Shell
- Size: 66.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS CDK Issue 12536 - Asset Corruption
This is a repository for reproducing and testing various permutations related to [Issue 12536](https://github.com/iliapolo/aws-cdk-issue12536)
## Prerequisites
- The AWS CLI must be available in the `PATH` under the `aws` command, and configured with the appropriate region.
- Mac OR Linux (Not windows).## Usage
The repository includes a simple pre-defined [stack](./lib/asset-corruption-stack.ts) to verify proper functionality.
You can replace it with your own stack if needed.1. `git clone https://github.com/iliapolo/aws-cdk-issue12536.git`
2. `cd aws-cdk-issue12536 && ./run.sh`The `run.sh` script will take care of all necessary cache clearance and will destroy the stack in the end. You can simply re-run it as many times you like with different configurations. The following envrionment variables are available to control versions of the relevant components:
- `NODE_VERSION` (Default 15.6.0)
- `CDK_VERSION` (Default 1.88.0)
- `CRC32_STREAM_VERSION` (Default 4.0.2)
- `ARCHIVER_VERSION` (Default 5.2.0)All these components, including `NodeJS` itself and `yarn`, are installed and used locally. (Under `./.node-versions` and `./node_modules`)
### Permutations
- Working: `crc32-stream` **>=** `4.0.2` **OR** Node **<=** `15.5.0`
- Non working: `crc32-stream` **<** `4.0.2` **AND** Node **>** `15.5.0`