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

feat(compute/build): allow user to specify project directory to build #1043

Merged
merged 2 commits into from Oct 16, 2023

Conversation

Integralist
Copy link
Collaborator

Customers have often asked for the ability to specify a project directory when building and deploying compute applications.

compute build

Screenshot 2023-10-13 at 16 48 54

compute deploy

Screenshot 2023-10-13 at 16 40 41

compute serve (i.e. build, then serve)

Screenshot 2023-10-13 at 16 49 11

compute publish (i.e. build, then deploy)

Screenshot 2023-10-13 at 16 46 32

@Integralist Integralist added the enhancement New feature or request label Oct 13, 2023
// Disabling as we require a user to configure their own environment.
/* #nosec */
if data, err := os.ReadFile(path); err == nil {
if data, err := os.ReadFile(path); err == nil /* #nosec */ {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

NOTE: Latest gosec (released today) changed the way #nosec is parsed. It has to be on the affected line.

pkg/commands/compute/build.go Outdated Show resolved Hide resolved
@Integralist Integralist merged commit 1b59a53 into main Oct 16, 2023
6 checks passed
@Integralist Integralist deleted the integralist/build-project branch October 16, 2023 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants