adoptium / adoptium/infrastructure

Request for more docker image testing prior to upload

Open
#3,184 0 comments 0 reactions 0 assignees View on GitHub
docker
Dominant language
Python
Stars
96
Forks
106
Avg merge
1d 23h
Merged PRs (30d)
13

Description

**Summary**

Based on failures caused by unsuitable docker images being created and stored for use in future builds, I propose that additional testing be performed on docker images that we build prior to upload.

**Details**

As detailed [here](https://github.com/adoptium/infrastructure/issues/3183), our current system is capable of generating images which cannot subsequently be used to build OpenJDK.

I propose we identify testing that can identify problems prior to upload, to avoid this happening in the future. One option is to attempt to build+test OpenJDK in a generated image, with the success of these actions gating the upload. Other options likely exist also. This issue is to cover discussion of the concept, options available, and the eventual implementation.

**Useful Links**

https://ci.adoptium.net/view/Infra/job/centos7_docker_image_updater/
https://github.com/adoptium/infrastructure/issues/3183

Contributor guide

Open the contributing guide

Research direction

Start with the centos7_docker_image_updater Jenkins job and the related issue 3183 to understand how generated images are currently validated and uploaded. Done means agreeing on and implementing a pre-upload test gate that prevents unsuitable images from being stored.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
ci-cd, devops
Issue type
Feature
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.