Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/PSDB-amd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
types: [opened, reopened, synchronize, ready_for_review]
workflow_dispatch:

# Least-privilege default for the automatically provided GITHUB_TOKEN. This job
# only triggers Jenkins via a dedicated PAT secret, so read-only access suffices.
permissions:
contents: read

# A workflow run is made up of one or more jobs that can run sequentially or in parallel, below is a single job called invoke jenkins jobs
jobs:
# This workflow contains a single job called "invoke_jenkins_PSDB"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/buildbot-psdb-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [amd-debug]
types: [opened, reopened, synchronize, ready_for_review]

# Least-privilege default for the automatically provided GITHUB_TOKEN. Commit
# statuses are set via a dedicated PAT secret, so read-only access suffices.
permissions:
contents: read

jobs:
trigger-build:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
matrix:
variant: ${{ fromJSON(needs.setup.outputs.linux_variants) }}
uses: ./.github/workflows/ci_linux.yml
secrets: inherit
with:
amdgpu_families: ${{ matrix.variant.family }}
artifact_group: ${{ matrix.variant.artifact_group }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
name: Build Artifacts
if: ${{ inputs.use_prebuilt_artifacts == 'false' }}
uses: ./.github/workflows/build_portable_linux_artifacts.yml
secrets: inherit
with:
artifact_group: ${{ inputs.artifact_group }}
package_version: ${{ inputs.rocm_package_version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ jobs:
matrix:
variant: ${{ fromJSON(needs.setup.outputs.linux_variants) }}
uses: ./.github/workflows/ci_linux.yml
secrets: inherit
with:
amdgpu_families: ${{ matrix.variant.family }}
artifact_group: ${{ matrix.variant.artifact_group }}
Expand Down Expand Up @@ -156,7 +155,8 @@ jobs:
- linux_build_and_test
with:
JOB_NAME_TO_MATCH: "Linux::gfx94X-dcgpu::release / Build Artifacts / Build (xfail false)"
secrets: inherit
secrets:
AMD_STAGING_NIGHTLY_TEAMS_WEBHOOK_URL: ${{ secrets.AMD_STAGING_NIGHTLY_TEAMS_WEBHOOK_URL }}


# build_python_packages:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ci_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
name: Build Artifacts
if: ${{ inputs.use_prebuilt_artifacts == 'false' }}
uses: ./.github/workflows/build_windows_artifacts.yml
secrets: inherit
with:
artifact_group: ${{ inputs.artifact_group }}
amdgpu_families: ${{ inputs.amdgpu_families }}
Expand Down Expand Up @@ -74,7 +73,9 @@ jobs:
inputs.benchmark_runs_on != ''
}}
uses: ./.github/workflows/test_benchmarks.yml
secrets: inherit
secrets:
BENCHMARK_DB_URL: ${{ secrets.BENCHMARK_DB_URL }}
BENCHMARK_DB_FALLBACK_URL: ${{ secrets.BENCHMARK_DB_FALLBACK_URL }}
with:
artifact_group: ${{ inputs.artifact_group }}
amdgpu_families: ${{ inputs.amdgpu_families }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/compute-rocm-dkmd-afar-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- amd-staging
workflow_dispatch: # This allows manual triggering of the workflow

# Least-privilege default for the automatically provided GITHUB_TOKEN. This job
# only triggers a Jenkins job via dedicated secrets, so read-only access suffices.
permissions:
contents: read

jobs:
trigger_jenkins:
runs-on:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/multi_arch_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ jobs:
matrix:
variant: ${{ fromJSON(needs.setup.outputs.linux_variants) }}
uses: ./.github/workflows/multi_arch_build_portable_linux.yml
secrets: inherit
with:
matrix_per_family_json: ${{ matrix.variant.matrix_per_family_json }}
dist_amdgpu_families: ${{ matrix.variant.dist_amdgpu_families }}
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ on:
type: string
test_runs_on:
type: string
secrets:
# Forwarded to test_component.yml for benchmark results submission.
BENCHMARK_DB_URL:
required: false
BENCHMARK_DB_FALLBACK_URL:
required: false

permissions:
contents: read
Expand Down Expand Up @@ -77,7 +83,9 @@ jobs:
matrix:
components: ${{ fromJSON(needs.configure_benchmark_matrix.outputs.components) }}
uses: './.github/workflows/test_component.yml'
secrets: inherit
secrets:
BENCHMARK_DB_URL: ${{ secrets.BENCHMARK_DB_URL }}
BENCHMARK_DB_FALLBACK_URL: ${{ secrets.BENCHMARK_DB_FALLBACK_URL }}
with:
artifact_run_id: ${{ inputs.artifact_run_id }}
artifact_group: ${{ inputs.artifact_group }}
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ on:
default_container_image:
type: string
default: "ghcr.io/rocm/no_rocm_image_ubuntu24_04@sha256:4150afe4759d14822f0e3f8930e1124f26e11f68b5c7b91ec9a02b20b1ebbb98"
secrets:
# Optional benchmark results database endpoints. Only required for benchmark
# results submission in nightly CI; other callers omit them and submission is skipped.
BENCHMARK_DB_URL:
required: false
BENCHMARK_DB_FALLBACK_URL:
required: false


permissions:
Expand Down
Loading