Skip to content

Commit

Permalink
fix: update test path to reflect osml-cdk-constructs 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
RanbirAulakh committed Aug 20, 2024
1 parent a9fbb2c commit bea579b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/process_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def main():
args = parser.parse_args()

# standard test images deployed by CDK
image_bucket: str = f"mr-test-images-{args.account}"
image_bucket: str = f"osml-test-images-{args.account}"
deployed_images: dict = {
"small": f"s3://{image_bucket}/small.tif",
"large": f"s3://{image_bucket}/large.tif",
Expand Down
6 changes: 3 additions & 3 deletions src/aws/osml/utils/osml_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class OSMLConfig:

# bucket name prefixes
S3_RESULTS_BUCKET: str = os.getenv("S3_RESULTS_BUCKET")
S3_RESULTS_BUCKET_PREFIX: str = os.getenv("S3_RESULTS_BUCKET_PREFIX", "mr-test-results")
S3_IMAGE_BUCKET_PREFIX: str = os.getenv("S3_IMAGE_BUCKET_PREFIX", "mr-test-images")
S3_RESULTS_BUCKET_PREFIX: str = os.getenv("S3_RESULTS_BUCKET_PREFIX", "mr-bucket-sink")
S3_IMAGE_BUCKET_PREFIX: str = os.getenv("S3_IMAGE_BUCKET_PREFIX", "osml-test-images")

# stream name prefixes
KINESIS_RESULTS_STREAM: str = os.getenv("KINESIS_RESULTS_STREAM")
KINESIS_RESULTS_STREAM_PREFIX: str = os.getenv("KINESIS_RESULTS_STREAM_PREFIX", "mr-test-stream")
KINESIS_RESULTS_STREAM_PREFIX: str = os.getenv("KINESIS_RESULTS_STREAM_PREFIX", "mr-stream-sink")

# deployment info
ACCOUNT: str = os.environ.get("ACCOUNT")
Expand Down

0 comments on commit bea579b

Please sign in to comment.