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 plugin-template
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ DEFAULT_SETTINGS = {
"deploy_to_pypi": True,
"disabled_redis_runners": [],
"docker_fixtures": False,
"extra_files": [],
"flake8_ignore": [],
"flake8": True,
"github_org": "pulp",
Expand Down
6 changes: 3 additions & 3 deletions templates/github/.ci/ansible/Containerfile.j2.copy
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ FROM {{ ci_base | default(pulp_default_container) }}
ADD ./{{ item.name }} ./{{ item.name }}
{% endfor %}

# Install python packages
# S3 botocore needs to be patched to handle responses from minio during 0-byte uploads
# Hacking botocore (https://github.com/boto/botocore/pull/1990)
{% for item in extra_files | default([]) %}
ADD ./{{ item.origin }} {{ item.destination }}
{% endfor %}

# This MUST be the ONLY call to pip install in inside the container.
RUN pip3 install --upgrade pip setuptools wheel && \
Expand Down
7 changes: 7 additions & 0 deletions templates/github/.github/workflows/scripts/install.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ fi
{%- endif %}

cat >> vars/main.yaml << VARSYAML
{%- if extra_files %}
extra_files:
{%- for item in extra_files %}
- origin: "{{ item.origin }}"
destination: "{{ item.destination }}"
{%- endfor %}
{%- endif %}
services:
- name: pulp
image: "pulp:ci_build"
Expand Down