Change workflow scheduled time to more "random" minute 34/307134/1
authorMarek Pikuła <m.pikula@partner.samsung.com>
Tue, 5 Mar 2024 08:17:17 +0000 (09:17 +0100)
committerMarek Pikuła <m.pikula@partner.samsung.com>
Tue, 5 Mar 2024 08:24:02 +0000 (09:24 +0100)
According to GitHub documentation:

> The schedule event can be delayed during periods of high loads of
> GitHub Actions workflow runs. High load times include the start of
> every hour. If the load is sufficiently high enough, some queued jobs
> may be dropped. To decrease the chance of delay, schedule your
> workflow to run at a different time of the hour.

During initial tests it turned out that during peak hours the schedule
didn't execute.

Change-Id: Idcbaed6fc43cf517f616842b7ed7acc7886bea13
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
.github/workflows/docker-build.yml
.github/workflows/test-image-build.yml
.gitignore [new file with mode: 0644]

index 3cf856e..ab09358 100644 (file)
@@ -6,7 +6,7 @@ on:
   pull_request:
   workflow_dispatch:
   schedule:
-    - cron: "0 0 * * 0"
+    - cron: "9 0 * * 0"
 
 env:
   REGISTRY: tizen-system-upgrade-tools-docker-local.bart.sec.samsung.net
index 4012c90..e4f64eb 100644 (file)
@@ -6,7 +6,7 @@ on:
   pull_request:
   workflow_dispatch:
   schedule:
-    - cron: "0 * * * *"
+    - cron: "11 * * * *"
 
 env:
   BART_REPO: tizen-system-upgrade-tools-generic-local
@@ -112,6 +112,7 @@ jobs:
             ${{ env.MAIN_NEW }}
           image_type: ${{ env.IMAGE_TYPE }}
           run_name: ${{ env.RUN_NAME }}
+          target: ${{ matrix.target }}
           arch: ${{ matrix.arch }}
           output_repository: ${{ env.BART_REPO }}
           output_directory: ${{ env.BART_OUTPUT_DIR }}
diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..c343f1e
--- /dev/null
@@ -0,0 +1,4 @@
+.vscode-ctags
+images/
+*.zip
+asdf/