Project

Profile

Help

Task #5062

closed

Task #5069: Build pulp 3 containers

Create pulp_file container images automatically via CI

Added by mdepaulo@redhat.com almost 5 years ago. Updated over 4 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 58
Quarter:

Description

We need to extend the Travis CI so that whenever pulpcore gets built, it builds it from the actual source tree.

It needs to use the source trees for pulpcore-plugin & pulp_file as well, which are always on disk.

Stable builds (like 3.0.0 or 3.0.0rc5) can be handled via our Travis cronjobs or other means. I was told to look at our existing scripts for reference.

It will be up to other plugins which they wish to base on (nightly or stable.)

For pulpcore, .travis/install.sh needs to do the following:
build containers, with pulp_file
deploy k3s
deploy newly build containers / pulp-operator on top of k3s
And .travis/script.sh needs to do the following:
Run the tests, but against the container rather than locally.
(It is OK to drop codecov for now, to get this working.)

Also, it is OK to specify the source tree(s) only via absolute paths on disk, rather than relative paths like "../".

This task includes fixing the issue that when the CI builds an image and stores it in its docker cache, k3s does not use it. (pulp-operator.git has this issue, and now pulpcore.git will.) Multiple workarounds are possible (such as an image registry), but fixing it is preferred.

Also available in: Atom PDF