-
Notifications
You must be signed in to change notification settings - Fork 243
Update to ipfs v0.5.0 #170
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3f12b3a
Update to fix breaking change in ipfs v0.5.0
ianopolous 710c4ed
Update to fix breaking change in ipfs v0.5.0
ianopolous e69db95
Fix test
ianopolous cfe967e
Update java and ipfs in CI
ianopolous 65ddb42
Fix object call which no longer tolerates other fields
ianopolous f83a495
Attempt to use github CI
ianopolous 7c2c60c
Fix github CI?
ianopolous 62a7348
make script executable
ianopolous be119b8
Update test
ianopolous cd8134e
print test errors in CI
ianopolous 2cf8266
Fix test in CI environment
ianopolous b40bcb1
Remove travis
ianopolous 5a6a978
Expand tests
ianopolous fe6db8c
Upgrade to ipfs v0.6.0 in CI
ianopolous a992fe6
Add block.rm command
ianopolous 86650be
Ignore ipfs timeouts in publish
ianopolous 43b8890
use test config for ipfs
ianopolous 51683d5
Make timeouts configurable
ianopolous 4371bbd
fix maven dependencies
ianopolous fc82516
bump multiaddr version to fix maven
ianopolous 74062b0
update docker compose ipfs version
ianopolous f092411
fix: missing deps during tests
lidel 676ed5b
Remove max time on pubsub test.
ianopolous fce310d
Remove spurious classpath entries for tests
ianopolous e909b6e
Make sure names of failing tests are printed to github console
ianopolous 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 hidden or 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,22 @@ | ||
name: Java CI | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Install and run ipfs | ||
run: ./install-run-ipfs.sh | ||
- name: Build with Ant | ||
run: ant -noinput -buildfile build.xml dist | ||
- name: Run tests | ||
timeout-minutes: 10 | ||
run: ant -noinput -buildfile build.xml test | ||
ianopolous marked this conversation as resolved.
Show resolved
Hide resolved
|
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,6 @@ | ||
#! /bin/sh | ||
wget https://dist.ipfs.io/go-ipfs/v0.6.0/go-ipfs_v0.6.0_linux-amd64.tar.gz -O /tmp/go-ipfs_linux-amd64.tar.gz | ||
tar -xvf /tmp/go-ipfs_linux-amd64.tar.gz | ||
export PATH=$PATH:$PWD/go-ipfs/ | ||
ipfs init | ||
ipfs daemon --enable-pubsub-experiment --routing=dhtclient & |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or 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 hidden or 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,10 @@ | ||
#!/bin/bash | ||
# | ||
# Read junit test-reports and print a summary of the error-cases, including the stack trace. | ||
# Will exit with status 1 if there are any errors, otherwise exit status 0. | ||
# | ||
# By default will scan all files in "./test.reports". | ||
# | ||
# Usage "./print_test_errors.sh <test-report-path> | ||
# | ||
awk '/<(failure|error)/,/\/(failure|error)/ {print prev; has_err=1} {prev=$0} END {exit has_err}' ${1:-test.reports/*} |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.