action.yaml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: Cluster Setup
  2. description: Cluster setup for canary test
  3. inputs:
  4. github-token:
  5. description: GITHUB_TOKEN from the calling workflow
  6. required: true
  7. runs:
  8. using: "composite"
  9. steps:
  10. - name: Free Disk Space (Ubuntu)
  11. uses: jlumbroso/free-disk-space@main
  12. with:
  13. # this might remove tools that are actually needed,
  14. # if set to "true" but frees about 6 GB
  15. tool-cache: true
  16. - name: setup golang
  17. uses: actions/setup-go@v2
  18. with:
  19. go-version: "1.21"
  20. - name: Setup Minikube
  21. shell: bash --noprofile --norc -eo pipefail -x {0}
  22. run: |
  23. tests/scripts/github-action-helper.sh install_minikube_with_none_driver v1.29.0
  24. - name: install deps
  25. shell: bash --noprofile --norc -eo pipefail -x {0}
  26. run: tests/scripts/github-action-helper.sh install_deps
  27. - name: print k8s cluster status
  28. shell: bash --noprofile --norc -eo pipefail -x {0}
  29. run: tests/scripts/github-action-helper.sh print_k8s_cluster_status
  30. - name: build rook
  31. shell: bash --noprofile --norc -eo pipefail -x {0}
  32. run: tests/scripts/github-action-helper.sh build_rook