letsencrypt / letsencrypt/boulder

Potential improvements to docker-compose integration test setup

Open
#8,215 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
5.8k
Forks
649
Avg merge
3d 23h
Merged PRs (30d)
24

Description

Using this bug as a holding pen for ideas on how to simplify and improve our docker-compose setup, especially with an eye towards making it more "realistic":

  • Get rid of publicnet2, and just let challtestsrv bind multiple different IPs under the publicnet subnet
  • Same for the tests in v2_integration.py that stand up their own servers
  • Remove all static IPs from redis services once we no longer need ShardAddrs
  • Collapse the four redis services back into just one with the replicas or scale attribute
  • Build separate "boulder" and "bouldertest" containers, with the former holding only the boulder binary and startservers, and the latter holding all our test tools (chisel, the linter, challtestsrv, s3-test-srv, akamai-test-srv, etc). Run them as separate services so that nothing has to be able to reach the Boulder container except to talk to the WFE/SFE.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the docker-compose integration test setup and the tests in v2_integration.py, then map the publicnet, Redis, Boulder, and test-tool services described in the issue. This issue is a holding pen for several possible changes; done would require agreeing on a narrower scope and confirming the resulting test setup remains functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose
Domain
devops, testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.