Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
100 changes: 100 additions & 0 deletions .github/workflows/test-integration-legacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Tests Integration

on:
push:
branches: [main]

workflow_dispatch:

jobs:
setup:
runs-on: ubuntu-22.04
outputs:
importTests: ${{ steps.get-import-tests.outputs.tests }}
ELTests: ${{ steps.get-EL-tests.outputs.tests }}
otherTests: ${{ steps.get-other-tests.outputs.tests }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
- run: npm install
working-directory: ./launcher
- id: get-import-tests
name: Get Import Tests
run: echo "::set-output name=tests::$(npx jest --listTests --json | jq -cM '[.[] | select(contains(".int") and contains("Beacon")) | split("/") | .[length-1:][]] | to_entries | map({id:.key, name:.value})')"
working-directory: ./launcher
- id: get-EL-tests
name: Get EL Tests
run: echo "::set-output name=tests::$(npx jest --listTests --json | jq -cM '[.[] | select(contains(".int") and contains("Service") and (contains("Beacon") | not )) | split("/") | .[length-1:][]] | to_entries | map({id:.key, name:.value})')"
working-directory: ./launcher
- id: get-other-tests
name: Get Other Tests
run: echo "::set-output name=tests::$(npx jest --listTests --json | jq -cM '[.[] | select(contains(".int") and (contains("Service") | not )) | split("/") | .[length-1:][]] | to_entries | map({id:.key, name:.value})')"
working-directory: ./launcher

Validator-Import-test:
runs-on: ubuntu-22.04
name: test ${{ matrix.test.name }}
needs:
- setup
- Other-Integration-test
- Execution-Client-test
strategy:
matrix:
test: ${{ fromJson(needs.setup.outputs.importTests) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
- run: npm install
working-directory: ./launcher
- run: npm run test ${{ matrix.test.name }}
working-directory: ./launcher
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
IS_DEV: "true"

Execution-Client-test:
runs-on: ubuntu-22.04
name: test ${{ matrix.test.name }}
needs:
- setup
- Other-Integration-test
strategy:
matrix:
test: ${{ fromJson(needs.setup.outputs.ELTests) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
- run: npm install
working-directory: ./launcher
- run: npm run test ${{ matrix.test.name }}
working-directory: ./launcher
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
IS_DEV: "true"

Other-Integration-test:
runs-on: ubuntu-22.04
name: test ${{ matrix.test.name }}
needs:
- setup
strategy:
matrix:
test: ${{ fromJson(needs.setup.outputs.otherTests) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
- run: npm install
working-directory: ./launcher
- run: npm run test ${{ matrix.test.name }}
working-directory: ./launcher
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
IS_DEV: "true"
63 changes: 12 additions & 51 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,93 +7,54 @@ on:
workflow_dispatch:

jobs:
setup:
runs-on: ubuntu-22.04
outputs:
importTests: ${{ steps.get-import-tests.outputs.tests }}
ELTests: ${{ steps.get-EL-tests.outputs.tests }}
otherTests: ${{ steps.get-other-tests.outputs.tests }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
- run: npm install
working-directory: ./launcher
- id: get-import-tests
name: Get Import Tests
run: echo "::set-output name=tests::$(npx jest --listTests --json | jq -cM '[.[] | select(contains(".int") and contains("Beacon")) | split("/") | .[length-1:][]] | to_entries | map({id:.key, name:.value})')"
working-directory: ./launcher
- id: get-EL-tests
name: Get EL Tests
run: echo "::set-output name=tests::$(npx jest --listTests --json | jq -cM '[.[] | select(contains(".int") and contains("Service") and (contains("Beacon") | not )) | split("/") | .[length-1:][]] | to_entries | map({id:.key, name:.value})')"
working-directory: ./launcher
- id: get-other-tests
name: Get Other Tests
run: echo "::set-output name=tests::$(npx jest --listTests --json | jq -cM '[.[] | select(contains(".int") and (contains("Service") | not )) | split("/") | .[length-1:][]] | to_entries | map({id:.key, name:.value})')"
working-directory: ./launcher

Validator-Import-test:
runs-on: ubuntu-22.04
name: test ${{ matrix.test.name }}
runs-on: ubuntu-24.04
name: Validator Import Tests
needs:
- setup
- Other-Integration-test
- Execution-Client-test
strategy:
matrix:
test: ${{ fromJson(needs.setup.outputs.importTests) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
node-version: "22"
- run: npm install
working-directory: ./launcher
- run: npm run test ${{ matrix.test.name }}
- run: npm run test:beacon
working-directory: ./launcher
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
IS_DEV: "true"

Execution-Client-test:
runs-on: ubuntu-22.04
name: test ${{ matrix.test.name }}
runs-on: ubuntu-24.04
name: Execution Client Tests
needs:
- setup
- Other-Integration-test
strategy:
matrix:
test: ${{ fromJson(needs.setup.outputs.ELTests) }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
node-version: "22"
- run: npm install
working-directory: ./launcher
- run: npm run test ${{ matrix.test.name }}
- run: npm run test:service
working-directory: ./launcher
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
IS_DEV: "true"

Other-Integration-test:
runs-on: ubuntu-22.04
name: test ${{ matrix.test.name }}
needs:
- setup
strategy:
matrix:
test: ${{ fromJson(needs.setup.outputs.otherTests) }}
runs-on: ubuntu-24.04
name: Other Integration Tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "19"
node-version: "22"
- run: npm install
working-directory: ./launcher
- run: npm run test ${{ matrix.test.name }}
- run: npm run test:other
working-directory: ./launcher
env:
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
{ role: "update-changes", test: "232" },
{ role: "update-changes", test: "235" },
{ role: "update-changes", test: "242" },
{ role: "update-changes", test: "243" },
]
fail-fast: false
concurrency: molecule-test-${{ matrix.tests.role }}-${{ matrix.tests.test }}
Expand Down Expand Up @@ -496,8 +497,7 @@ jobs:
# {role: "manage-service", test: "nethermind-lighthouse"},
#{ role: "manage-service", test: "nethermind-nimbus" },
# {role: "manage-service", test: "nethermind-prysm"},
# {role: "manage-service", test: "nethermind-teku"},
{ role: "manage-service", test: "notifications" },
# {role: "manage-service", test: "nethermind-teku"}
]
fail-fast: false
concurrency: molecule-test-${{ matrix.tests.role }}-${{ matrix.tests.test }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
node_modules
package-lock.json
/launcher/dist

# local env files
Expand Down
3 changes: 0 additions & 3 deletions controls/defaults/stereum_defaults.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
stereum_static:
defaults:
controls_install_path: /opt/stereum
cloud:
notifications_api_key: 4cTLZL8gcZ5knP49murPh2qaZSchryfHraHQHFDPuuA8jqJLrSdr7Bd4s4TSSVBW
updates:
lane: stable
unattended:
Expand Down Expand Up @@ -36,7 +34,6 @@ stereum_static:
grafana: "10.1.5"
node_exporter: v1.6.1
prometheus: v2.47.2
notifications: v1.1.0

devnet:
# consensus clients
Expand Down
61 changes: 0 additions & 61 deletions controls/roles/manage-service/molecule/notifications/converge.yml

This file was deleted.

This file was deleted.

Loading
Loading