Skip to content

Commit

Permalink
Merge pull request #1175 from gohornet/develop
Browse files Browse the repository at this point in the history
Release 1.0.5
  • Loading branch information
muXxer committed Sep 2, 2021
2 parents 809f618 + 80b97dd commit ecdb18b
Show file tree
Hide file tree
Showing 259 changed files with 8,487 additions and 3,527 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build_HORNET.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: Build HORNET

on:
push:
paths-ignore:
- 'docs/**'
branches:
- main
- develop
pull_request:
paths-ignore:
- 'docs/**'
- 'documentation/**'

jobs:
build:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/build_docker.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Build Docker

on:
push:
paths:
- "docker/Dockerfile"
- "docker-compose.yml"
pull_request:
paths:
- "docker/Dockerfile"
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/deploy-docs-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
name: Deploy docs to GitHub Pages

on:
pull_request:
branches: [dev, main]
push:
branches: [dev, main]
branches:
- develop

jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Test Build
Expand All @@ -30,8 +29,8 @@ jobs:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12.x'
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: GolangCIlint
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'documentation/**'

jobs:
golangci-lint:
Expand All @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2

- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--timeout=10m"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Integration Tests
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'documentation/**'

jobs:

Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Save logs as artifacts
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: ${{ env.TEST_NAME }}
path: integration-tests/logs
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Save logs as artifacts
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: ${{ env.TEST_NAME }}
path: integration-tests/logs
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Save logs as artifacts
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: ${{ env.TEST_NAME }}
path: integration-tests/logs
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Save logs as artifacts
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: ${{ env.TEST_NAME }}
path: integration-tests/logs
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- name: Save logs as artifacts
if: always()
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: ${{ env.TEST_NAME }}
path: integration-tests/logs
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:

# - name: Save logs as artifacts
# if: always()
# uses: actions/upload-artifact@v1
# uses: actions/upload-artifact@v2
# with:
# name: ${{ env.TEST_NAME }}
# path: integration-tests/logs
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Release Binaries
runs-on: ubuntu-latest
container:
image: gohornet/goreleaser-cgo-cross-compiler:1.16.4
image: gohornet/goreleaser-cgo-cross-compiler:1.16.7
volumes: [/repo]
steps:
- name: Check out code into the Go module directory
Expand All @@ -29,7 +29,7 @@ jobs:

- name: Docker meta
id: meta
uses: crazy-max/ghaction-docker-meta@v2
uses: docker/metadata-action@v3
with:
images: gohornet/hornet
tags: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/snyk-monitor-golang.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Monitor Golang dependencies with Snyk

on:
push:
pull_request:
paths-ignore:
- 'docs/**'
branches:
- develop
- 'documentation/**'

jobs:
security:
Expand All @@ -13,7 +12,7 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run Snyk to monitor dependencies
uses: snyk/actions/golang@0.1.1
uses: snyk/actions/golang@0.3.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/snyk-test-golang.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Test Golang dependencies with Snyk

on:
push:
paths-ignore:
- 'docs/**'
branches: [main, develop]
pull_request:
paths-ignore:
- 'docs/**'
branches: [main, develop]
- 'documentation/**'

jobs:
security:
Expand All @@ -19,7 +15,7 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@0.1.1
uses: snyk/actions/golang@0.3.0
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/test_HORNET.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
name: Test HORNET

on:
push:
paths-ignore:
- 'docs/**'
branches:
- main
- develop
pull_request:
paths-ignore:
- 'docs/**'
- 'documentation/**'

jobs:
test:
Expand All @@ -31,7 +26,7 @@ jobs:
uses: actions/checkout@v2

- name: Test HORNET
uses: nick-invision/retry@v1
uses: nick-invision/retry@v2
with:
timeout_minutes: 5
max_attempts: 3
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Test release

on:
push:
pull_request:
paths-ignore:
- 'docs/**'
branches:
- main
- 'documentation/**'

jobs:
Release:
name: Test release
runs-on: [ubuntu-latest]
container:
image: gohornet/goreleaser-cgo-cross-compiler:1.16.4
image: gohornet/goreleaser-cgo-cross-compiler:1.16.7
volumes: [/repo]

steps:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "plugins/dashboard/frontend"]
path = plugins/dashboard/frontend
url = https://github.com/iotaledger/node-dashboard
[submodule "plugins/faucet/frontend"]
path = plugins/faucet/frontend
url = https://github.com/iotaledger/chrysalis-faucet.git
28 changes: 28 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,34 @@ nfpms:
dst: "/etc/default/hornet"
type: config

- src: "private_tangle/config_private_tangle.json"
dst: "/var/lib/hornet/private_tangle/config_private_tangle.json"
type: config

- src: "private_tangle/create_snapshot_private_tangle.sh"
dst: "/var/lib/hornet/private_tangle/create_snapshot_private_tangle.sh"

- src: "private_tangle/migration_bootstrap.sh"
dst: "/var/lib/hornet/private_tangle/migration_bootstrap.sh"

- src: "private_tangle/private_tangle_keys.md"
dst: "/var/lib/hornet/private_tangle/private_tangle_keys.md"

- src: "private_tangle/run_2nd.sh"
dst: "/var/lib/hornet/private_tangle/run_2nd.sh"

- src: "private_tangle/run_3rd.sh"
dst: "/var/lib/hornet/private_tangle/run_3rd.sh"

- src: "private_tangle/run_4th.sh"
dst: "/var/lib/hornet/private_tangle/run_4th.sh"

- src: "private_tangle/run_coo_bootstrap.sh"
dst: "/var/lib/hornet/private_tangle/run_coo_bootstrap.sh"

- src: "private_tangle/run_coo.sh"
dst: "/var/lib/hornet/private_tangle/run_coo.sh"

dependencies:
- systemd
- wget
Expand Down

0 comments on commit ecdb18b

Please sign in to comment.