[FOLIO-2845] update FOLIO ansible to use Okapi registries feature Created: 20/Oct/20  Updated: 30/Oct/20  Resolved: 30/Oct/20

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: P2
Reporter: Jakub Skoczen Assignee: Wayne Schneider
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
blocks FOLIO-2820 SPIKE: Docker Hub download rate limiting Closed
is blocked by OKAPI-934 Update okapi.sh launch script to supp... Closed
Sprint: DevOps: Sprint 100
Development Team: FOLIO DevOps

 Comments   
Comment by Wayne Schneider [ 28/Oct/20 ]

Three efforts involved here:

  1. Create a Docker Hub proxy in Nexus that uses the FOLIO authenticated docker.io user to pull images (John Malconian set this up, seems to be working). Repository address is https://docker.ci.folio.org. Nexus user credentials stored in FOLIO AWS Secrets Manager.
  2. Update the okapi.sh script in the Okapi deb distribution to support managing the dockerRegistries property from the configuration file. In progress ( OKAPI-934 Closed )
  3. Update folio-ansible to allow setting the dockerRegistries property in the configuration file.
Comment by Wayne Schneider [ 30/Oct/20 ]

Updates made to folio-ansible and folio-infrastructure. Main changes:

  • Create okapi_docker_registries Ansible variable to hold dockerRegistries list structure
  • Add support for DOCKER_REGISTRIES environment variable to override Ansible variable and avoid committing password in GitHub repos
  • Add okapi-docker-registries-pull-json secret in Jenkins to hold dockerRegistries list
  • Add DOCKER_REGISTRIES environment variable to Jenkinsfiles for reference build
Generated at Thu Feb 08 23:23:40 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.