Project

Profile

Help

Task #5873

closed

update pulpcore and pulp_file functional tests to use a configurable hostname+prefix for fixtures

Added by dkliban@redhat.com about 5 years ago. Updated almost 5 years ago.

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

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:

Description

Pulp-smash config needs to accept a 'fixtures_origin' setting. This should default to 'https://repos.fedorapeople.org/repos/pulp/pulp/fixtures/'.

All the functional tests in pulpcore and pulp_file need to be updated to use 'fixtures_origin' config when constructing URLs for File Remotes to sync from.

The Travis scripts for pulpcore and pulp_file need to set the 'fixtures_origin' setting to 'http://localhost/' before running the functional tests.


Related issues

Related to File Support - Task #5872: Generate pulp_file fixtures on Travis and serve using nginxCLOSED - CURRENTRELEASEfao89

Actions
Related to Pulp - Task #5913: Make the option to generate fixtures locally available for all plugins CLOSED - COMPLETEdaviddavis

Actions
Actions #1

Updated by daviddavis about 5 years ago

I would probably make this configurable and not hard coded. For example, I've been thinking of spinning up a fixtures container/vm that's not local (ie external to my dev env) to serve fixtures so I don't have to keep generating the fixtures.

ETA: This could be set in the pulp-smash config as an option: https://github.com/pulp/pulpcore/blob/master/.travis/pulp-smash-config.json

Actions #2

Updated by dkliban@redhat.com about 5 years ago

  • Subject changed from update pulpcore and pulp_file tests to use fixtures hosted locally to update pulpcore and pulp_file functional tests to use a configurable hostname+prefix for fixtures
  • Description updated (diff)
Actions #3

Updated by fao89 about 5 years ago

  • Related to Task #5872: Generate pulp_file fixtures on Travis and serve using nginx added
Actions #5

Updated by daviddavis about 5 years ago

  • Tags CI/CD added

Added by Fabricio Aguiar about 5 years ago

Revision 45f2ab24 | View on GitHub

Generating fixture internally

https://pulp.plan.io/issues/5873 Required PR: https://github.com/pulp/pulp-smash/pull/1228 closes #5873

Actions #6

Updated by Anonymous about 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #7

Updated by fao89 about 5 years ago

  • Related to Task #5913: Make the option to generate fixtures locally available for all plugins added

Added by Fabricio Aguiar almost 5 years ago

Revision 8cebee41 | View on GitHub

Generating fixture internally

https://pulp.plan.io/issues/5873 Required PR: https://github.com/pulp/pulp-smash/pull/1228 closes #5873

(cherry picked from commit 45f2ab24775893d81d34d70a5b32da16d43b76ec)

Actions #8

Updated by bmbouter almost 5 years ago

  • Sprint/Milestone set to 3.0.1
Actions #9

Updated by bmbouter almost 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF