Skip to content

Commit

Permalink
feat: added support for mock test to do scaleup and scale down
Browse files Browse the repository at this point in the history
Signed-off-by: Dipankar Das <dipankardas0115@gmail.com>
  • Loading branch information
dipankardas011 committed Oct 24, 2023
1 parent d929f76 commit ecc0f76
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test-mock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
- 'go.sum'
branches: [ main ]
jobs:
binary:
ksctl-cli-linux:
if: ${{ github.event.label.name == 'pr/lgtm' || (github.event_name == 'push' && github.ref == 'refs/heads/main') }}
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -69,6 +69,17 @@ jobs:
ksctl switch -p azure -n demo -r fake
ksctl switch -p ha-azure -n ha-demo -r fake
- name: civo scale up and down
run: |
ksctl delete ha-civo delete-nodes -n ha-demo --noWP 0 -r LON1 --approve -v
ksctl create ha-civo add-nodes -n ha-demo --noWP 1 --nodeSizeWP "fake.small" -r LON1 -v --approve
- name: azure scale up and down
run: |
ksctl delete ha-azure delete-nodes -n ha-demo --noWP 0 -r fake --approve -v
ksctl create ha-azure add-nodes -n ha-demo --noWP 1 --nodeSizeWP "fake" -r fake -v --approve
- name: civo delete
run: |
ksctl delete civo -n demo -r LON1 -v --approve
Expand Down

0 comments on commit ecc0f76

Please sign in to comment.