Skip to content

Commit 8ea4bd3

Browse files
authored
chore: Fix Continuous Integration (#4)
#### Description of changes Make CI succeed #### Testing done CI passes. #### License - [x] By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license](https://pasteurlabs.github.io/tesseract/LICENSE). - [x] I sign the Developer Certificate of Origin below by adding my name and email address to the `Signed-off-by` line. <details> <summary><b>Developer Certificate of Origin</b></summary> ```text Developer Certificate of Origin Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. ``` </details> Signed-off-by: Niklas Heim <niklas.heim@simulation.science>
1 parent 47644f2 commit 8ea4bd3

File tree

3 files changed

+1
-16
lines changed

3 files changed

+1
-16
lines changed

.github/workflows/get_coverage.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ jobs:
2020
- name: Set up Git repository
2121
uses: actions/checkout@v4
2222

23-
- name: Set up custom SSH key
24-
uses: webfactory/ssh-agent@v0.9.0
25-
with:
26-
ssh-private-key: ${{ secrets.ORG_DEPLOY_KEY }}
27-
2823
- name: Set up Python
2924
uses: actions/setup-python@v5
3025
with:

tesseract_core/sdk/engine.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ def docker_buildx(
216216
try:
217217
with contextlib.closing(docker.APIClient()) as api_client:
218218
api_client.prune_builds(all=True, filters={"until": start.isoformat()})
219-
except (
220-
docker.errors.DockerException
221-
):
219+
except docker.errors.DockerException:
222220
logger.warning(
223221
"Docker build cache could not be cleared; consider doing so manually."
224222
)

tests/endtoend_tests/common.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,6 @@ def build_tesseract(sourcedir, image_name, tag=None, build_retries=3):
4444
else:
4545
image_name = f"{image_name}:latest"
4646

47-
reqfile = sourcedir / "tesseract_requirements.txt"
48-
if reqfile.exists():
49-
with open(reqfile) as f:
50-
requirements = f.read()
51-
if "git+ssh" in requirements:
52-
# Use SSH agent forwarding in the build to allow fetching private dependencies
53-
build_args.append("--forward-ssh-agent")
54-
5547
for _ in range(build_retries):
5648
result = cli_runner.invoke(
5749
app,

0 commit comments

Comments
 (0)