Open rvagg opened 2 years ago
- How on earth these dodgy configs got built and pushed in the first place, snapcraft.yml.sh shouldn't be able to do this, it's picking up a bad
version
from somewhere and letting that get through, it should error out or ideally not even pick up a bad version in the first place!
My best guess is that this is linked to reports of the website returning 500 errors -- @ljharb reported them again yesterday (in Slack) and snapcraft.yml.sh
not having pipefail set to catch errors fetching the index tabs in these lines:
https://github.com/nodejs/snap/blob/ca6a7c5550e5199d86096d67f752c02fcb39b3a8/snapcraft.yaml.sh#L13
https://github.com/nodejs/snap/blob/ca6a7c5550e5199d86096d67f752c02fcb39b3a8/snapcraft.yaml.sh#L35
Got a slew of failures in my inbox today that I don't have time to fully investigate right now. I've looked at a couple of the failure logs, one for 17 and one for 18, and I think they're likely all the same, here's one for 18:
https://launchpadlibrarian.net/599646903/buildlog_snap_ubuntu_focal_armhf_node18_BUILDING.txt.gz
Current config looks good: https://github.com/nodejs/snap/blob/node18/snapcraft.yaml
But the previous update doesn't! https://github.com/nodejs/snap/commit/d3a364b9ccccf091de29c1d8675193db62c42de9, it's missing the
version
. That's weird, and a problem.Need to investigate:
version
from somewhere and letting that get through, it should error out or ideally not even pick up a bad version in the first place!