-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.2.0 ImagePuller as aceptadora.New() param
Instead of instantiating ImagePuller for each aceptadora, we now can reuse a global one (for the test suite). This will avoid pulling same image for each test where a new aceptadora is created every time. We need this as docker repository is now imposing rate limit and introducing latency on docker pulls, and we're seeing times of up to 2.5s to just check that we have the latest image. This is a breaking change.
- Loading branch information
Showing
5 changed files
with
18 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# Specific config for acceptance tester | ||
# This domain is skipped as it's used for images built locally | ||
ACCEPTANCE_ACEPTADORA_IMAGEPULLER_REPO_0_DOMAIN=cabify.local | ||
ACCEPTANCE_ACEPTADORA_IMAGEPULLER_REPO_0_SKIPPULLING=true | ||
ACCEPTANCE_IMAGEPULLER_REPO_0_DOMAIN=company.local | ||
ACCEPTANCE_IMAGEPULLER_REPO_0_SKIPPULLING=true | ||
|
||
# Don't pull gitlab otherwise we need credentials | ||
# Pull the images manually for the test please | ||
ACCEPTANCE_ACEPTADORA_IMAGEPULLER_REPO_1_DOMAIN=gitlab.com | ||
ACCEPTANCE_ACEPTADORA_IMAGEPULLER_REPO_1_SKIPPULLING=true | ||
ACCEPTANCE_IMAGEPULLER_REPO_1_DOMAIN=gitlab.com | ||
ACCEPTANCE_IMAGEPULLER_REPO_1_SKIPPULLING=true | ||
|
||
# ACCEPTANCE_SERVICESADDRESS tells our acceptance suite where the running services are binding their ports | ||
ACCEPTANCE_SERVICESADDRESS=127.0.0.1 |
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