Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented Apr 25, 2023

Resolves #1009

@mattt mattt force-pushed the mattt/secrets branch 2 times, most recently from 494b8ef to 3406011 Compare April 25, 2023 13:37
@mattt mattt force-pushed the mattt/secrets branch 3 times, most recently from 3312023 to b5d244e Compare April 25, 2023 17:55
@mattt mattt marked this pull request as ready for review April 25, 2023 17:55
@mattt mattt requested a review from bfirsh April 25, 2023 17:55
Signed-off-by: Mattt Zmuda <mattt@replicate.com>
PythonVersion string `json:"python_version,omitempty" yaml:"python_version"`
PythonRequirements string `json:"python_requirements,omitempty" yaml:"python_requirements"`
PythonPackages []string `json:"python_packages,omitempty" yaml:"python_packages"` // Deprecated, but included for backwards compatibility
Run []RunItem `json:"run,omitempty" yaml:"run"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this require an update to the run docs given the change in syntax? Do we want to continue to support the old syntax as well?

Copy link
Contributor Author

@mattt mattt Apr 25, 2023

Choose a reason for hiding this comment

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

Good callout. I just added docs with 080e0fa.

This new format is an additive change, so existing uses of run commands will continuing working. I don't have any plans to deprecate the old syntax.

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
@mattt mattt enabled auto-merge (squash) April 25, 2023 20:33
@mattt mattt merged commit 55431e3 into main Apr 25, 2023
@mattt mattt deleted the mattt/secrets branch April 25, 2023 20:34
mattt added a commit that referenced this pull request May 31, 2024
* Add support for run commands with mounted secrets

Signed-off-by: Mattt Zmuda <mattt@replicate.com>

* Document new run item format

Signed-off-by: Mattt Zmuda <mattt@replicate.com>

---------

Signed-off-by: Mattt Zmuda <mattt@replicate.com>
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.

Build secrets

3 participants