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

workflows: enable arm64 and darwin binary builds #132

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

roman-khimov
Copy link
Member

We already provide linux/arm64 Docker image.

We already provide linux/arm64 Docker image.

Signed-off-by: Roman Khimov <[email protected]>
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 3.09%. Comparing base (3ed9736) to head (04e684d).
Report is 5 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #132   +/-   ##
======================================
  Coverage    3.09%   3.09%           
======================================
  Files          18      18           
  Lines         970     970           
======================================
  Hits           30      30           
  Misses        938     938           
  Partials        2       2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@roman-khimov
Copy link
Member Author

@mike-petrov, can you try (./neo-exporter-linux-amd64 -config file) a darwin-arm64 binary from https://github.com/nspcc-dev/neo-exporter/actions/runs/8822470688?pr=132 with this configuration?

chain:
  fschain: true
  rpc:
    endpoint:
    - https://rpc1.morph.fs.neo.org:40341
    - https://rpc2.morph.fs.neo.org:40341
    - https://rpc3.morph.fs.neo.org:40341
    - https://rpc4.morph.fs.neo.org:40341
    - https://rpc5.morph.fs.neo.org:40341
    - https://rpc6.morph.fs.neo.org:40341
    - https://rpc7.morph.fs.neo.org:40341
contracts:
  neofs: 2cafa46838e8b564468ebd868dcafdd99dce6221
logger:
  level: info
metrics:
  endpoint: localhost:16513
  interval: 15s

It should provide metrics on http://localhost:16513/

@mike-petrov
Copy link

@roman-khimov I tried neo-exporter-darwin-arm64 with file config and got:

(base) mikepetrov@macbook-mike Downloads % ./neo-exporter-darwin-arm64 -config file
{"level":"info","ts":"2024-04-25T16:02:34.521+0300","caller":"neo-exporter/main.go:49","msg":"application started","version":"v0.11.0-9-gf841b223"}

but http://localhost:16513/ shows: This page isn’t working

@mike-petrov
Copy link

I change port to 16512 and now it works! for neo-exporter-darwin-amd64 and neo-exporter-darwin-arm64:

image

Copy link

@mike-petrov mike-petrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@roman-khimov roman-khimov merged commit 604ea62 into master Apr 25, 2024
17 checks passed
@roman-khimov roman-khimov deleted the enable-arm64-and-darwin branch April 25, 2024 13:32
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

Successfully merging this pull request may close these issues.

2 participants