Skip to content

Commit 57720fd

Browse files
authored
Fix Tests on New CI (#843)
* Remove non-root user * Test new CI image * Change pypy to pypy27 in tox. * Fix checkout logic * Fetch git tags properly * Pin tox requires * Adjust default db settings for github actions * Rename elasticsearch services * Reset to new pipelines * [Mega-Linter] Apply linters fixes * Fix timezone * Fix docker networking * Pin dev image to new sha * Standardize gearman DB settings * Fix elasticsearch settings bug * Fix gearman bug * Add missing odbc headers * Add more debug messages * Swap out dev ci image * Fix required virtualenv version * Swap out dev ci image * Swap out dev ci image * Remove aioredis v1 for EOL * Add coverage paths for docker container * Unpin ci container --------- Co-authored-by: TimPansino <[email protected]>
1 parent 658f818 commit 57720fd

File tree

9 files changed

+392
-346
lines changed

9 files changed

+392
-346
lines changed

.github/containers/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
3838
libssl-dev \
3939
locales \
4040
make \
41+
odbc-postgresql \
4142
openssl \
4243
python2-dev \
4344
python3-dev \
4445
python3-pip \
45-
odbc-postgresql \
46+
tzdata \
47+
unixodbc-dev \
4648
unzip \
4749
wget \
4850
zip \
@@ -58,6 +60,9 @@ RUN sed -i 's/Driver=psqlodbca.so/Driver=\/usr\/lib\/x86_64-linux-gnu\/odbc\/psq
5860
# Set the locale
5961
RUN locale-gen --no-purge en_US.UTF-8
6062
ENV LANG=en_US.UTF-8 \ LANGUAGE=en_US:en \ LC_ALL=en_US.UTF-8
63+
ENV TZ="Etc/UTC"
64+
RUN ln -fs "/usr/share/zoneinfo/${TZ}" /etc/localtime && \
65+
dpkg-reconfigure -f noninteractive tzdata
6166

6267
# Use root user
6368
ENV HOME /root
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pip
22
setuptools
33
wheel
4-
virtualenv<20.22.1
4+
virtualenv<20.22.0
55
tox

0 commit comments

Comments
 (0)