balena-nodejs-hello-world icon indicating copy to clipboard operation
balena-nodejs-hello-world copied to clipboard

Explicitly set version in balena.yml

Open shaunmulligan opened this issue 1 year ago • 8 comments

If you push the current project without having the version defined, it won't allow you to add it later. There appears to be some issue with caching in the builder, so using --no-cache will fix the behaviour, but I think we should add this explicitly so the user can have it working from the start and as its easy to learn from seeing it present in the file.

shaunmulligan avatar Mar 25 '24 10:03 shaunmulligan

hey @vipulgupta2048 how can I re-trigger this now as I am a member of balena-io-examples now

shaunmulligan avatar Mar 26 '24 12:03 shaunmulligan

@shaunmulligan Click the Details button of the the failed workflow below, click Retry Jobs button on the top right to retry the whole job and GitHub should run the entire workflow again for your PR

vipulgupta2048 avatar Mar 26 '24 18:03 vipulgupta2048

Sorry @vipulgupta2048 I am probably being daft, but when I follow the Details link I can see all the jobs in flowzone but there isn't any button to Retry Jobs :(

shaunmulligan avatar Mar 27 '24 10:03 shaunmulligan

@shaunmulligan You are not being daft. Take your time; I wrote the instructions for the button out of memory, it's called re-run jobs. Do you see a re-run jobs button like the one I pointed out in the screenshot below on the top right corner after clicking the Details button.

Screenshot 2024-03-28 at 7 56 50 PM

If you don't, then maybe send a screenshot or I can trigger it for you

vipulgupta2048 avatar Mar 29 '24 03:03 vipulgupta2048

Also, are you sure the membership has been created? I still don't see you, this could be the reason why you can't see the retry button.

Screenshot 2024-03-29 at 8 59 50 AM

vipulgupta2048 avatar Mar 29 '24 03:03 vipulgupta2048

Okay, I'm now properly part of the membership. For some reason it took me a while to actually find the invite. It wasn't in my notifications or inbox 🙄

shaunmulligan avatar Apr 01 '24 09:04 shaunmulligan

Hey @vipulgupta2048 It seems something is still missing, managed to re-run things but getting this error:

Error: External workflows can not be used with 'pull_request' events.   Please contact a member of the organization for assistance.

Do you know what the problem is here?

shaunmulligan avatar Apr 01 '24 09:04 shaunmulligan

@balena-ci I self-certify!

vipulgupta2048 avatar Apr 03 '24 06:04 vipulgupta2048

@vipulgupta2048 I'll actually close this because it looks like the version was added to balena.yml here: https://github.com/balena-io-examples/balena-nodejs-hello-world/commit/4045ba0be539a0fe326d5b4cb925775828c1cb72#diff-8448e809945865b05ca68634bac731b7197e4631eebe6531f849cb56918e6908

shaunmulligan avatar Apr 19 '24 10:04 shaunmulligan