Browse Source

Introduce acceptance check (#3429)

Maxim Yurchuk 11 months ago
parent
commit
e71297188f

+ 21 - 0
.github/workflows/acceptance_run.yml

@@ -0,0 +1,21 @@
+name: Acceptance-run
+on:
+  schedule:
+    - cron: "0 0 * * *"  # At 00:00 every day
+  workflow_dispatch:
+    inputs:
+      test_label_regexp:
+        required: false
+        type: string
+
+jobs:
+  ya_x86_64:
+    name: Build/test x86_64 using YA
+    uses: ./.github/workflows/build_and_test_ya_provisioned.yml
+    secrets: inherit
+    with:
+      runner_label: auto-provisioned
+      build_preset: relwithdebinfo
+      build_target: ydb/tests/acceptance
+      run_build: true
+      run_tests: true

+ 1 - 1
.github/workflows/docker_publish.yml

@@ -2,7 +2,7 @@ name: Publish docker image
 
 on:
   schedule:
-    - cron: "0 3 * * *"
+    - cron: "0 3 * * *"  # At 03:00 every day
   workflow_dispatch:
     inputs:
       git_ref:

+ 1 - 1
.github/workflows/nightly_run.yaml

@@ -1,7 +1,7 @@
 name: Nightly-run
 on:
   schedule:
-    - cron: "0 1 * * *"
+    - cron: "0 1 * * *"  # At 01:00 every day
   workflow_dispatch:
     inputs:
       test_label_regexp:

+ 1 - 1
.github/workflows/prewarm-ccache.yml

@@ -1,7 +1,7 @@
 name: Prewarm-Ccache
 on:
   schedule:
-    - cron: "0 4 * * *"
+    - cron: "0 4 * * *"  # At 04:00 every day
   workflow_dispatch:
 
 jobs:

+ 1 - 1
.github/workflows/prewarm-debug.yaml

@@ -1,7 +1,7 @@
 name: Prewarm-debug
 on:
   schedule:
-    - cron: "15 */6 * * *"
+    - cron: "15 */6 * * *"  # At minute 15 past every 6th hour
   workflow_dispatch:
 
 jobs:

+ 1 - 1
.github/workflows/sync_cmakebuild.yml

@@ -1,7 +1,7 @@
 name: Sync cmakebuild with main
 on:
   schedule:
-    - cron: "0 * * * *"
+    - cron: "0 * * * *"  # At minute 0 every hour
   workflow_dispatch:
 concurrency:
   group: ${{ github.workflow }}

+ 5 - 0
ydb/tests/acceptance/ya.make

@@ -0,0 +1,5 @@
+# Various tests which we can't run in every pull request (because of instability/specific environment/execution time/etc)
+
+RECURSE_ROOT_RELATIVE(
+    ydb/tests/functional/large_serializable
+)