@aws-cdk-testing/cli-integ 2.96.2 → 2.97.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.
Files changed (2) hide show
  1. package/README.md +22 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -56,6 +56,28 @@ To run a specific test, add `-t` and a substring of the test name. For example:
56
56
  bin/run-suite -a cli-integ-tests -t 'load old assemblies'
57
57
  ```
58
58
 
59
+ ### Running a test suite against binaries
60
+
61
+ Some test suites require package binaries stages in CodeArtifact repositories to run. This requires you to do a full build, then create a CodeArtifact repository in your own account, uploading the packages there, and then running the tests in a shell configured to have NPM, Pip, Maven etc look for those packages in CodeArtifact.
62
+
63
+ ```shell
64
+ # Build and pack all of CDK (will take ~an hour)
65
+ $ ./build.sh
66
+ $ ./pack.sh
67
+
68
+ # Use publib to upload to CodeArtifact
69
+ $ npm install -g publib-ca
70
+ $ publib-ca create
71
+ $ publib-ca publish /path/to/dist
72
+
73
+ # Run the tests against those repositories (may need to substitute 0.0.0 w/ local number)
74
+ $ source ~/.publib-ca/usage/activate.bash
75
+ $ bin/run-suite --use-cli-release=0.0.0 <SUITE_NAME>
76
+
77
+ # Clean up
78
+ $ publib-ca delete
79
+ ```
80
+
59
81
  ## Tools
60
82
 
61
83
  There are a number of tools in the `bin/` directory. They are:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-cdk-testing/cli-integ",
3
3
  "description": "Integration tests for the AWS CDK CLI",
4
- "version": "2.96.2",
4
+ "version": "2.97.0",
5
5
  "bin": {
6
6
  "run-suite": "bin/run-suite",
7
7
  "download-and-run-old-tests": "bin/download-and-run-old-tests",
@@ -29,21 +29,21 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "devDependencies": {
32
- "@aws-cdk/cdk-build-tools": "2.96.2-alpha.0",
33
- "@types/semver": "^7.5.1",
32
+ "@aws-cdk/cdk-build-tools": "2.97.0-alpha.0",
33
+ "@types/semver": "^7.5.2",
34
34
  "@types/yargs": "^15.0.15",
35
35
  "@types/fs-extra": "^9.0.13",
36
36
  "@types/glob": "^7.2.0",
37
37
  "@types/npm": "^7.19.0",
38
- "@aws-cdk/pkglint": "2.96.2-alpha.0"
38
+ "@aws-cdk/pkglint": "2.97.0-alpha.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "@octokit/rest": "^18.12.0",
42
- "aws-sdk": "^2.1451.0",
42
+ "aws-sdk": "^2.1461.0",
43
43
  "axios": "^0.27.2",
44
44
  "fs-extra": "^9.1.0",
45
45
  "glob": "^7.2.3",
46
- "jest": "^29.6.4",
46
+ "jest": "^29.7.0",
47
47
  "jest-junit": "^14.0.1",
48
48
  "make-runnable": "^1.4.1",
49
49
  "npm": "^8.19.4",