-
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
Merged
Merged
Switch from hash to tag #2287
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
62a6f5b
switch from hash to tag
sabau e571c78
fix pull number
sabau 31cea93
Update tasks/build/Gaia/COMMIT.sh
fedekunze ad7e71b
Merge branch 'develop' into sabau/use-tags
sabau 9e1de18
Update PENDING.md
fedekunze 80f7d02
Merge branch 'develop' into sabau/use-tags
fedekunze 837984c
Merge branch 'develop' into sabau/use-tags
sabau 0034111
Merge branch 'develop' into sabau/use-tags
fedekunze 9322266
Update PENDING.md
fedekunze 56f1a1f
switch from COMMIT.sh to VERSION
sabau bf74948
Merge remote-tracking branch 'origin/sabau/use-tags' into sabau/use-tags
sabau d7f05f8
export TAG
sabau 5a86e91
reset cache
sabau 705a237
set tag for building
sabau 3b15ceb
restore cache
sabau a30b11b
Merge branch 'develop' into sabau/use-tags
sabau 57e6bf7
lowercase gaia for caching
sabau e46f3e5
Merge remote-tracking branch 'origin/sabau/use-tags' into sabau/use-tags
sabau d8e449c
fix indentation for updloading artifacts
sabau d02d49a
Merge branch 'develop' into sabau/use-tags
sabau e491f99
Merge branch 'develop' into sabau/use-tags
fedekunze File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,31 +124,28 @@ jobs: | |
paths: | ||
- app/dist | ||
|
||
# Build Gaia from the SDK source code specified by tasks/build/Gaia/COMMIT.sh. | ||
# Build Gaia from the SDK source code specified by tasks/build/Gaia/VERSION | ||
buildGaia: | ||
executor: go | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: v8-Gaia-{{ checksum "tasks/build/Gaia/COMMIT.sh" }} | ||
|
||
# If Gaia isn't in the cache then build it. | ||
key: v8-gaia-{{ checksum "tasks/build/Gaia/VERSION" }} | ||
- 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 | ||
fi | ||
- save_cache: | ||
key: v8-Gaia-{{ checksum "tasks/build/Gaia/COMMIT.sh" }} | ||
key: v8-gaia-{{ checksum "tasks/build/Gaia/VERSION" }} | ||
paths: | ||
- *GAIA | ||
- persist_to_workspace: | ||
root: *GAIA | ||
paths: | ||
- "*" | ||
# - 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 commentThe 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 commentThe reason will be displayed to describe this comment to others. Learn more. the circle ci environment docker we run in is linux I suppose |
||
|
||
pendingUpdated: | ||
executor: node | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Changed] [\#2287](https://github.com/cosmos/voyager/pull/2287) Use tags instead of commit hash @sabau |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v0.33.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh | ||
git clone /mnt/.git . | ||
git checkout $COMMIT | ||
git checkout $TAG | ||
yarn install | ||
ln --symbolic /mnt/builds | ||
node tasks/build/build.js "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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>