Skip to content

Commit dd7e417

Browse files
holmanbblackboxsw
authored andcommitted
ci: disable daily jobs on fork branches
Update integration common workflow calls. Update names to be more succinct.
1 parent e80c089 commit dd7e417

16 files changed

+25
-19
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Daily: Integration Resolute lxd_container"
1+
name: "Daily(26.04): lxd_container"
22

33
on:
44
workflow_dispatch:
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
resolute-lxd_container:
10-
uses: ./.github/workflows/_integration_common.yml
10+
uses: ./.github/workflows/11-dispatch-common.yml
1111
with:
1212
release: resolute
1313
platform: lxd_container
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Daily: Integration Questing lxd_container"
1+
name: "Daily(25.10): lxd_container"
22

33
on:
44
workflow_dispatch:
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
questing-lxd_container:
10-
uses: ./.github/workflows/_integration_common.yml
10+
uses: ./.github/workflows/11-dispatch-common.yml
1111
with:
1212
release: questing
1313
platform: lxd_container
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Daily: Integration Noble lxd_container"
1+
name: "Daily(24.04): lxd_container"
22

33
on:
44
workflow_dispatch:
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
noble-lxd_container:
10-
uses: ./.github/workflows/_integration_common.yml
10+
uses: ./.github/workflows/11-dispatch-common.yml
1111
with:
1212
release: noble
1313
platform: lxd_container
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Daily: Integration Jammy lxd_container"
1+
name: "Daily(22.04): lxd_container"
22

33
on:
44
workflow_dispatch:
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
jammy-lxd_container:
10-
uses: ./.github/workflows/_integration_common.yml
10+
uses: ./.github/workflows/11-dispatch-common.yml
1111
with:
1212
release: jammy
1313
platform: lxd_container

.github/workflows/10-daily-unit-lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ concurrency:
88
jobs:
99
hypothesis:
1010
name: "Fuzz: jsonschema"
11+
if: github.repository == 'canonical/cloud-init'
1112
runs-on: ubuntu-latest
1213
env:
1314
FORCE_COLOR: 1
@@ -85,6 +86,6 @@ jobs:
8586
- name: Install tox
8687
run: pip install tox
8788
- name: Run unittest
88-
env:
89+
env:
8990
TMPDIR: '/tmp/'
9091
run: tox -e ${{ matrix.toxenv }} -- --color=yes

.github/workflows/11-dispatch-common.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Daily: Integration (reusable/manual)"
1+
name: "Dispatch: Integration"
22

33
on:
44
workflow_dispatch:
@@ -50,6 +50,7 @@ on:
5050
jobs:
5151
lxc:
5252
runs-on: ubuntu-latest
53+
if: github.repository == 'canonical/cloud-init'
5354

5455
env:
5556
CLOUD_INIT_PLATFORM: ${{ inputs.platform || 'lxd_container' }}

.github/workflows/20-pr-gh-cla.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: "GH: CLA"
1+
name: "PR: CLA"
22

33
on:
44
pull_request:
55
branches:
66
- main
77

88
jobs:
9-
cla-check:
9+
cla:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check if CLA signed

.github/workflows/21-pr-check-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Lint
1+
name: "PR: Lint"
22
on:
33
pull_request:
44
push:

.github/workflows/24-pr-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Integration
1+
name: "PR: Integration"
22

33
on:
44
pull_request:

.github/workflows/30-pr-packaging-patches-upstream.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This test runs after merging PRs into upstream to notify maintainers when
22
# a new PR has caused a patch to not apply against the merged branch.
3-
name: "Packaging: Post-merge (main)"
3+
name: "PR(post-merge): Packaging patches"
44

55
on:
66
push:

0 commit comments

Comments
 (0)