Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Set environment variables for test fixtures
Browse files Browse the repository at this point in the history
This commit was induced by the upcoming change in pulpcore
where we started replacing the old pulp-smash settings
through environment variables.

[noissue]
  • Loading branch information
lubosmj authored and mikedep333 committed Mar 10, 2023
1 parent 4a885fd commit 8cb8050
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/pulp_devel/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
pulp_devel_install_podman: true
pulp_devel_package_retries: 5
pulp_devel_supplement_bashrc: false
pulp_remote_fixtures_origin: 'https://fixtures.pulpproject.org/'
pulp_workers: 2
pulp_scheme: "{{ pulp_webserver_disable_https | default(false) | ternary('http', 'https') }}"
2 changes: 2 additions & 0 deletions roles/pulp_devel/templates/django.bashrc.j2
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
export DJANGO_SETTINGS_MODULE=pulpcore.app.settings
export PULP_SETTINGS={{ pulp_settings_file }}
export REMOTE_FIXTURES_ORIGIN={{ pulp_remote_fixtures_origin }}
export API_HOST={{ ansible_fqdn }}

0 comments on commit 8cb8050

Please sign in to comment.