-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
load-test: windows images should still be built in each test
Signed-off-by: Wesley Pettit <[email protected]>
- Loading branch information
1 parent
69366b1
commit eab0650
Showing
10 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
## S3 Validator Image | ||
|
||
The S3 Validator image exists in our account as: | ||
The S3 Validator image exists in our account for linux as: | ||
|
||
``` | ||
906394416424.dkr.ecr.us-west-2.amazonaws.com/s3-integ-validator:arm64 | ||
906394416424.dkr.ecr.us-west-2.amazonaws.com/s3-integ-validator:x86_64 | ||
906394416424.dkr.ecr.us-west-2.amazonaws.com/s3-integ-validator-windows:x86_64 | ||
``` | ||
|
||
If we need to perform a change or dependency update, build the image and push it to the account with that name. | ||
|
||
The base image URI is set as an env var `S3_INTEG_VALIDATOR_IMAGE` in: | ||
- Linux: buildspec_integ.yml | ||
- Windows: run-integ.ps1 | ||
|
||
The tag is the value of `${ARCHITECTURE}` | ||
|
||
The env var is used in the `docker-compose.validate-and-clean.yml` files for firehose, kinesis, and S3 tests. | ||
|
||
Storing the images in the account is more efficient than re-building them for each integration test execution. It ensures builds can not be blocked by external dependencies like pypi or go. | ||
|
||
For windows, we currently still build the images locally. This is partly because for windows, the base image changes with every monthly patch tuesday. The current windows base image is the largest part of the image, and is present on the AMI. Therefore, building it locally each test run can use that base without a large download. In addition, windows requires separate images for server version 2022 vs 2019 (and others if we support them in the future). The images are built in `run-integ.ps1`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
## CW Validator Image | ||
|
||
The CW Validator image exists in our account as: | ||
The CW Validator image exists in our account for linux as: | ||
|
||
``` | ||
906394416424.dkr.ecr.us-west-2.amazonaws.com/cw-integ-validator:arm64 | ||
906394416424.dkr.ecr.us-west-2.amazonaws.com/cw-integ-validator:x86_64 | ||
906394416424.dkr.ecr.us-west-2.amazonaws.com/cw-integ-validator-windows:x86_64 | ||
``` | ||
|
||
If we need to perform a change or dependency update, build the image and push it to the account with that name. | ||
|
||
The base image URI is set as an env var `CW_INTEG_VALIDATOR_IMAGE` in: | ||
- Linux: buildspec_integ.yml | ||
- Windows: run-integ.ps1 | ||
|
||
The tag is the value of `${ARCHITECTURE}` | ||
|
||
The env var is used in the `docker-compose.validate-and-clean.yml` files for firehose, kinesis, and S3 tests. | ||
The env var is used in the `docker-compose.validate.yml` files for firehose, kinesis, and S3 tests. | ||
|
||
Storing the images in the account is more efficient than re-building them for each integration test execution. It ensures builds can not be blocked by external dependencies like pypi or go. | ||
|
||
For windows, we currently still build the images locally. This is partly because for windows, the base image changes with every monthly patch tuesday. The current windows base image is the largest part of the image, and is present on the AMI. Therefore, building it locally each test run can use that base without a large download. In addition, windows requires separate images for server version 2022 vs 2019 (and others if we support them in the future). The images are built in `run-integ.ps1`. |