Skip to content

Commit

Permalink
Remove network parameter from workflows dispatch inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Nov 30, 2023
1 parent c692298 commit 1a07f7d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 29 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ on:
schedule:
- cron: "0 23 * * *"
workflow_dispatch:
inputs:
network:
description: 'NETWORK'
required: true
default: 'mainnet'


jobs:
build:
Expand All @@ -27,7 +23,7 @@ jobs:
docker-compose up -d
./scripts/connect_wallet.rb
env:
NETWORK: ${{ github.event.inputs.network || 'mainnet' }}
NETWORK: preprod
report:
needs: [build]
if: always()
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/docker_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ on:
schedule:
- cron: "0 23 * * *"
workflow_dispatch:
inputs:
network:
description: 'NETWORK'
required: true
default: 'mainnet'


jobs:
build:
Expand All @@ -28,7 +24,7 @@ jobs:
docker-compose up -d
./scripts/connect_wallet.rb
env:
NETWORK: ${{ github.event.inputs.network || 'mainnet' }}
NETWORK: preprod
report:
needs: [build]
if: always()
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/e2e-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ on:
description: 'Wallet tag (docker)'
required: true
default: 'dev-master'
network:
description: 'Network'
required: true
default: 'preprod'
tags:
description: 'Test tags (all, light, offchain...)'
default: 'all'
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ on:
- cron: "0 20 * * *"
workflow_dispatch:
inputs:
network:
description: 'Network'
required: true
default: 'preprod'

branch:
description: 'Run tests against branch'
default: 'master'
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/e2e-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ on:
- cron: "0 20 * * *"
workflow_dispatch:
inputs:
network:
description: 'Network'
required: true
default: 'preprod'

branch:
description: 'Run tests against branch'
default: 'master'
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/e2e-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
- cron: "0 20 * * *"
workflow_dispatch:
inputs:
network:
description: 'Network'
required: true
default: 'preprod'
branch:
description: 'Run tests against branch'
default: 'master'
Expand All @@ -21,7 +17,7 @@ jobs:
runs-on: windows-latest

env:
NETWORK: ${{ github.event.inputs.network || 'preprod' }}
NETWORK: preprod
BUILDKITE_API_TOKEN: ${{ secrets.BUILDKITE_TOKEN_READ_BUILDS_ARTIFACTS }}
TESTS_E2E_FIXTURES: ${{ secrets.TESTS_E2E_FIXTURES }}
BRANCH: ${{ github.event.inputs.branch || 'master' }}
Expand Down

0 comments on commit 1a07f7d

Please sign in to comment.