diff --git a/pipeline/snapcraft/snapcraft.go b/pipeline/snapcraft/snapcraft.go index 913005015..e9e25ebf6 100644 --- a/pipeline/snapcraft/snapcraft.go +++ b/pipeline/snapcraft/snapcraft.go @@ -92,6 +92,10 @@ func (Pipe) Run(ctx *context.Context) error { ).GroupByPlatform() { sem <- true arch := linux.Arch(platform) + if arch == "armel" { + log.WithField("arch", arch).Warn("ignored unsupported arch") + continue + } binaries := binaries g.Go(func() error { go func() { diff --git a/pipeline/snapcraft/snapcraft_test.go b/pipeline/snapcraft/snapcraft_test.go index 5a31c5698..39e33476a 100644 --- a/pipeline/snapcraft/snapcraft_test.go +++ b/pipeline/snapcraft/snapcraft_test.go @@ -173,7 +173,7 @@ func TestDefaultSet(t *testing.T) { func addBinaries(t *testing.T, ctx *context.Context, name, dist string) { for _, goos := range []string{"linux", "darwin"} { - for _, goarch := range []string{"amd64", "386"} { + for _, goarch := range []string{"amd64", "386", "arm6"} { var folder = goos + goarch assert.NoError(t, os.Mkdir(filepath.Join(dist, folder), 0755)) var binPath = filepath.Join(dist, folder, name)