[FOLIO-2860] Add support for authenticated docker pull outside Okapi in folio-ansible Created: 03/Nov/20 Updated: 17/Nov/20 Resolved: 17/Nov/20 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Wayne Schneider | Assignee: | Wayne Schneider |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | DevOps: Sprint 101, DevOps: Sprint 102 | ||||||||
| Development Team: | FOLIO DevOps | ||||||||
| Description |
|
A few other roles require docker pull and need authentication support:
|
| Comments |
| Comment by Wayne Schneider [ 03/Nov/20 ] |
|
Initial investigation suggests that we are not really running into an issue in Vagrant/reference builds with this yet. |
| Comment by Jakub Skoczen [ 05/Nov/20 ] |
|
Dropping priority based on Wayne's comment that we are within the rate limit for now. |
| Comment by Wayne Schneider [ 17/Nov/20 ] |
|
Added support for new variable in docker-engine role: docker_image_repo. If defined, docker-engine role will log in to the repo as the last task in the role, creating the configuration file used by any other roles that need to pull Docker images. For packer builds, the config file is removed as part of the vagrant-tidy role. Updated reference builds to set this variable for both packer and EC2 builds. |