Project

Profile

Help

Task #5069

Build pulp 3 containers

Added by daviddavis over 2 years ago. Updated about 2 years ago.

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

100%

Estimated time:
(Total: 0:00 h)
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Subtasks

Task #5060: Rework 4 existing container images into 1 image with 4 different entrypointsCLOSED - COMPLETEmdepaulo@redhat.com

Actions
Task #5061: Develop a script to launch pulp containers with k3s, for CICLOSED - COMPLETEmdepaulo@redhat.com

Actions
Task #5062: Create pulp_file container images automatically via CICLOSED - COMPLETEmdepaulo@redhat.com

Actions
Task #5116: Handle properly whether to build container images with pulpcore stable or devCLOSED - COMPLETEmdepaulo@redhat.com

Actions
Task #5176: Port pulp containers to Fedora 30CLOSED - COMPLETEmdepaulo@redhat.com

Actions
Task #5219: containers: Replace configMap with better featured custom resourcesCLOSED - COMPLETEmdepaulo@redhat.com

Actions

Related issues

Blocks Pulp - Task #5004: migrate travis plugin-template to installing pulp in containersCLOSED - COMPLETE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 3eec12c9 View on GitHub
Added by Mike DePaulo about 2 years ago

Replace configMaps with better featured K8s Custom Resources

Because ansible operators use them by default, they specifically watch for changes to them, and because the variable names are simpler.

This commit includes:

Making more options configurable

Switching to the stable tag for the "pulp" image It (3.0.0rc4) actually contains drf 3.9.4, and therefore works.

Let users easily define their own Custom Resources

Rename the pulp image "version" to "tag"

Note: Automatic camelCase conversion of CR field names necessitates using snake_case

fixes: #5069 containers: Replace configMap with better featured custom resources https://pulp.plan.io/issues/5219

re: #5116 Handle properly whether to build container images with pulpcore stable or dev https://pulp.plan.io/issues/5116

Revision bfb0d99f View on GitHub
Added by Mike DePaulo about 2 years ago

containers: install pulp-certguard

[noissue]

re: #5069 Create pulpcore and pulp_file container images automatically via CI https://pulp.plan.io/issues/5069

Revision 20e2315b View on GitHub
Added by Mike DePaulo about 2 years ago

Use containers for Travis CI

Fixes: #5004 migrate travis plugin-template to installing pulp in containers https://pulp.plan.io/issues/5004

re: #5069 https://pulp.plan.io/issues/5069 Create pulpcore and pulp_file container images automatically via CI

Implementation includes:

Disabling codecov for the time being.

Only test on Python 3.7 for now, because Fedora 30 has only secondary support for Python 3.6, and it would require multiple changes to test against.

Fix using required PRs for pulp-smash.

Use pulp-smash master branch by default rather than stable release.

Use docker as provided by Travis (rather than k3s containerd).

Generate pulpcore/containers/var/vars.yaml, and build the container image with the plugin & pulp-certguard.

Clone pulp-operator for its scripts to deploy k3s & the operator- managed containers, and run those deployment scripts.

Generate a pulp-operator custom-reource with the settings needed for testing. (It must be generated because it points to the image name like "pulp_rpm" rather than "pulp".)

Use sudo kubectl exec as a method for running commands in the pulp-api container, $CMD_PREFIX .

Use $CMD_PREFIX to run the unit tests.

Install packages needed only for testing in the pulp-api container as it runs.

script.sh: Wait for the content app to become online.

Move as much of the show_logs_and_return_non-zero logic to travis.yml after_failure

Make func_test_script.sh able to use show_logs_and_return_non_zero

Add some pulp_rpm specific debug to show_logs_and_return_non_zero

Add more after_failure lines, misc cleanup &, formatting fixes.

Delete the old CI ansible-pulp playbooks.

Accomodate pulp_rpm needing pulp-smash-config.json, but the pulpcore PR is not ready yet.

Problem: CONTENT_HOST not set when deploying pulp-api Solution: add content_host to the CR used by pulp-operator re: #5138 https://pulp.plan.io/issues/5138

Revision 8a368e86 View on GitHub
Added by Mike DePaulo about 2 years ago

Use containers for CI

re: #5004 migrate travis plugin-template to installing pulp in containers https://pulp.plan.io/issues/5004

re: #5069 https://pulp.plan.io/issues/5069 Create pulpcore and pulp_file container images automatically via CI

Implementation includes: Based off of new plugin-template Fixing pulp_file functional test failures by settting PYTHONPATH Fix missing deps from doc_requirements.txt Updating pulp-smash-config.json for the password and kubectl.

[noissue]

History

#1 Updated by daviddavis over 2 years ago

  • Blocks Task #5004: migrate travis plugin-template to installing pulp in containers added

#2 Updated by mdepaulo@redhat.com about 2 years ago

  • Status changed from NEW to 5

#3 Updated by mdepaulo@redhat.com about 2 years ago

  • Status changed from 5 to CLOSED - COMPLETE
  • Assignee set to mdepaulo@redhat.com

Please register to edit this issue

Also available in: Atom PDF