fix(startup): only show the "using latest tag" warning on relevant images#2718
fix(startup): only show the "using latest tag" warning on relevant images#2718TPXP wants to merge 3 commits intoactions:masterfrom
Conversation
…ages We'll set the SHOW_LATEST_TAG_WARN env var for images build with the latest tag only (see PR on the releases repo). Since the warning is now only shown in relevant cases, bump its severity.
|
@Link- Hello, thanks for your work on this repo! This PR has been open for a while, is there anything I can do to help getting it merged? |
|
@TPXP - these runner images including the startup script are maintained by @mumoshu. My 2 cents are that this type of warnings is not good to ship. We expect a certain level of experience when adopting a solution like ARC and we don't want to be throwing warnings for every trivial matter. It's valid to use the latest tag, albeit not advisable, and I expect end-users to be aware what they're getting into here. |
|
@Link- Thanks for your feedback, I just wish to clarify that the warning is currently raised unconditionally in the current version, which adds confusion over unneeded noise in the logs. If you prefer not to have any warning raised even when using the latest tag, could we just drop the warning from the script? actions-runner-controller/runner/startup.sh Lines 176 to 177 in c8216e1 |
|
I'll let @mumoshu weigh in on this ☝️ |
|
@mumoshu Hello there, any updates? |
|
@TPXP Sorry for the delay! Yeah, let's drop it and update our |
We'll set the SHOW_LATEST_TAG_WARN env var for images build with the latest tag only (see PR on the releases repo).
Since the warning is now only shown in relevant cases, bump its severity.
See corresponding PR for the build pipeline actions-runner-controller/releases#11