forked from datenlord/datenlord
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (46 loc) · 1.47 KB
/
cron.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CRON-CI
on:
pull_request:
branches: [master]
schedule: [cron: "0 */4 * * *"]
workflow_dispatch:
jobs:
kind-csi-e2e:
name: KIND-K8S-CSI-E2E
# How to run K8S CSI e2e test
# https://www.stackovercloud.com/2020/01/08/blog-testing-of-csi-drivers/
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
run: |
# Don't run this in your local machine
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -f /home/runner/runners/2.305.0.tgz
sudo rm -f /home/runner/runners/2.306.0.tgz
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/lib/google-cloud-sdk/
sudo rm -rf /usr/lib/firefox
sudo rm -rf /usr/share/swift
sudo rm -rf /opt/microsoft/msedge
- name: Check out code
uses: actions/checkout@v2
- name: Cron tests
run: |
echo "Cron test"
sh scripts/ci/cron-test.sh false
- name: Archive Perf Result
uses: actions/upload-artifact@v2
with:
name: perf-report
path: /tmp/output/*
- name: Print DatenLord logs
if: ${{ failure() }}
run: |
sh scripts/ci/print-datenlord-logs.sh
- name: Debugging with ssh
if: ${{ failure() }}
uses: lhotari/action-upterm@v1