Skip to content

support a new build type for components with no artifacts #74

Description

@massi-ang

Describe the bug
I have a component with no artifacts, just a recipe. When I use gdk component publish, the command fails saying

[Errno 2] No such file or directory: '/Users/xxx/Projects/comp/greengrass-build/recipes/recipe.yaml'

To Reproduce
Steps to reproduce the behavior. If possible, provide a minimal amount of code that causes the bug.

Create a compoent with only a recipe, no artifacts. In the gdk-config.json file, provide a noop custom build command (eg date) so the gdk component build succeeds.

Call gdk component publish

Expected behavior
A clear and concise description of what you expected to happen.

Component is successfully published

Actual behavior
Tell us what actually happened.

Error

[Errno 2] No such file or directory: '/Users/xxx/Projects/comp/greengrass-build/recipes/recipe.yaml'

Environment

  • OS: [e.g. Ubuntu 20.04] (If possible, provide output of uname -a)
  • JDK version:
  • Nucleus version:

Additional context
Add any other context about the problem here.

E.g. what is the impact of the bug?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions