Closed ranchodeluxe closed 2 months ago
my vote is for new-fangled bucket.
Ideally I'd like this to be in the v3 release- are we too blocked by permissions stuff? It would be nice to have some automated tests protecting the main branch.
Then again, we can still run the tests manually (pytest --runslow
) even while we are sorting out accesses for the test runner, so this doesn't need to block the release if we are just waiting on external permissions stuff to get sorted out.
Ideally I'd like this to be in the v3 release- are we too blocked by permissions stuff? It would be nice to have some automated tests protecting the main branch.
Yeah, we're stuck waiting for Tess and Eli to get "approved" into the system and then I have to get access and then we have to figure out how to do all the things. So that's gonna be a few days. If you really want to wait then we can push back the release to mid next week
Ok, I will rebase my test branch and run the tests manually. Don't push back on my account!
@ranchodeluxe I do have the permissions for this now. I will also be almost entirely OOO this week. If you have some instructions for the type of OIDC that will work with github actions, I can try to set up the role async.
@zebbecker: I think maybe we should pair on this together b/c those yahoos at SMCE still haven't gotten my AWS account in order and I cannot do anything yet
@ranchodeluxe want to pair this afternoon? I'll be free in about 30 mins after our project meeting ends through end of day, and do have my AWS login working
@ranchodeluxe want to pair this afternoon? I'll be free in about 30 mins after our project meeting ends through end of day, and do have my AWS login working
Let me set up an hour tomorrow 👍
let's clarify a path for test data and we can create a new s3 bucket if we are not happy with the name (i am not 😄):
It turns out that we already have a public read only bucket called s3://eis-fire-public
. I moved the "large" (its actually not that big) test data there.
The GitHub Actions runner in the pytest
workflow now assumes the github-actions-oidc-role
, which can be viewed and configured in the EIS SMCE AWS org.
@mccabete thank you for working through the permissions stuff and @ranchodeluxe thank you for your help on this!
Closing the issue as #144 does what we needed.
Problem
We need to run tests but some of our data is too big to store in the
/tests/data/
folder and needs to be on s3. We want to use the new EIS buckets3://smce-eis-feds-output-conus
but with SMCE and MFA this means we'll need to set up an OIDC provider and role for GH ActionsAction
@dfelikson can create users for @eorland and @mccabete in the EIS SMCE account (if they don't exist)? These users should have admin privileges if possible so they do some of the IAM and s3 tasks we'd need (maybe temporarily)
@ranchodeluxe can either get an account on the EIS SMCE with limited privs (or maybe good privs) and should help the above folks set up the OIDC provider and role
Make necessary changes to the GH test actions in @zebbecker PR so we can test it against the new role