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

chore(ci): remove dependency on scripts/ci.go #1964

Merged
merged 8 commits into from
Nov 3, 2021
Merged

Conversation

qdm12
Copy link
Contributor

@qdm12 qdm12 commented Nov 2, 2021

Changes

  • Remove unused scripts/ci.sh
  • Dockerfile: build Go binary without scripts/ci.go
  • Build Go binary with -trimpath
  • Makefile:
    • remove outdated ci.go test from Makefile
    • build binary without scripts/ci.go
    • build binary without changing directory
    • install binary by executing build target and just mv the built binary

Tests

Whole CI passing

Issues

Related to a CI issue Omar had with go install vs go build.

Primary Reviewer

- Remove outdated ci.go test
- Build binary with `-trimpath`
- Build binary without changing directory
- Install binary by executing build step and moving built binary
@codecov
Copy link

codecov bot commented Nov 3, 2021

Codecov Report

Merging #1964 (42eb38f) into development (7a66592) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development    #1964   +/-   ##
============================================
  Coverage        60.27%   60.27%           
============================================
  Files              180      180           
  Lines            18189    18189           
============================================
+ Hits             10963    10964    +1     
+ Misses            5415     5410    -5     
- Partials          1811     1815    +4     
Flag Coverage Δ
unit-tests 60.27% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
dot/network/service.go 69.09% <0.00%> (-1.17%) ⬇️
dot/core/service.go 52.91% <0.00%> (-0.78%) ⬇️
lib/grandpa/grandpa.go 59.45% <0.00%> (-0.33%) ⬇️
dot/network/connmgr.go 79.64% <0.00%> (+0.88%) ⬆️
dot/state/block_notify.go 89.18% <0.00%> (+10.81%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7a66592...42eb38f. Read the comment docs.

Makefile Show resolved Hide resolved
Copy link
Contributor

@omar391 omar391 left a comment

Choose a reason for hiding this comment

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

lgtm!

@qdm12 qdm12 merged commit 887be9e into development Nov 3, 2021
@qdm12 qdm12 deleted the qdm12-ci-ci.go branch November 3, 2021 15:44
@github-actions
Copy link

github-actions bot commented Dec 3, 2021

🎉 This PR is included in version 0.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

timwu20 pushed a commit to timwu20/gossamer that referenced this pull request Dec 6, 2021
- Remove unused `scripts/ci.sh`
- Dockerfile: build Go binary without `scripts/ci.go`
- Build Go binary with `-trimpath`
- Makefile:
  - remove outdated `ci.go test` from Makefile
  - build binary without `scripts/ci.go`
  - build binary without changing directory
  - `install` binary by executing `build` target and just `mv` the built binary
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.

None yet

3 participants