Skip to content

Commit 2f38af0

Browse files
committed
adjust logging integration tests setup on CI node.
1 parent eee05e5 commit 2f38af0

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

Dockerfiles/Dockerfile.selenium-jenkins-python311-chromium

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM --platform=linux/amd64 seleniarm/standalone-chromium
33
ENV PYTHONUNBUFFERED 1
44
USER root
55
# on CI node, django db defaults to sqlite3
6-
RUN sudo apt-get update ; apt-get install -yq build-essential zlib1g-dev make libssl-dev libffi-dev libsqlite3-dev sqlite3
6+
RUN sudo apt-get update ; apt-get install -yq git build-essential zlib1g-dev make libssl-dev libffi-dev libsqlite3-dev sqlite3
77
RUN wget -O /Python-3.11.9.tgz https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tgz
88
WORKDIR /
99
RUN tar -xvzf Python-3.11.9.tgz

Jenkinsfiles/Jenkinsfile.cbc-run-multi-pr-checks-w-selenium-chromium

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ pipeline {
5050
}
5151
}
5252

53+
stage("Check out bluebutton-css") {
54+
steps {
55+
sh """
56+
git clone https://github.com/CMSgov/bluebutton-css.git
57+
"""
58+
}
59+
}
60+
5361
stage("REPORT Python Version") {
5462
steps {
5563
sh """
@@ -101,7 +109,8 @@ pipeline {
101109
}
102110
steps{
103111
sh """
104-
. venv/bin/activate
112+
rm -rf ./docker-compose/tmp/
113+
mkdir ./docker-compose/tmp
105114
USE_NEW_PERM_SCREEN=true pytest ./apps/integration_tests/logging_tests.py::TestLoggings::test_auth_fhir_flows_logging
106115
"""
107116
}

hhs_oauth_server/settings/logging_it.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
try:
1616
os.mkdir(logdir_path)
1717
except FileExistsError as err:
18-
print("Error os.mkdir: {}".format(err))
18+
print("Warning os.mkdir: {}".format(err))
1919

2020
if logging_handlers is None:
2121
raise ValueError("Bad settings, expecting handlers defined in settings.LOGGING")

0 commit comments

Comments
 (0)