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

Incomplete Build Created Output #397

Open
sj26 opened this issue Nov 18, 2024 · 9 comments
Open

Incomplete Build Created Output #397

sj26 opened this issue Nov 18, 2024 · 9 comments

Comments

@sj26
Copy link
Member

sj26 commented Nov 18, 2024

I did a bk build new today and it says build created but looks like it's meant to have some output - maybe a build link?

image
@sj26
Copy link
Member Author

sj26 commented Nov 18, 2024

I tried one of these and it opened the current folder instead of my web browser 🙃

image

@sj26
Copy link
Member Author

sj26 commented Nov 18, 2024

I think because it's not actually starting a build successfully 🤔

How do I debug this? I can't see a "verbose" mode or anything, to see the request/response cycle?

@mcncl
Copy link
Contributor

mcncl commented Nov 19, 2024

Hmm, this seems to be the case if the --pipeline doesn't exist in the org that you're using. It should output an error instead of a blank URL.

@sj26
Copy link
Member Author

sj26 commented Nov 19, 2024

I have a ~/.config/bk.yaml like:

image

Both have read_* and write_builds scopes. They were configured through bk configure ...

The problem happens even when I supply the org in the pipeline param:

image

@mcncl
Copy link
Contributor

mcncl commented Nov 19, 2024

I think you may be using packagecloud and so it cannot find the pipeline buildkite, if you run bk use it should let you pick buildkite which should then allow the command to run.

@sj26
Copy link
Member Author

sj26 commented Nov 19, 2024

Yeah, looks like that works:

image

That seems to have made a .bk.yaml in my local directory?

I would have expected --pipeline=buildkite/buildkite to figure out the org 🤔

I'd love see some documentation or in-cli hints to help me with this stuff.

@mcncl
Copy link
Contributor

mcncl commented Nov 20, 2024

Appreciate the feedback @sj26! I'll write up some improvements we can make with regards to user feedback and general logic of the CLI

@mcncl
Copy link
Contributor

mcncl commented Nov 25, 2024

@sj26 the lack of error should be fixed in #402; it won't output a blank URL, rather the API error

@mcncl
Copy link
Contributor

mcncl commented Nov 25, 2024

We'll have to look in to correctly parsing the buildkite/buildkite --pipeline input.

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

No branches or pull requests

2 participants