Skip to content

Commit 14dcb9b

Browse files
workflows: rename pkg workflow files
Rename reusable and caller workflow filenames to pkg-* naming. Update workflows_sync migration to remove legacy caller filenames and sync pkg-pr-hook.yml across Debian branches. Update AGENTS, README, and docs to document the pkg-* vs qcom-* distinction: pkg-* for package lifecycle workflows and qcom-* for qcom-wide preflight/infra workflows. Signed-off-by: Simon Beaudoin <sbeaudoi@qti.qualcomm.com>
1 parent 2306208 commit 14dcb9b

17 files changed

Lines changed: 109 additions & 77 deletions

.github/pkg-workflows/debian/pr-pre-post-merge.yml renamed to .github/pkg-workflows/debian/pkg-pr-hook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: Build Debian Package
3838
needs: resolve-suite
3939
if: ${{ github.event.action != 'closed' || github.event.pull_request.merged == true }}
40-
uses: qualcomm-linux/qcom-build-utils/.github/workflows/qcom-build-pkg-reusable-workflow.yml@main
40+
uses: qualcomm-linux/qcom-build-utils/.github/workflows/pkg-build-reusable-workflow.yml@main
4141
with:
4242
qcom-build-utils-ref: main
4343
# PRE-MERGE: use the PR head branch (github.head_ref)

.github/pkg-workflows/main/build-debian-package.yml renamed to .github/pkg-workflows/main/pkg-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ permissions:
3737

3838
jobs:
3939
build:
40-
uses: qualcomm-linux/qcom-build-utils/.github/workflows/qcom-build-pkg-reusable-workflow.yml@main
40+
uses: qualcomm-linux/qcom-build-utils/.github/workflows/pkg-build-reusable-workflow.yml@main
4141
with:
4242
qcom-build-utils-ref: main
4343
debian-ref: ${{ inputs.debian-ref }}

.github/pkg-workflows/main/promote-prebuilt.yml renamed to .github/pkg-workflows/main/pkg-promote-prebuilt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ permissions:
4040

4141
jobs:
4242
promote:
43-
uses: qualcomm-linux/qcom-build-utils/.github/workflows/qcom-promote-prebuilt-reusable-workflow.yml@dev/pkg-bin
43+
uses: qualcomm-linux/qcom-build-utils/.github/workflows/pkg-promote-prebuilt-reusable-workflow.yml@dev/pkg-bin
4444
with:
4545
qcom-build-utils-ref: dev/pkg-bin
4646
debian-branch: ${{inputs.debian-branch}}

.github/pkg-workflows/main/promote-upstream.yml renamed to .github/pkg-workflows/main/pkg-promote.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323
jobs:
2424
promote:
2525

26-
uses: qualcomm-linux/qcom-build-utils/.github/workflows/qcom-promote-upstream-reusable-workflow.yml@main
26+
uses: qualcomm-linux/qcom-build-utils/.github/workflows/pkg-promote-reusable-workflow.yml@main
2727
with:
2828
qcom-build-utils-ref: main
2929
debian-branch: ${{inputs.debian-branch}}

.github/pkg-workflows/main/release.yml renamed to .github/pkg-workflows/main/pkg-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ permissions:
4141
jobs:
4242
release:
4343

44-
uses: qualcomm-linux/qcom-build-utils/.github/workflows/qcom-release-reusable-workflow.yml@main
44+
uses: qualcomm-linux/qcom-build-utils/.github/workflows/pkg-release-reusable-workflow.yml@main
4545
with:
4646
qcom-build-utils-ref: main
4747
suite: ${{ github.event.inputs.suite }}
File renamed without changes.

.github/workflows/qcom-promote-prebuilt-reusable-workflow.yml renamed to .github/workflows/pkg-promote-prebuilt-reusable-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Qualcomm Prebuilt Binary Promotion Reusable Workflow
22
description: |
33
This reusable workflow promotes a binary package repo to a new Artifactory release.
4-
Unlike the source-based qcom-promote-upstream-reusable-workflow, this workflow does
4+
Unlike the source-based pkg-promote-reusable-workflow, this workflow does
55
not interact with any upstream git repository. Instead it:
66
1. Reads the current upstream.conf from the packaging branch.
77
2. Verifies the new tarball actually exists on Artifactory before making any changes.

.github/workflows/qcom-promote-upstream-reusable-workflow.yml renamed to .github/workflows/pkg-promote-reusable-workflow.yml

File renamed without changes.

.github/workflows/qcom-release-reusable-workflow.yml renamed to .github/workflows/pkg-release-reusable-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
name: Build and Test (Debian)
110110
if: ${{ needs.resolve.outputs.family == 'debian' }}
111111
needs: resolve
112-
uses: ./.github/workflows/qcom-build-pkg-reusable-workflow.yml
112+
uses: ./.github/workflows/pkg-build-reusable-workflow.yml
113113
with:
114114
qcom-build-utils-ref: ${{ inputs.qcom-build-utils-ref }}
115115
debian-ref: ${{ inputs.debian-branch }}

.github/workflows/qcom-upstream-pr-pkg-build-reusable-workflow.yml renamed to .github/workflows/pkg-upstream-pr-build-reusable-workflow.yml

File renamed without changes.

0 commit comments

Comments
 (0)