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

Broken Build: Project file 'snapcraft.yaml' not found #317

Closed
jimafisk opened this issue Apr 29, 2024 · 3 comments
Closed

Broken Build: Project file 'snapcraft.yaml' not found #317

jimafisk opened this issue Apr 29, 2024 · 3 comments

Comments

@jimafisk
Copy link
Member

Broken build:
https://github.com/plentico/plenti/actions/runs/8883147263/job/24389561774

Error message:

release failed after 1m17s
error=failed to generate snap package: exit status 66: Project file 'snapcraft.yaml' not found in '/home/runner/work/plenti/plenti'.
Recommended resolution: Ensure the project file exists.
Full execution log: '/home/runner/.local/state/snapcraft/log/snapcraft-20240429-180224.885940.log'

Error: The process '/opt/hostedtoolcache/goreleaser-action/1.25.1/x64/goreleaser' failed with exit code 1

Context:
We just enabled a multi-step build process in order to install a root CA certificate to fix TLS errors in CI (#316).

Problem:
There seems to be a race condition: goreleaser/goreleaser#1715

@jimafisk jimafisk changed the title Project file 'snapcraft.yaml' not found Broken Build: Project file 'snapcraft.yaml' not found Apr 29, 2024
@jimafisk
Copy link
Member Author

Seems like other folks are having the same issue: goreleaser/goreleaser#4816

@jimafisk
Copy link
Member Author

I was having trouble installing a specific, older version of snapcraft, so the easiest thing to do was just to remove snap support for now.

Once there's a fix, we can add snap support back in: canonical/snapcraft#4769

jimafisk added a commit that referenced this issue May 11, 2024
@jimafisk
Copy link
Member Author

jimafisk commented May 11, 2024

This was fixed in snapcraft 8.2.6: canonical/snapcraft#4769 (comment)

I've added snapcraft support back in and it should be available in v0.6.46

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

1 participant