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

Kiln/0.79.0 requires a Kilnfile #371

Open
abg opened this issue Apr 4, 2023 · 3 comments
Open

Kiln/0.79.0 requires a Kilnfile #371

abg opened this issue Apr 4, 2023 · 3 comments

Comments

@abg
Copy link
Member

abg commented Apr 4, 2023

Describe the bug

$ kiln version
kiln version 0.79.0
$ kiln bake ...
2023/04/04 10:16:30 could not execute "bake": failed to open Kilnfile: open : no such file or directory

Previous versions of Kiln did not require a Kilnfile and the same bake command works with kiln v0.77.3. Was this an intentional change? I did not see any breaking changes in the release notes.

Reproduction steps

  1. Attempt to build a tile without a kilnfile using kiln v0.79.0

  2. Observe that building the tile fails when a Kilnfile is missing.

    $ kiln bake ...
    Warning: No credentials file found at ~/.kiln/credentials.yml. (hint: create this file to set default credentials. see --help for more info.)
    Warning: The "allow-only-publishable-releases" flag was not set. Some fetched releases may be intended for development/testing only. EXERCISE CAUTION WHEN PUBLISHING A TILE WITH THESE RELEASES!
    2023/04/04 10:33:54 could not execute "bake": failed to open Kilnfile: open : no such file or directory
    

Expected behavior

Expected either a breaking change in the release notes indicating this was an intentional change, or for the past behavior where tiles may continue to be built without Kilnfiles.

Additional context

Most of the internal VMware services teams that support tiles are not using Kilnfiles presently.

@abg abg added the bug label Apr 4, 2023
@cf-gitbot
Copy link
Member

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@jubenitezg
Copy link

We are having the same issue and just wanted to add more information.
Tried on kiln version 0.85.0

Additional context

We tried to add the --kilnfile flag but since we are also using the --stemcells-directory flag we get

could not execute "bake": --kilnfile cannot be provided when using --stemcells-directory

Removing the --kilnfile shows the error stated by @abg

@hsinn0
Copy link

hsinn0 commented Jun 26, 2023

We (TAS I&C) are also running into the same issue in our pipeline. We are using kiln 0.85.0.

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

No branches or pull requests

4 participants