ci: adjust continuous/nightly schedule

This commit reduces the cron schedule for nightly builds down from
hourly and to actually nightly (at ~3am).

The push-to-master flow now triggers effectively the same thing at push
time, so if anything, this will reduce the latency of the continuous
package build and deploy.

The push-to-master flow will now skip builds if it changes only the
docs.
This commit is contained in:
Wez Furlong committed 2021-01-30 12:34:54 -08:00
1 parent 089aae3a76
commit eb8923f3c5
25 files changed
+105 -53

No files matched your search

+2 -3
View File
@@ -2,12 +2,11 @@
name: centos7
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
+6 -1
View File
@@ -3,7 +3,12 @@ name: centos7_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: centos8
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
+6 -1
View File
@@ -3,7 +3,12 @@ name: centos8_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: debian10.3
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: debian10.3_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: debian9.12
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: debian9.12_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: fedora31
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: fedora31_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: fedora32
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: fedora32_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: fedora33
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: fedora33_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: macos
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
+6 -1
View File
@@ -3,7 +3,12 @@ name: macos_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: ubuntu16
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: ubuntu16_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: ubuntu18
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: ubuntu18_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: ubuntu20.04
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
@@ -3,7 +3,12 @@ name: ubuntu20.04_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+2 -3
View File
@@ -2,12 +2,11 @@
name: windows
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
jobs:
+6 -1
View File
@@ -3,7 +3,12 @@ name: windows_continuous
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
+9 -5
View File
@@ -40,7 +40,7 @@ class RunStep(Step):
if env:
for k, v in env.items():
if self.shell is "bash":
if self.shell == "bash":
run = f"export {k}={v}\n{run}\n"
f.write(f" run: {yv(run)}\n")
@@ -590,12 +590,11 @@ def generate_pr_actions():
lambda t: t.pull_request(),
trigger="""
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
- 'docs/*'
""",
is_continuous=False,
)
@@ -608,7 +607,12 @@ def continuous_actions():
trigger="""
on:
schedule:
- cron: "10 * * * *"
- cron: "10 3 * * *"
push:
branches:
- master
paths-ignore:
- 'docs/**'
""",
is_continuous=True,
)