Skip to content

Conversation

@sciros
Copy link
Collaborator

@sciros sciros commented Dec 11, 2024

I have modified the project to use dependency open-mpic-core from Test PyPI (will swap to non-test once I feel good about it, i.e. after others try it). So that has changed (simplified) the layer building quite a lot. Yes, some extra code gets pulled in that doesn't get used here and there, but I don't think it's a big deal. Not like we're using 100% of each other library we have in the dependency tree.

I have also gotten rid of the requirements.txt that we've had to maintain for the lambda layer. Now I have a custom target in Hatch that we can use instead: hatch run lambda-layer:install and it does the thing. Which means we manage dependencies only in pyproject.toml. And now instead of ./1-install.sh and ./2-package.sh there's just ./package.sh. Other build and cleanup scripts are updated accordingly.

One other thing I did, out of pure self-interest, is I parameterized the provisioning of DNSSEC-enabling resources in AWS. So if I want to just deploy ~1/3 of the resources, quickly, to do a quick and dirty integration test, I can do that, by writing tofu apply -var="dnssec_enabled=false".

@sciros sciros requested a review from birgelee December 11, 2024 04:03
@birgelee birgelee merged commit 98d70ca into main Dec 13, 2024
1 check passed
@birgelee birgelee deleted the ds-packaging-core branch December 13, 2024 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants