ci/cd: migrate github actions runners to depot runners (#1329)

This commit is contained in:
Kyle Mendell
2026-04-26 19:48:19 -05:00
committed by GitHub
parent f4706cd6cc
commit d5cf60689e
11 changed files with 239 additions and 191 deletions

View File

@@ -0,0 +1,22 @@
import boto3
from botocore.exceptions import ClientError
BUCKET_NAME = "pocket-id-test"
def main() -> None:
s3 = boto3.client(
"s3",
endpoint_url="http://localhost:4566",
aws_access_key_id="test",
aws_secret_access_key="test",
region_name="us-east-1",
)
try:
s3.head_bucket(Bucket=BUCKET_NAME)
except ClientError:
s3.create_bucket(Bucket=BUCKET_NAME)
main()