Project

Profile

Help

Task #5873

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

Added by dkliban@redhat.com 6 months ago. Updated 5 months ago.

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

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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 nginx CLOSED - CURRENTRELEASE Actions
Related to Pulp - Task #5913: Make the option to generate fixtures locally available for all plugins CLOSED - COMPLETE Actions

Associated revisions

Revision 45f2ab24 View on GitHub
Added by Fabricio Aguiar 6 months ago

Generating fixture internally

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

Revision 8cebee41 View on GitHub
Added by Fabricio Aguiar 5 months ago

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)

History

#1 Updated by daviddavis 6 months 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

#2 Updated by dkliban@redhat.com 6 months 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)

#3 Updated by fao89 6 months ago

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

#5 Updated by daviddavis 6 months ago

  • Tags CI/CD added

#6 Updated by Anonymous 6 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by fao89 6 months ago

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

#8 Updated by bmbouter 5 months ago

  • Sprint/Milestone set to 3.0.1

#9 Updated by bmbouter 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF