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

[BUG]: The get-architectures job does not support projects that don't specify the architectures and platforms property #44

Open
brlin-tw opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@brlin-tw
Copy link

brlin-tw commented Aug 22, 2024

What changes would you like?

Currently, the get-architectures workflow will return an empty array on projects that have snapcraft.yaml not declaring any platforms and architectures, making the release-to-candidate workflow error with the following message:

Error when evaluating 'strategy' for job 'release'. .github/workflows/release-to-edge.yaml (Line: 36, Col: 23): Matrix vector 'architecture' does not contain any values

It should rather return the full list of architectures that Launchpad supports building on that base, which matches the behavior of snapcraft.io/build

Any extra information?

No response

@brlin-tw brlin-tw added the enhancement New feature or request label Aug 22, 2024
@brlin-tw brlin-tw changed the title [Enhancement]: Support projects that doesn't specify the architectures and platforms property [BUG]: The get-architectures workflow does not support projects that don't specify the architectures and platforms property Aug 22, 2024
@brlin-tw brlin-tw changed the title [BUG]: The get-architectures workflow does not support projects that don't specify the architectures and platforms property [BUG]: The get-architectures job does not support projects that don't specify the architectures and platforms property Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant