Closed altheaden closed 2 months ago
This PR is still in draft mode for a few reasons. The most recent commit is not working, which I am going to continue to investigate tomorrow. The commits before the broken commit have worked with my somewhat limited testing (building environment and running PR suire). I also still need to clean up the git history and update the API documentation.
@xylar I took your suggestions, and I also renamed the instances of env_name
to conda_env_name
for the same reason.
Looks like CI isn't running but the fixes sound good. I'll check on this again tomorrow.
@altheaden, this looks good! I tested this with --recreate
and without it, and with --check
after doing a local merge with main
to pick up #217. I didn't check any of the spack or --with*
flags yet. I'm fine with merging this as it is and testing those other modes of deployment as they are needed.
BTW, there's no need to include these functions in the API docs. The deploy
directory isn't really part of the polaris
package so it's outside of the API we intend to document there.
@xylar I did some cleanup to the git history and got rid of the dev comments. I think I'm happy with this for now, so feel free to take another look at things and then merge if you're happy with everything!
I'll merge this as soon as CI finishes.
Sorry for the hold up!
In this pull request I cleaned up the file
deploy/bootstrap.py
to make the code more readable and safer.Checklist
Testing
comment in the PR documents testing used to verify the changes