-
Notifications
You must be signed in to change notification settings - Fork 37
53 lines (52 loc) · 1.53 KB
/
e2e-backups-cron.yaml
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
50
51
52
53
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-02-28T11:30:58Z by kres latest.
name: e2e-backups-cron
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
"on":
schedule:
- cron: 30 1 * * *
jobs:
default:
runs-on:
- self-hosted
- omni
services:
buildkitd:
image: moby/buildkit:v0.12.5
options: --privileged
ports:
- 1234:1234
volumes:
- /var/lib/buildkit/${{ github.repository }}:/var/lib/buildkit
- /usr/etc/buildkit/buildkitd.toml:/etc/buildkit/buildkitd.toml
steps:
- name: checkout
uses: actions/checkout@v4
- name: Unshallow
run: |
git fetch --prune --unshallow
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: remote
endpoint: tcp://localhost:1234
timeout-minutes: 1
- name: run-integration-test
env:
AUTH0_TEST_PASSWORD: ${{ secrets.AUTH0_TEST_PASSWORD }}
AUTH0_TEST_USERNAME: ${{ secrets.AUTH0_TEST_USERNAME }}
INTEGRATION_RUN_E2E_TEST: "false"
INTEGRATION_TEST_ARGS: --test.run CleanState/|EtcdBackupAndRestore
WITH_DEBUG: "true"
run: |
sudo -E make run-integration-test
- name: save-talos-logs-artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: talos-logs
path: ~/.talos/clusters/**/*.log
retention-days: "5"