hashicorp / hashicorp/nomad

e2e: create a local private registry for docker and podman tests

Open
#24,233 0 comments 0 reactions 0 assignees View on GitHub
theme/e2e type/enhancement
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

[24215](https://github.com/hashicorp/nomad/pull/24215) tried introducing new docker e2e tests to make sure we don't cause any auth regressions, but sadly this approach was flawed—we can't change Nomad client configs _before_ creating the registry or auth configs. This has to be done via terraform during the provisioning of the cluster (same for podman), not in the tests themselves.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the approach described in PR 24215 and inspect the repository's Terraform used to provision the e2e cluster. Determine where Docker and Podman clients and authentication configuration are created during provisioning. Done means the provisioning creates a local private registry and auth setup before the e2e tests run for both runtimes.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, terraform
Domain
infrastructure, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.