Skip to content

Commit

Permalink
Revert "Quick Fix: Improve rich console logger."
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest authored Jun 19, 2024
1 parent e9367ce commit b4e38c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ COPY --from=solr:latest /var/solr/ /var/solr/
COPY --from=condaforge/mambaforge:latest /opt/conda /opt/conda
COPY . /tmp/evaluation_system
RUN set -x && \
groupadd -r --gid 1001 freva && \
groupadd -r --gid 1000 freva && \
groupadd -r --gid 8983 solr && \
adduser --uid 1001 --gid 1001 --gecos "Default user" \
adduser --uid 1001 --gid 1000 --gecos "Default user" \
--shell /bin/bash --disabled-password freva && \
usermod -aG solr,mysql freva &&\
if [ "$binder" = "true" ]; then\
Expand All @@ -53,8 +53,7 @@ RUN set -x && \
else\
/opt/conda/bin/conda create -y -q -c conda-forge make pip git conda -p /opt/evaluation_system;\
fi &&\
rm -rf /opt/conda
RUN set -e &&\
rm -rf /opt/conda &&\
mkdir -p ${EVAL_HOME}/bin ${EVAL_HOME}/share/freva /mnt/freva_plugins \
${MYSQL_LOGS_DIR} ${SOLR_LOGS_DIR} ${MYSQL_DATA_DIR} ${MYSQL_HOME}/tmpl &&\
mv /tmp/evaluation_system/src/evaluation_system/tests/mocks/bin/* /usr/local/bin/ && \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ permissions:
pull-requests: write
on:
push:
pull_request:
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion src/evaluation_system/misc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
logger_stream_handle = RichHandler(
rich_tracebacks=True,
show_path=True,
console=Console(soft_wrap=False, stderr=True, force_jupyter=False),
console=Console(soft_wrap=True, stderr=True),
)
logger_stream_handle.setLevel(logging.INFO)
logging.basicConfig(
Expand Down

0 comments on commit b4e38c5

Please sign in to comment.