File tree Expand file tree Collapse file tree 5 files changed +23
-18
lines changed Expand file tree Collapse file tree 5 files changed +23
-18
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,21 @@ FROM {{ ci_base | default("ghcr.io/pulp/pulp-ci-centos:" + pulp_container_tag) }
2
2
3
3
# Add source directories to container
4
4
{% for item in plugins %}
5
- {% if item .source .startswith ("./" ) or item .ci_requirements | default (false ) %}
6
5
ADD ./{{ item.name }} ./{{ item.name }}
7
- {% endif %}
8
6
{% endfor %}
9
7
10
8
# Install python packages
9
+ # S3 botocore needs to be patched to handle responses from minio during 0-byte uploads
10
+ # Hacking botocore (https://github.com/boto/botocore/pull/1990)
11
11
12
12
RUN pip3 install
13
- {% - for item in plugins -%}
14
- {% - if item .name == "pulp-certguard" -%}
15
- {{ " " }}python-dateutil rhsm
16
- {% - endif -%}
17
- {{ " " }}{{ item.source }}
18
- {% - if item .name == "pulpcore" -%}
19
13
{% - if s 3_test | default (false ) -%}
20
- [s3]
21
- {% - elif azure_test | default (false ) -%}
22
- [azure]
23
- {% - elif gcp_test | default (false ) -%}
24
- [google]
14
+ {{ " " }}git+https://github.com/fabricio-aguiar/botocore.git@fix-100-continue
25
15
{% - endif -%}
16
+ {% - for item in plugins -%}
17
+ {{ " " }}{{ item.source }}
18
+ {% - if item .lowerbounds | default (false ) -%}
19
+ {{ " " }}-c ./{{ item.name }}/lowerbounds_constraints.txt
26
20
{% - endif -%}
27
21
{% - if item .ci_requirements | default (false ) -%}
28
22
{{ " " }}-r ./{{ item.name }}/ci_requirements.txt
Original file line number Diff line number Diff line change 1
- 2021.08.26-293-gde76e9f
1
+ 2021.08.26-296-g466c79b
Original file line number Diff line number Diff line change 66
66
fi
67
67
68
68
if [[ " $TEST " = " lowerbounds" ]]; then
69
- python3 .ci/scripts/calc_deps_lowerbounds.py > lowerbounds_requirements.txt
70
- mv lowerbounds_requirements.txt requirements.txt
69
+ python3 .ci/scripts/calc_deps_lowerbounds.py > lowerbounds_constraints.txt
71
70
fi
72
71
73
72
if [ -f $POST_BEFORE_INSTALL ]; then
Original file line number Diff line number Diff line change 36
36
fi
37
37
38
38
cd .ci/ansible/
39
+ PLUGIN_SOURCE=" ${PLUGIN_NAME} "
40
+ if [ " $TEST " = " s3" ]; then
41
+ PLUGIN_SOURCE=" ${PLUGIN_SOURCE} [s3]"
42
+ fi
43
+ if [ " $TEST " = " azure" ]; then
44
+ PLUGIN_SOURCE=" ${PLUGIN_SOURCE} [azure]"
45
+ fi
39
46
40
47
cat >> vars/main.yaml << VARSYAML
41
48
image:
42
49
name: pulp
43
50
tag: "ci_build"
44
51
plugins:
45
52
- name: pulpcore
46
- source: "${PLUGIN_NAME } "
53
+ source: "${PLUGIN_SOURCE } "
47
54
VARSYAML
48
55
if [[ -f ../../ci_requirements.txt ]]; then
49
56
cat >> vars/main.yaml << VARSYAML
50
57
ci_requirements: true
51
58
VARSYAML
52
59
fi
60
+ if [ " $TEST " = " lowerbounds" ]; then
61
+ cat >> vars/main.yaml << VARSYAML
62
+ lowerbounds: true
63
+ VARSYAML
64
+ fi
53
65
54
66
cat >> vars/main.yaml << VARSYAML
55
67
services:
Original file line number Diff line number Diff line change 1
- 2021.08.26-291-g9188e37
1
+ 2021.08.26-296-g466c79b
You can’t perform that action at this time.
0 commit comments