Skip to content

Commit

Permalink
fix: Fix autogluon tests for codebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonparnell committed Feb 17, 2024
1 parent 0ea7f62 commit 5806dea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_artifacts/v1/scripts/run_autogluon_tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

AUTOGLUON_VERSION=$(micromamba list | grep autogluon | tr -s ' ' | cut -d ' ' -f 3)
AUTOGLUON_VERSION=$(micromamba list | grep autogluon | tr -s ' ' | cut -d ' ' -f 3 | head -n 1)
git checkout tags/v$AUTOGLUON_VERSION

# Run autogluon quick start as end-to-end check
Expand Down
3 changes: 2 additions & 1 deletion test/test_dockerfile_based_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def _validate_docker_images(dockerfile_path: str, required_packages: List[str],
image, _ = _docker_client.images.build(path=test_artifacts_path,
dockerfile=dockerfile_path,
tag=dockerfile_path.lower().replace('.', '-'),
rm=True, buildargs={'COSMOS_IMAGE': docker_image_identifier})
rm=True, buildargs={'COSMOS_IMAGE': docker_image_identifier},
shm_size='256m')
except BuildError as e:
for line in e.build_log:
if 'stream' in line:
Expand Down

0 comments on commit 5806dea

Please sign in to comment.