Skip to content

Bug: not uploading arm binaries to [coder-host]/bin #1338

Closed

Description

@bpmct

OS Information

  • OS: Debian, armv7
  • coder --version:
    benpotter@elijo:~/docker-local $ coder --version
    Coder v0.5.4-devel+ad8d9dd Fri May  6 20:45:18 UTC 2022
    https://github.com/coder/coder/commit/ad8d9dd71a3e3672e78d48058f29bbe5b251bdfb

Steps to Reproduce

  1. Start Coder with coder server or coder server --dev
  2. Navigate to http://coder-access-url]/bin
  3. Notice the lack of ARM binaries

Notes

This is likely the culprit:

coder/.goreleaser.yaml

Lines 29 to 39 in ad8d9dd

- id: coder-slim
dir: cmd/coder
ldflags:
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
env: [CGO_ENABLED=0]
goos: [darwin, linux, windows]
goarch: [amd64]
hooks:
# The "trimprefix" appends ".exe" on Windows.
post: |
cp {{.Path}} site/out/bin/coder-{{ .Os }}-{{ .Arch }}{{ trimprefix .Name "coder" }}

Activity

  1. self-assigned this
    on May 9, 2022
  2. im-coder-lg commented on May 9, 2022

    @im-coder-lg
    Contributor
  3. bpmct commented on May 9, 2022

    @bpmct
    MemberAuthor

    I think this will take a bit of work. We can make a one-line change to goarch to include arm files, but we also need to add start script support for ARM in the go code

  4. bpmct commented on May 11, 2022

    @bpmct
    MemberAuthor

    fixed in #1337

  5. added this to the V2 Beta milestone on May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions