Skip to content

Commit

Permalink
Fix Tests on New CI (#843)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
TimPansino and TimPansino authored Jun 23, 2023
1 parent 658f818 commit 57720fd
Show file tree
Hide file tree
Showing 9 changed files with 392 additions and 346 deletions.
7 changes: 6 additions & 1 deletion .github/containers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
libssl-dev \
locales \
make \
odbc-postgresql \
openssl \
python2-dev \
python3-dev \
python3-pip \
odbc-postgresql \
tzdata \
unixodbc-dev \
unzip \
wget \
zip \
Expand All @@ -58,6 +60,9 @@ RUN sed -i 's/Driver=psqlodbca.so/Driver=\/usr\/lib\/x86_64-linux-gnu\/odbc\/psq
# Set the locale
RUN locale-gen --no-purge en_US.UTF-8
ENV LANG=en_US.UTF-8 \ LANGUAGE=en_US:en \ LC_ALL=en_US.UTF-8
ENV TZ="Etc/UTC"
RUN ln -fs "/usr/share/zoneinfo/${TZ}" /etc/localtime && \
dpkg-reconfigure -f noninteractive tzdata

# Use root user
ENV HOME /root
Expand Down
2 changes: 1 addition & 1 deletion .github/containers/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip
setuptools
wheel
virtualenv<20.22.1
virtualenv<20.22.0
tox
Loading

0 comments on commit 57720fd

Please sign in to comment.