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

feat: update Go base alpine - add branch in makefile #2414

Merged
merged 4 commits into from
Jun 30, 2023
Merged

feat: update Go base alpine - add branch in makefile #2414

merged 4 commits into from
Jun 30, 2023

Conversation

tty47
Copy link
Contributor

@tty47 tty47 commented Jun 29, 2023

hello team!

This PR contains a couple of things:

  • Update the base version of Go Alpine to golang:1.20-alpine3.18
  • In the Makefile, I've added the following line:
main.semanticVersion=$(shell git describe --tags --dirty=-dev 2>/dev/null || git rev-parse --abbrev-ref HEAD)'"

Basically what it does is, in case this commit doesn't contain any tag, it uses the branch name.

At the moment we are having some issues using the flag version, the output command is:

Screenshot 2023-06-29 at 17 24 22

With this change, we'll have something like:

Screenshot 2023-06-29 at 17 08 17

Already tested

Let me know what you think about it and if it's worth it 😊

Thanks in advance! 🚀

Jose Ramon Mañes

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
@tty47 tty47 self-assigned this Jun 29, 2023
@github-actions github-actions bot added the external Issues created by non node team members label Jun 29, 2023
@tty47 tty47 added docker Pull requests that update Docker code and removed external Issues created by non node team members labels Jun 29, 2023
@tty47 tty47 requested review from sysrex, Bidon15 and smuu June 29, 2023 15:27
@codecov-commenter
Copy link

Codecov Report

Merging #2414 (7209c6e) into main (4d98694) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2414   +/-   ##
=======================================
  Coverage   53.05%   53.05%           
=======================================
  Files         156      156           
  Lines        9915     9915           
=======================================
  Hits         5260     5260           
- Misses       4199     4200    +1     
+ Partials      456      455    -1     

see 6 files with indirect coverage changes

Copy link
Member

@vgonkivs vgonkivs left a comment

Choose a reason for hiding this comment

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

🚀

@renaynay renaynay added this pull request to the merge queue Jun 30, 2023
Merged via the queue into celestiaorg:main with commit 44786bb Jun 30, 2023
10 of 13 checks passed
renaynay added a commit to renaynay/celestia-node that referenced this pull request Jul 4, 2023
hello team!

This PR contains a couple of things:
- Update the base version of Go Alpine to `golang:1.20-alpine3.18`
- In the Makefile, I've added the following line:

```Makefile
main.semanticVersion=$(shell git describe --tags --dirty=-dev 2>/dev/null || git rev-parse --abbrev-ref HEAD)'"
```
Basically what it does is, in case this commit doesn't contain any tag,
it uses the branch name.

At the moment we are having some issues using the flag `version`, the
output command is:

![Screenshot 2023-06-29 at 17 24
22](https://github.com/celestiaorg/celestia-node/assets/32740567/b6b6f948-fcec-4157-920e-0a9863b8d11f)


With this change, we'll have something like:

![Screenshot 2023-06-29 at 17 08
17](https://github.com/celestiaorg/celestia-node/assets/32740567/7d2de807-f014-444d-8917-6ec45a9d9750)

*Already tested*

Let me know what you think about it and if it's worth it 😊 

Thanks in advance! 🚀 

Jose Ramon Mañes

---------

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
Co-authored-by: rene <41963722+renaynay@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker Pull requests that update Docker code kind:chore
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants