Task #5873
closedupdate pulpcore and pulp_file functional tests to use a configurable hostname+prefix for fixtures
100%
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
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
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)
Updated by fao89 about 5 years ago
- Related to Task #5872: Generate pulp_file fixtures on Travis and serve using nginx added
Updated by fao89 about 5 years ago
- Status changed from NEW to POST
- Assignee set to fao89
Added by Fabricio Aguiar about 5 years ago
Updated by Anonymous about 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|45f2ab24775893d81d34d70a5b32da16d43b76ec.
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)
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Generating fixture internally
https://pulp.plan.io/issues/5873 Required PR: https://github.com/pulp/pulp-smash/pull/1228 closes #5873