-
Notifications
You must be signed in to change notification settings - Fork 100
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
Switch from hash to tag #2287
Switch from hash to tag #2287
Conversation
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Codecov Report
@@ Coverage Diff @@
## develop #2287 +/- ##
========================================
Coverage 96.42% 96.42%
========================================
Files 106 106
Lines 2403 2403
Branches 129 129
========================================
Hits 2317 2317
Misses 66 66
Partials 20 20 |
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Co-Authored-By: faboweb <frznhope@gmail.com>
tasks/build/Gaia/COMMIT.sh
Outdated
# explicit hash instead of a tag so we don't have to trust GitHub. | ||
export COMMIT=4c5038018163fbb51ad882c0505df4958dec2ea8 | ||
export COMMIT=v0.33.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we move this someplace more obvious while we are on it? Like on in config.js
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- renaming the file from
COMMIT
toVERSION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the problem is that this is used only in bash / CI, I would prefer to have it either sh or just a file with the string I will put in the TAG variable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kk let's create an issue for that ?
@sabau looks like a small change is required before we merge |
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
e2e breaking |
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Fixed it! sorry I stopped working on this in favour of Browserstack, but was just two export missing |
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
# - store_artifacts: | ||
# path: builds/Gaia/linux_amd64/* | ||
- store_artifacts: | ||
path: builds/Gaia/linux_amd64/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why linux?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the circle ci environment docker we run in is linux I suppose
- run: | | ||
if [ ! -d /tmp/gaia ]; then | ||
cd tasks/build/Gaia | ||
. ./COMMIT.sh | ||
TARGET=/tmp/gaia PLATFORM=linux ./build.sh | ||
TAG=`cat ./VERSION` TARGET=/tmp/gaia PLATFORM=linux ./build.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why linux only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It runs on top of alpine so it's the only supported OS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that documented somewhere ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's maybe not that straightforward now that you ask.
we are using the official circleci/golang:1.11
that is built on top of golang:1.11.1
that is built on top of alpine:3.8
but the nice idea was to remove all of those and the build too, and simply use
tendermint/gaia:<TAG>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested ACK !
Description:
Thank you! 🚀
For contributor:
PENDING.md
with issue # and GitHub usernameFiles changed
in the github PR explorerFor reviewer: