Skip to content

Commit

Permalink
Updated geth to v1.8.21
Browse files Browse the repository at this point in the history
  • Loading branch information
eduadiez committed Jan 22, 2019
1 parent 7a4a77a commit e6faff5
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 4 deletions.
54 changes: 54 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
language: node_js
dist: trusty
sudo: required

stages:
- name: build-test
if: tag != "release"
- name: release
if: tag = "release"

jobs:
include:
# Test that it builds correctly
###############################
- stage: build-test
name: build-test
services:
- docker
script:
- docker-compose build

# Deploy stage
# - code below is common between DAppNode packages
##################################################
- stage: release
name: release
services:
- docker
script:
- npm install -g @dappnode/dappnodesdk
- docker-compose build
- dappnodesdk publish patch -p infura -a $DEV
node_js: lts/*
before_deploy:
- wget https://raw.githubusercontent.com/dappnode/DAppNode/master/scripts/before_deploy.sh
- source before_deploy.sh
deploy:
provider: releases
prerelease: true
api_key: "$GITHUB_TOKEN"
file_glob: true
# $RELEASE_VERSION is exported on before_deploy.sh
file: build_${RELEASE_VERSION}/*
skip_cleanup: true
# $TRAVIS_TAG is exported on before_deploy.sh
name: "$TRAVIS_TAG"
body: "# Changelog"
on:
branch: master
tags: true
condition: "$TRAVIS_TAG =~ ^release*$"
after_deploy:
- wget https://raw.githubusercontent.com/dappnode/DAppNode/master/scripts/after_deploy.sh
- source after_deploy.sh
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /usr/src/app

RUN apk add --no-cache make gcc musl-dev linux-headers git

ARG BRANCH=v1.8.17
ARG BRANCH=v1.8.21

RUN git clone -b $BRANCH https://github.com/ethereum/go-ethereum.git
RUN cd go-ethereum && make geth
Expand Down
4 changes: 2 additions & 2 deletions dappnode_package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rinkeby.dnp.dappnode.eth",
"version": "0.2.0",
"description": "Rinkeby chain for DAppNode based on go-ethereum v1.8.17",
"version": "0.2.1",
"description": "Rinkeby chain for DAppNode based on go-ethereum v1.8.21",
"avatar": "rinkeby.png",
"type": "library",
"image": {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.4'
services:
rinkeby.dnp.dappnode.eth:
image: 'rinkeby.dnp.dappnode.eth:0.2.0'
image: 'rinkeby.dnp.dappnode.eth:0.2.1'
build: ./build
volumes:
- 'rinkeby:/root/.ethereum/rinkeby'
Expand Down

0 comments on commit e6faff5

Please sign in to comment.