Skip to content

Commit 00427c1

Browse files
Merge branch 'develop' into develop
2 parents 0e1f8c1 + a6db463 commit 00427c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1492
-436
lines changed

.github/workflows/infra-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fetch-depth: 0 # Get full history for tag lookup
2727
- uses: azure/setup-kubectl@v1
2828
with:
29-
version: v1.18.0
29+
version: v1.18.2
3030

3131
- name: Add kubeconfig to environment
3232
run: |

.github/workflows/infra-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
steps:
247247
- uses: azure/setup-kubectl@v1
248248
with:
249-
version: v1.18.0
249+
version: v1.18.2
250250

251251
- name: Add kubeconfig to environment
252252
run: |
@@ -331,12 +331,14 @@ jobs:
331331
needs: publish-manifests
332332
if: github.event_name == 'release' && ! github.event.release.prerelease
333333
runs-on: ubuntu-latest
334+
env:
335+
KUBE_CONFIG_DATA: ${{ secrets.kubeconfig_data_prod }}
334336

335337
steps:
336338
- uses: actions/checkout@v2
337339
- uses: azure/setup-kubectl@v1
338340
with:
339-
version: v1.18.0
341+
version: v1.18.2
340342

341343
- name: Add kubeconfig to environment
342344
run: |

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
python -m pytest
4444
- name: Run App
4545
run: |
46-
PARAMETERS=./defaults/cypress.cfg streamlit run st_app.py &
46+
PARAMETERS=./defaults/cypress.cfg ASSETS=./defaults/assets streamlit run st_app.py &
4747
- name: Cypress
4848
uses: cypress-io/github-action@v1
4949
with:

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
FROM python:3.7.7-slim-buster
2+
ENV ASSETS=./defaults/assets/
23
ENV PARAMETERS=./defaults/webapp.cfg
4+
ENV PORT=8000
35
WORKDIR /app
46
COPY README.md .
57
COPY setup.cfg .
68
COPY setup.py .
9+
COPY MANIFEST.in .
710
COPY .streamlit .streamlit
811
COPY defaults defaults
912
COPY src src
1013
COPY st_app.py st_app.py
1114
RUN pip install -q .
1215

13-
CMD ["streamlit", "run", "st_app.py"]
14-
16+
CMD STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include src/penn_chime/locales/*.yml

Pipfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ dash = "*"
1616
dash-bootstrap-components = "*"
1717
gunicorn = "*"
1818
PyYAML = "*"
19+
python-i18n = "*"
20+
gspread="*"
21+
oauth2client="*"
22+
penn-chime = {path = "."}
1923

2024
[requires]
2125
python_version = "3.7"

Pipfile.lock

Lines changed: 238 additions & 174 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Procfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: PARAMETERS=defaults/webapp.cfg STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py
1+
web: PARAMETERS=./defaults/webapp.cfg ASSETS=./defaults/assets STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py
226 KB
Binary file not shown.

defaults/assets/PPE_Screenshot.jpg

253 KB
Loading

0 commit comments

Comments
 (0)