Skip to content

Commit

Permalink
Use the new rubin-pp-dev* buckets in upload tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfang committed Feb 2, 2024
1 parent 1fa4a1e commit ac27afa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/tester/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ def main():
kafka_url = "https://usdf-rsp-dev.slac.stanford.edu/sasquatch-rest-proxy/topics/test.next-visit"
endpoint_url = "https://s3dfrgw.slac.stanford.edu"
s3 = boto3.resource("s3", endpoint_url=endpoint_url)
dest_bucket = s3.Bucket("rubin:rubin-pp")
dest_bucket = s3.Bucket("rubin-pp-dev")
dest_bucket.meta.client.meta.events.unregister("before-parameter-build.s3", validate_bucket_name)

src_bucket = s3.Bucket("rubin:rubin-pp-users")
src_bucket = s3.Bucket("rubin-pp-dev-users")
src_bucket.meta.client.meta.events.unregister("before-parameter-build.s3", validate_bucket_name)

last_group = get_last_group(dest_bucket, instrument, date)
Expand Down
2 changes: 1 addition & 1 deletion python/tester/upload_hsc_rc2.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def _set_s3_bucket():
global dest_bucket
endpoint_url = "https://s3dfrgw.slac.stanford.edu"
s3 = boto3.resource("s3", endpoint_url=endpoint_url)
dest_bucket = s3.Bucket("rubin:rubin-pp")
dest_bucket = s3.Bucket("rubin-pp-dev")
dest_bucket.meta.client.meta.events.unregister("before-parameter-build.s3", validate_bucket_name)


Expand Down

0 comments on commit ac27afa

Please sign in to comment.