Skip to content

Commit

Permalink
Merge commit '9672697cec17dea9fe7fd176a9482b6ba5b8f4e2' into 130-add-…
Browse files Browse the repository at this point in the history
…ssl-certificate-to-scopem-openemethzch
  • Loading branch information
phwissmann committed Jan 13, 2025
2 parents 48d14f1 + 9672697 commit 0b2a113
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion backend/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"PREFECT_LOGGING_LEVEL": "DEBUG",
"MINIO_ENDPOINT": "scopem-openemdata.ethz.ch:9090",
"MINIO_EXTERNAL_ENDPOINT": "scopem-openemdata.ethz.ch:9090",
"AWS_CA_BUNDLE": "/etc/ssl/certs/ca-certificates.crt",
"LTS_STORAGE_ROOT": "/tmp/data/LTS/",
"LTS_FREE_SPACE_PERCENTAGE": "0.2",
"ARCHIVER_SCRATCH_FOLDER": "/tmp/data/scratch/",
Expand Down
1 change: 0 additions & 1 deletion backend/api/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"PREFECT_API_URL": "http://localhost:4200/api",
"PREFECT_LOGGING_LEVEL": "DEBUG",
"MINIO_ENDPOINT": "scopem-openemdata.ethz.ch:9090",
"AWS_CA_BUNDLE": "/etc/ssl/certs/ca-certificates.crt",
"SECRETS_DIR": "${workspaceFolder}/../../.secrets",
"UVICORN_ROOT_PATH": "",
"UVICORN_RELOAD": "true",
Expand Down
6 changes: 0 additions & 6 deletions backend/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,4 @@ WORKDIR /root/app/site-packages
COPY --from=builder /venv /venv
ENV PATH=/venv/bin:$PATH

RUN wget https://cacerts.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt.pem -O DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt
RUN cp DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt /usr/local/share/ca-certificates/
RUN update-ca-certificates

ENV AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

ENTRYPOINT [ "python", "-m", "openapi_server" ]
1 change: 0 additions & 1 deletion backend/archiver/tests/test_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ def set_env():

envs = {
'PREFECT_SERVER_URL': PREFECT_SERVER_URL,
"AWS_CA_BUNDLE": "/etc/ssl/certs/ca-certificates.crt",
}

for k, v in envs.items():
Expand Down
6 changes: 0 additions & 6 deletions backend/prefect-runtime.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,5 @@ COPY ./backend/ ./
COPY ./backend/archiver/Pipfile ./
COPY ./backend/archiver/Pipfile.lock ./

RUN wget https://cacerts.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt.pem -O DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt
RUN cp DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt /usr/local/share/ca-certificates/
RUN update-ca-certificates

ENV AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt

RUN PIPENV_VENV_IN_PROJECT=1 pipenv install --system --deploy
CMD ["/bin/bash"]

0 comments on commit 0b2a113

Please sign in to comment.