Skip to content

Commit

Permalink
Move test resources to new bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanLeRoy committed Dec 4, 2023
1 parent 75741bf commit f191c5c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,20 @@ jobs:
matrix:
python-version: [3.9, "3.10", 3.11]
os: [ubuntu-latest, macOS-latest, windows-latest]
env:
BUCKET_NAME : "bioio-dev-test-resources"
AWS_REGION : "us-west-2"
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

steps:
- uses: actions/checkout@v4
- uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::978220035532:role/bioio_github
role-session-name: bioio-sldy-${{ github.sha }}
aws-region: ${{ env.AWS_REGION }}
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion scripts/TEST_RESOURCES_HASH.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
06460a001e9e4e4fccc3d0b2836b2701509325d82dc8a62cd7986786515a0a24
9dba5b3c4ab5c5719cb4c7ced13f1ceb60d644dc137515f4074800df6be844c8
2 changes: 1 addition & 1 deletion scripts/download_test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def download_test_resources(args: Args):
# Get quilt package
package = Package.browse(
"bioio_sldy/test_resources",
"s3://aics-modeling-packages-test-resources",
"s3://bioio-dev-test-resources",
top_hash=top_hash,
)

Expand Down
2 changes: 1 addition & 1 deletion scripts/upload_test_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def upload_test_resources(args: Args):
if confirmation:
pushed = package.push(
package_name,
"s3://aics-modeling-packages-test-resources",
"s3://bioio-dev-test-resources",
message=f"Test resources for `bioio_sldy` version: {__version__}.",
)

Expand Down

0 comments on commit f191c5c

Please sign in to comment.