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

Switch from hash to tag #2287

Merged
merged 21 commits into from
Apr 1, 2019
Merged

Switch from hash to tag #2287

merged 21 commits into from
Apr 1, 2019

Conversation

sabau
Copy link
Contributor

@sabau sabau commented Mar 15, 2019

Description:

  • Use Tags

Thank you! 🚀


For contributor:

  • Added entries in PENDING.md with issue # and GitHub username
  • Reviewed Files changed in the github PR explorer
  • Attach screenshots of the UI components on the PR description (if applicable)
  • Scope of work approved for big PRs

For reviewer:

  • Manually tested the changes on the UI

Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
@codecov
Copy link

codecov bot commented Mar 15, 2019

Codecov Report

Merging #2287 into develop will not change coverage.
The diff coverage is n/a.

@@           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>
tasks/build/Gaia/COMMIT.sh Outdated Show resolved Hide resolved
tasks/build/Gaia/COMMIT.sh Outdated Show resolved Hide resolved
Co-Authored-By: faboweb <frznhope@gmail.com>
# explicit hash instead of a tag so we don't have to trust GitHub.
export COMMIT=4c5038018163fbb51ad882c0505df4958dec2ea8
export COMMIT=v0.33.0
Copy link
Collaborator

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?

Copy link
Contributor

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 to VERSION

Copy link
Contributor Author

@sabau sabau Mar 20, 2019

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

Copy link
Contributor

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 ?

@jbibla
Copy link
Collaborator

jbibla commented Mar 20, 2019

@sabau looks like a small change is required before we merge

fedekunze
fedekunze previously approved these changes Mar 26, 2019
@faboweb
Copy link
Collaborator

faboweb commented Mar 26, 2019

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>
@sabau
Copy link
Contributor Author

sabau commented Mar 28, 2019

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/*
Copy link
Contributor

Choose a reason for hiding this comment

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

why linux?

Copy link
Collaborator

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
Copy link
Contributor

Choose a reason for hiding this comment

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

why linux only?

Copy link
Contributor Author

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

Copy link
Contributor

Choose a reason for hiding this comment

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

is that documented somewhere ?

Copy link
Contributor Author

@sabau sabau Mar 30, 2019

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>

Copy link
Contributor

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

tested ACK !

@fedekunze fedekunze merged commit 32f6103 into develop Apr 1, 2019
@fedekunze fedekunze deleted the sabau/use-tags branch April 1, 2019 11:25
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.

4 participants