Skip to content

Commit

Permalink
ci: temporary solution to outdated docker compose python library
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Apr 4, 2024
1 parent 2941987 commit 58cd307
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 4 additions & 4 deletions libbeat/tests/system/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
requests<2.2.29
urllib3==1.26.18
docker==6.1.3
async-timeout==4.0.3
attrs==19.3.0
autopep8==1.5.4
Expand All @@ -13,8 +16,7 @@ cryptography==42.0.4
deepdiff==4.2.0
Deprecated==1.2.14
distro==1.9.0
docker==6.0.1
docker-compose==1.29.2
docker-compose @ git+https://github.com/pkoutsovasilis/compose@v1_fix
docker-pycreds==0.4.0
dockerpty==0.4.1
docopt==0.6.2
Expand Down Expand Up @@ -58,7 +60,6 @@ pytest-timeout==1.4.2
python-dotenv==0.21.1
PyYAML==5.3.1
redis==4.4.4
requests==2.31.0
semver==2.8.1
six==1.15.0
stomp.py==4.1.22
Expand All @@ -67,7 +68,6 @@ texttable==0.9.1
toml==0.10.1
tomli==2.0.1
typing_extensions==4.9.0
urllib3==1.26.18
wcwidth==0.2.5
websocket-client==0.47.0
wrapt==1.16.0
Expand Down
8 changes: 4 additions & 4 deletions libbeat/tests/system/requirements_aix.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
requests<2.2.29
urllib3==1.26.18
docker==6.1.3
async-timeout==4.0.3
attrs==19.3.0
autopep8==1.5.4
Expand All @@ -13,8 +16,7 @@ cryptography==42.0.4
deepdiff==4.2.0
Deprecated==1.2.14
distro==1.9.0
docker==6.0.1
docker-compose==1.29.2
docker-compose @ git+https://github.com/pkoutsovasilis/compose@v1_fix
docker-pycreds==0.4.0
dockerpty==0.4.1
docopt==0.6.2
Expand Down Expand Up @@ -58,7 +60,6 @@ pytest-timeout==1.4.2
python-dotenv==0.21.1
PyYAML==5.3.1
redis==4.4.4
requests==2.31.0
semver==2.8.1
six==1.15.0
stomp.py==4.1.22
Expand All @@ -67,7 +68,6 @@ texttable==0.9.1
toml==0.10.1
tomli==2.0.1
typing_extensions==4.9.0
urllib3==1.26.18
wcwidth==0.2.5
websocket-client==0.47.0
wrapt==1.16.0
Expand Down
8 changes: 7 additions & 1 deletion metricbeat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN \
python3-venv \
libaio-dev \
unzip \
libssl-dev \
libffi-dev \
&& rm -rf /var/lib/apt/lists/*

# Use a virtualenv to avoid the PEP668 "externally managed environment" error caused by conflicts
Expand All @@ -19,10 +21,14 @@ RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

RUN pip3 install --upgrade pip==20.1.1
RUN pip3 install --upgrade docker-compose==1.23.2
RUN pip3 install --upgrade setuptools==47.3.2
RUN pip3 install --upgrade PyYAML==5.3.1

RUN pip3 install 'requests<2.2.29'
RUN pip3 install 'urllib3<2'
RUN pip3 install docker==6.1.3
RUN pip3 install git+https://github.com/pkoutsovasilis/compose@v1_fix

# Oracle instant client
RUN cd /usr/lib \
&& curl -sLo instantclient-basic-linux.zip https://download.oracle.com/otn_software/linux/instantclient/19600/instantclient-basic-linux.x64-19.6.0.0.0dbru.zip \
Expand Down

0 comments on commit 58cd307

Please sign in to comment.