generated from xpenb/bun-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔐 Split actions on unprivileged and privileged
- Loading branch information
Showing
3 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: ydb-slo-action-test-init | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-ydb-slo-action-init: | ||
name: Test YDB SLO Action Init | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Inititialize YDB SLO Test | ||
uses: ydb-platform/ydb-slo-action/init@main | ||
|
||
- name: Run chaos testing | ||
run: echo 'CHAOS 🙈🙈🙈' | ||
|
||
- name: Run user workload | ||
run: sleep 60 | ||
|
||
- name: Upload YDB SLO Test results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ydb-slo-action-test-results | ||
path: '${{runner.temp}}' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: ydb-slo-action-test-report | ||
|
||
on: | ||
workflow_run: | ||
workflows: ['ydb-slo-action-test-init'] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
test-ydb-slo-action: | ||
runs-on: ubuntu-latest | ||
name: Test YDB SLO Action Report | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: Download YDB SLO Test results | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ydb-slo-action-test-results | ||
path: '${{runner.temp}}/ydb-slo-action-test-results' | ||
|
||
- name: Report YDB SLO Test results | ||
uses: ydb-platform/ydb-slo-action/report@main |
This file was deleted.
Oops, something went wrong.