Skip to content

Commit

Permalink
do not merge: test nightly wan test
Browse files Browse the repository at this point in the history
  • Loading branch information
ermineJose committed Sep 3, 2024
1 parent 8e11156 commit 5b33394
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .github/workflows/nightly_wan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ on:
# todo: this is totally broken atm. Fix and re-enable.
# schedule:
# - cron: "0 0 * * *"
pull_request: unexpected value "pull_request"
branches: ["*"]
workflow_dispatch:


env:
CARGO_INCREMENTAL: 0 # bookkeeping for incremental builds has overhead, not useful in CI.
WORKFLOW_URL: https://github.com/maidsafe/stableset_net/actions/runs
Expand All @@ -30,7 +33,7 @@ jobs:
timeout-minutes: 30

- name: Start a WAN network
uses: maidsafe/sn-testnet-action@main
uses: maidsafe/sn-testnet-control-action@main
with:
action: create
re-attempts: 3
Expand All @@ -43,15 +46,18 @@ jobs:
ssh-secret-key: ${{ secrets.SN_TESTNET_SSH_KEY }}
security-group-id: sg-0d47df5b3f0d01e2a
subnet-id: subnet-018f2ab26755df7f9
node-count: 20
vm-count: 1
bootstrap-node-count: 20
bootstrap-node-vm-count: 1
node-vm-count: 1
node-count: 25
uploader-vm-count: 0
provider: digital-ocean
testnet-name: NightlyE2E
# if we were to run on a PR, use the below
# safe-network-user: ${{ github.actor }}"
# safe-network-branch: ${{ github.event.pull_request.head.ref }}
# Specify custom branch to prevent the deployer from fetching the latest release.
# The latest release contains the `network-contacts` feature turned on.
safe-network-user: ${{ github.actor }}
safe-network-branch: ${{ github.event.pull_request.head.ref }}
#Specify custom branch to prevent the deployer from fetching the latest release.
#The latest release contains the `network-contacts` feature turned on.
safe-network-user: maidsafe
safe-network-branch: main

Expand Down Expand Up @@ -128,7 +134,7 @@ jobs:
- name: Stop the WAN network
if: always()
uses: maidsafe/sn-testnet-action@main
uses: maidsafe/sn-testnet-control-action@main
with:
action: destroy
re-attempts: 3
Expand All @@ -139,8 +145,11 @@ jobs:
aws-region: eu-west-2
do-token: ${{ secrets.SN_TESTNET_DO_PAT }}
ssh-secret-key: ${{ secrets.SN_TESTNET_SSH_KEY }}
node-count: 20
vm-count: 1
bootstrap-node-count: 20
bootstrap-node-vm-count: 1
node-vm-count: 1
node-count: 25
uploader-vm-count: 0
provider: digital-ocean
testnet-name: NightlyE2E
safe-network-user: maidsafe
Expand Down

0 comments on commit 5b33394

Please sign in to comment.