Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Make jupyter-hub module generic and update deps #585

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

malachi-constant
Copy link
Contributor

Issue #, if available:
Closes #583

Description of changes:

  • Make jupyter-hub module generic
  • Update dependencies

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@malachi-constant malachi-constant self-assigned this Sep 4, 2024
@malachi-constant malachi-constant added bug Something isn't working enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 4, 2024
@malachi-constant malachi-constant merged commit 40f4f1b into main Sep 4, 2024
2 checks passed
@malachi-constant malachi-constant deleted the chore/583 branch September 4, 2024 15:54
@@ -20,12 +21,12 @@ deploy:
- docker push $REPOSITORY_URI:latest && docker push $REPOSITORY_URI:$IMAGE_TAG
- cd ..
- cdk deploy --require-approval never --progress events --app "python app.py" --outputs-file ./cdk-exports.json
- export ADDF_MODULE_METADATA=$(python -c "import json; file=open('cdk-exports.json'); print(json.load(file)['addf-${ADDF_DEPLOYMENT_NAME}-${ADDF_MODULE_NAME}']['metadata'])")
- export SEEDFARMER_MODULE_METADATA=$(python -c "import json; file=open('cdk-exports.json'); print(json.load(file)['addf-${SEEDFARMER_DEPLOYMENT_NAME}-${SEEDFARMER_MODULE_NAME}']['metadata'])")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review.
addf needs to be replaced with SEEDFARMER_PROJECT name here

(OR)

you could run seedfarmer metadata convert -f cdk-exports.json || true command to grab the metadata and avoid running this one liner python command

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will resolve in a new PR, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Module deployment failure: jupyter-hub
3 participants