Skip to content

scale

scale #9

Workflow file for this run

name: scale
on:
workflow_dispatch:
inputs:
datanodeCount:
description: 'Number of desired datanodes'
required: true
default: 4
type: number
jobs:
scale:
runs-on: ubuntu-latest
name: Scale
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /usr/src/app/TurtleMQ
sudo bash scale.sh ${{ inputs.datanodeCount }}