smoke.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. name: smoke
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. paths:
  8. - '.github/workflows/smoke**'
  9. - '**Makefile'
  10. - '**.go'
  11. - '**.proto'
  12. - 'go.mod'
  13. - 'go.sum'
  14. jobs:
  15. smoke:
  16. name: Run multi node smoke test
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Set up Go 1.19
  20. uses: actions/setup-go@v2
  21. with:
  22. go-version: 1.19
  23. id: go
  24. - name: Check out code into the Go module directory
  25. uses: actions/checkout@v2
  26. - uses: actions/cache@v2
  27. with:
  28. path: ~/go/pkg/mod
  29. key: ${{ runner.os }}-go1.19-${{ hashFiles('**/go.sum') }}
  30. restore-keys: |
  31. ${{ runner.os }}-go1.19-
  32. - name: build
  33. run: make bin-docker
  34. - name: setup docker image
  35. working-directory: ./.github/workflows/smoke
  36. run: ./build.sh
  37. - name: run smoke
  38. working-directory: ./.github/workflows/smoke
  39. run: ./smoke.sh
  40. - name: setup relay docker image
  41. working-directory: ./.github/workflows/smoke
  42. run: ./build-relay.sh
  43. - name: run smoke relay
  44. working-directory: ./.github/workflows/smoke
  45. run: ./smoke-relay.sh
  46. timeout-minutes: 10