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

No arm #257

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a6ca440
Merge pull request #1 from virtualeconomy/master
faddat Sep 8, 2020
2fb4d50
Update Dependencies.scala
faddat Sep 8, 2020
43f474b
Create matrix.yml
faddat Sep 8, 2020
f73d2ad
Delete matrix.yml
faddat Sep 8, 2020
bc81d0c
Update Dependencies.scala
faddat Sep 9, 2020
c891183
Update vsys-mainnet.conf
faddat Nov 17, 2020
cfcfc4c
Update vsys-mainnet.conf
faddat Nov 23, 2020
12814d4
Merge pull request #3 from virtualeconomy/master
faddat Nov 24, 2020
7c6a46d
Update vsys-mainnet.conf
faddat Dec 10, 2020
20afa9a
Merge remote-tracking branch 'origin/patch-10' into patch-15
faddat Dec 10, 2020
66a73d1
added pi support
faddat Dec 10, 2020
2efc659
paths
faddat Dec 10, 2020
ccc29a5
paths
faddat Dec 10, 2020
253cb3e
add Dockerfile and fix pi
faddat Dec 10, 2020
5ff00cb
change installed packages
faddat Dec 10, 2020
e3a2965
Update Dockerfile
faddat Dec 10, 2020
df5287d
Update build.yml
faddat Dec 12, 2020
ce45e1d
Update build.yml
faddat Dec 12, 2020
c05c705
update config and Dockerfile to copy
Dec 12, 2020
a991b6c
Update build.yml
faddat Dec 12, 2020
932506f
Delete pi.yml
faddat Dec 12, 2020
fc00be2
Merge branch 'pi' of https://github.com/faddat/v-systems into pi
Dec 12, 2020
58cb7e5
Update and rename build.yml to build-docker.yml
faddat Dec 12, 2020
4c29bb2
Create build.yml
faddat Dec 12, 2020
7069c76
Update build.yml
faddat Dec 12, 2020
df5504a
Merge pull request #4 from faddat/pi
faddat Dec 12, 2020
7837278
Update vsys-mainnet.conf
faddat Dec 12, 2020
ff262d1
Update README.md
faddat Dec 22, 2020
bdb4e43
Update Dockerfile
faddat Dec 22, 2020
edcafb3
Badge
faddat Dec 29, 2020
6024f0f
Removed ARM/rpi support
faddat Jan 9, 2021
a5647a4
Merge pull request #6 from faddat/sonarcloud
faddat Jan 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Build VSYS + Update Dockerr Image
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: install scala
run: |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install -y sbt

- uses: actions/checkout@v2

- name: Build and Package
run: sbt packageAll

- uses: actions/upload-artifact@v2
with:
name: jar
path: target/vsys-all-0.3.2.jar

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes --credential yes

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest

- name: Available platforms
run: echo ${{ steps.buildx.outputs.platforms }}

- name: docker build and push
run: |
cp target/vsys-all-0.3.2.jar .pi
cd .pi
docker buildx build --platform linux/amd64 --tag faddat/vsys --push .






35 changes: 17 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# This matrix builds VSYS with various JDKs and will be expanded to cover many more cases.

name: Build VSYS
on: [push,pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: install scala
run: |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install -y sbt
runs-on: ubuntu-latest
steps:
- name: install scala
run: |
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install -y sbt

- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Build and Package
run: sbt packageAll



- name: Build and Package
run: sbt packageAll

- uses: actions/upload-artifact@v2
with:
name: jar
path: target/vsys-all-0.3.2.jar
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ localsettings.json
*.csv
*.dat

# standalone docker
Dockerfile

# logs
*.log
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# V Systems [![Build Status](https://travis-ci.org/virtualeconomy/v-systems.svg?branch=master)](https://travis-ci.org/virtualeconomy/v-systems) [![Code Coverage](https://codecov.io/gh/virtualeconomy/v-systems/branch/master/graph/badge.svg?sanitize=true)](https://codecov.io/gh/virtualeconomy/v-systems/branch/master)
# V Systems [![Build Status](https://travis-ci.org/virtualeconomy/v-systems.svg?branch=master)](https://travis-ci.org/virtualeconomy/v-systems) [![Code Coverage](https://codecov.io/gh/virtualeconomy/v-systems/branch/master/graph/badge.svg?sanitize=true)](https://codecov.io/gh/virtualeconomy/v-systems/branch/master) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=faddat_v-systems&metric=alert_status)](https://sonarcloud.io/dashboard?id=faddat_v-systems)

[V Systems](https://v.systems) is a public blockchain that brings real-world businesses into the virtual economy.

Expand All @@ -8,13 +8,15 @@ The code in master branch is under development. The latest release for each netw

## Installation

[Mainnet](https://github.com/virtualeconomy/v-systems/wiki/How-to-install-V-Systems-mainnet-Node)
**Mainnet**
```bash
docker run faddat/vsys /usr/sbin/java -jar /v-systems/vsys-all-0.3.2.jar /v-systems/vsys-mainnet.conf
```

[Testnet](https://github.com/virtualeconomy/v-systems/wiki/How-to-Install-V-Systems-Testnet-Node)

## Documentation

We maintain an extensive [Wiki](https://github.com/virtualeconomy/v-systems/wiki) that covers most topics. If there's something you need to know that isn't covered there, please ask us either by filing an issue [here](https://github.com/virtualeconomy/v-systems/issues) or make a post on our [forum](https://forum.v.systems/). We're happy to help with anything!
**Testnet**
```bash
docker run faddat/vsys /usr/sbin/java -jar /v-systems/vsys-all-0.3.2.jar /v-systems/vsys-testnet.conf
```

## Compiling Packages from source

Expand Down
23 changes: 17 additions & 6 deletions vsys-mainnet.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ vsys {

# P2P Network settings
network {
known-peers = ["13.55.174.115:9921","13.52.40.227:9921","13.113.98.91:9921","3.121.94.10:9921"]
# Peers that will be used to bootstrap your node and connect to the VSYS network.
known-peers = ["13.55.174.115:9921","13.52.40.227:9921","13.113.98.91:9921","3.121.94.10:9921","139.180.188.135:9921","66.42.55.2:9921","139.180.128.42:9921","66.42.56.102:9921","45.76.158.217:9921","149.248.60.249:9921"]


# How many network inbound network connections can be made
max-inbound-connections = 120

# Number of outbound network connections
max-outbound-connections = 120

# Network buffer size
outbound-buffer-size = 128M

black-list-residence-time = 30s

Expand All @@ -23,8 +34,8 @@ vsys {
# Port number
port = 9921

# Node name to send during handshake. Comment this string out to set random node name.
# node-name = "My MAINNET node"
# Naming your node makes our network look friendlier! Give your node a name :) and uncomment node-name.
node-name = "Graviton"

# String with IP address and port to send as external address during handshake. Could be set automatically if uPnP is enabled.
declared-address = "localhost:9921"
Expand Down Expand Up @@ -60,18 +71,18 @@ vsys {
# Node's REST API settings
rest-api {
# Disable node's REST API
enable = no
enable = yes

# For security reasons, bind to local interface only
bind-address = "127.0.0.1"

# Port to listen to REST API requests
# port = 9922
port = 9922

# Hash of API key string
api-key-hash = "your own api key's hash"

}

checkpoints.public-key = "A9MX22tXpNdTTx5wBf3CunZz299c1nnca6kH3MzL312L"
}
}