Project

Profile

Help

Task #5069

closed

Build pulp 3 containers

Added by daviddavis 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:
(Total: 0:00 h)
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Sub-issues 6 (0 open6 closed)

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 - COMPLETEmdepaulo@redhat.com

Actions
Actions #1

Updated by daviddavis almost 5 years ago

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

Added by Mike DePaulo over 4 years ago

Revision 3eec12c9 | View on GitHub

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

Added by Mike DePaulo over 4 years ago

Revision bfb0d99f | View on GitHub

containers: install pulp-certguard

[noissue]

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

Added by Mike DePaulo over 4 years ago

Revision 20e2315b | View on GitHub

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

Added by Mike DePaulo over 4 years ago

Revision 8a368e86 | View on GitHub

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]

Actions #2

Updated by mdepaulo@redhat.com over 4 years ago

  • Status changed from NEW to 5
Actions #3

Updated by mdepaulo@redhat.com over 4 years ago

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

Also available in: Atom PDF