Skip to content

Add zip cli command, generate requirements.txt during scan, and add example jupyter notebook#14

Merged
markdlv-sf merged 5 commits intomainfrom
chandresh-updates
May 13, 2025
Merged

Add zip cli command, generate requirements.txt during scan, and add example jupyter notebook#14
markdlv-sf merged 5 commits intomainfrom
chandresh-updates

Conversation

@markdlv-sf
Copy link
Contributor

@markdlv-sf markdlv-sf commented May 13, 2025

  • Users can now run datacustomcode zip or datacustomcode zip payload to zip up their package for deployment. This is needed because our UI expects you to have a zip ready, and we want customers using docker to build their zips to avoid platform/architecture mismatches between their machines and DataCloud compute
  • When running datacustomcode scan ./payload/entrypoint.py, requirement.txt is also updated. This catches a scenario where you've pip installed into the venv you're working in, but forgotten to add it to requirements.txt (which drives our zip process).
  • Added jupyter notebook example to provide a better starting point once jupyter lab is started

@salesforce-cla
Copy link

Thanks for the contribution! It looks like @chandresh-patelsf is an internal user so signing the CLA is not required. However, we need to confirm this.

@markdlv-sf markdlv-sf requested review from joroscoSF and sbyrne-sf May 13, 2025 19:32
Copy link
Contributor

@sbyrne-sf sbyrne-sf left a comment

Choose a reason for hiding this comment

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

looks good to me.

@markdlv-sf markdlv-sf merged commit dd56855 into main May 13, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments