Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .ci/ansible/settings.py.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
SECRET_KEY = "{{ django_secret }}"
CONTENT_ORIGIN = "{{ pulp_scheme }}://pulp:{{ 443 if pulp_scheme == 'https' else 80 }}"
ANSIBLE_API_HOSTNAME = "{{ pulp_scheme }}://pulp:{{ 443 if pulp_scheme == 'https' else 80 }}"
ANSIBLE_CONTENT_HOSTNAME = "{{ pulp_scheme }}://pulp:{{ 443 if pulp_scheme == 'https' else 80 }}/pulp/content"
Expand Down
2 changes: 2 additions & 0 deletions .ci/ansible/start_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
ansible.builtin.template:
src: "settings.py.j2"
dest: "settings/settings.py"
vars:
django_secret: "lookup('community.general.random_string', length=50, overwrite_all='abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)')"

- name: "Setup docker networking"
community.docker.docker_network:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ filename = "./pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""


[tool.black]
line-length = 100

Expand All @@ -148,6 +147,7 @@ extend-select = [
[tool.ruff.lint.flake8-tidy-imports.banned-api]
# This section is managed by the plugin template. Do not edit manually.
"distutils".msg = "The 'distutils' module has been deprecated since Python 3.9."
"pulpcore.app.settings".msg = "Always import 'settings' from 'django.conf' instead."
"pulpcore.app".msg = "The 'pulpcore' apis must only be consumed via 'pulpcore.plugin'."

[tool.ruff.lint.isort]
Expand Down
Loading