Skip to content

Commit

Permalink
Merge pull request #18 from NebraLtd/master
Browse files Browse the repository at this point in the history
Bump latest miner and a few other tweaks
  • Loading branch information
Ryan Walmsley authored Mar 6, 2021
2 parents 8a91acf + 26d3fe7 commit 7f6a106
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 48 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/push-to-testnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: BalenaCloud Deploy

on:
push:
# Only run workflow for pushes to specific branches
branches:
- master

jobs:
testnet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Balena Deploy
uses: bekriebel/balena-cli-action@v1
if: success()
with:
balena_api_token: ${{secrets.BALENA_API_TOKEN}}
balena_command: "deploy nebraltd/helium-testnet --logs"

testnet-old:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Balena Deploy
uses: bekriebel/balena-cli-action@v1
if: success()
with:
balena_api_token: ${{secrets.BALENA_API_TOKEN}}
balena_command: "deploy nebraltd/helium-testnet-old --logs"
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,37 @@ Software for Nebra Helium Miners
This dockerfile creates 4 containers.

## Diagnostics

Basic container that runs a webserver to provide diagnostics information & manufacutring tools

https://github.com/NebraLtd/hm-diag

## Packet Forwarder

The container that has the code that configures the packet forwarder's region and starts the radio module.

https://github.com/NebraLtd/hm-pktfwd

## Gateway-config

The container that has the code to provide the Bluetooth LE to allow the hotspot to be configured via the Helium App.

https://github.com/NebraLtd/hm-config

## Miner

The Helium Miner with the required configuration files added.

https://github.com/NebraLtd/hm-miner

## eccprog

This software contains the tool which configures the ECC Key in production and isn't run again after.

# Credits



This software uses a mixture of information from:
* https://github.com/just4give/helium-dyi-hotspot-balena-pi4
* https://github.com/jpmeijers/ttn-resin-gateway-rpi
Expand Down
7 changes: 2 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
- 'pktfwdr:/var/pktfwd'

helium-miner:
image: "nebraltd/hm-miner:7e0bd8751936a597913d13cf91fe371d4047f7bf"
image: "nebraltd/hm-miner:87a74fc62adfd1dfc351f379312af71739093491"
ports:
- "44158:44158/tcp"
- "1680:1680/udp"
Expand Down Expand Up @@ -56,14 +56,11 @@ services:
- SYS_RAWIO
devices:
- "/dev/i2c-1:/dev/i2c-1"
environment:
- 'DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket'
labels:
io.balena.features.dbus: '1'
io.balena.features.sysfs: '1'

eccprog:
image: "nebraltd/hm-gwmfr:376b8da7706b91c62bcbc64a4c8bea46fe1e7a06"
image: "nebraltd/hm-gwmfr:8a9473202ecee0b30922677289119ac073686fa5"
cap_add:
- SYS_RAWIO
devices:
Expand Down
9 changes: 0 additions & 9 deletions notes

This file was deleted.

34 changes: 0 additions & 34 deletions shipit.sh

This file was deleted.

0 comments on commit 7f6a106

Please sign in to comment.