make data safer by default.in case user delete pvc by accident , and limit RBAC hwameistor-role permissions #144
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HwameiStor PR | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "pkg/**" | |
- "test/**" | |
jobs: | |
pr-test: | |
runs-on: ["vsphere"] | |
timeout-minutes: 180 | |
steps: | |
- name: delete | |
run: | | |
sudo rm -rf rm -rf /github/actions-runner/_work/hwameistor-operator/hwameistor-operator/_build | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: pr test | |
env: | |
E2E_TESTING_LEVEL: "pr-e2e" | |
run: make pr-test | |