Skip to content

Conversation

annajowang
Copy link
Collaborator

@annajowang annajowang commented Sep 22, 2025

Move ALL logic into a callable function also return the build output

@annajowang annajowang changed the title Move all logic into a callable function. Move all local build logic into a callable function. Sep 22, 2025
if (!existsSync(bundleYamlPath)) {
throw new Error(`Cannot load ${bundleYamlPath} from given path, it doesn't exist`);
}
return parseYaml(readFileSync(bundleYamlPath, "utf8")) as OutputBundleConfig;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Curious what is the reason for adding parse bundle.yaml as OutputBundleConfig here, how is it going to be used?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The CLI will call it and use it to make the right apphosting createBuild and createRollout calls

@annajowang annajowang merged commit 8eb0113 into main Sep 23, 2025
10 of 11 checks passed
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