Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/docker_rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
GH_CR_USER: ${{ secrets.GH_CR_USER }}
GH_CR_PAT: ${{ secrets.GH_CR_PAT }}

GITHUB_REPO: pmem/pmdk
GITHUB_REPO: ${{ github.repository }}
DOCKER_REPO: ghcr.io/pmem/pmdk
WORKDIR: utils/docker
PUSH_IMAGE: 1
Expand All @@ -27,7 +27,7 @@ permissions: {}

jobs:
image:
if: github.repository == 'pmem/pmdk'
if: ${{ github.repository_owner == 'daos-stack' }}
name: Image
runs-on: ubuntu-latest
strategy:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
fetch-depth: 50

- name: Check changelog
# Skip for pmem/pmdk/master and stable-* branches
# Skip for master and stable-* branches
if: |
!(github.repository == 'pmem/pmdk' &&
(github.ref_name == 'master' || startsWith(github.ref_name, 'stable-'))) &&
github.event_name == 'pull_request'
!(github.repository_owner == 'daos-stack' &&
(github.ref_name == 'master' || startsWith(github.ref_name, 'stable-'))) &&
github.event_name == 'pull_request'
uses: Zomzog/changelog-checker@09cfe9ad3618dcbfdba261adce0c41904cabb8c4 # v1.3.0
with:
fileName: ChangeLog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- '*'

env:
GITHUB_REPO: pmem/pmdk
GITHUB_REPO: ${{ github.repository }}
DOCKER_REPO: ghcr.io/pmem/pmdk
HOST_WORKDIR: /home/runner/work/pmdk/pmdk
WORKDIR: utils/docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pmem_ras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ permissions: {}
jobs:
linux:
name: PMEM_RAS
if: github.repository == 'pmem/pmdk'
if: github.repository_owner == 'daos-stack'
runs-on: [self-hosted, ras_controller]
env:
WORKDIR: utils/gha-runners
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pmem_test_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ permissions: {}
jobs:
job:
name: ${{ matrix.force_enable }}, ${{ matrix.test_script }}, ${{ matrix.os }}, ${{ matrix.build }}
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, "${{ matrix.os }}"]
if: github.repository_owner == 'daos-stack'
runs-on: [self-hosted, pmdk, "${{ matrix.os }}"]
timeout-minutes: ${{ inputs.timeout_minutes }}
strategy:
fail-fast: false
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pmem_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
# Static builds are tested in this limited scope only.
static:
name: Static
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, rhel]
if: github.repository_owner == 'daos-stack'
runs-on: [self-hosted, pmdk, rhel]
strategy:
fail-fast: false
matrix:
Expand All @@ -74,8 +74,8 @@ jobs:
# at compile time.
fault_injection:
name: Fault injection
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, rhel]
if: github.repository_owner == 'daos-satck'
runs-on: [self-hosted, pmdk, rhel]

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand All @@ -100,8 +100,8 @@ jobs:
# https://github.com/daos-stack/pmdk/pull/35
ndctl_enable_n:
name: Without ndctl
if: github.repository == 'pmem/pmdk'
runs-on: [self-hosted, rhel]
if: github.repository_owner == 'daos-stack'
runs-on: [self-hosted, pmdk, rhel]

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
env:
# Note: All coverage scans, e.g. on pull requests, should be run in the same
# environment.
GITHUB_REPO: pmem/pmdk
GITHUB_REPO: ${{ github.repository }}
DOCKER_REPO: ghcr.io/pmem/pmdk
HOST_WORKDIR: /home/runner/work/pmdk/pmdk
WORKDIR: utils/docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan_coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
required: true

env:
GITHUB_REPO: pmem/pmdk
GITHUB_REPO: ${{ github.repository }}
DOCKER_REPO: ghcr.io/pmem/pmdk
COVERITY_SCAN_NOTIFICATION_EMAIL: ${{ secrets.COVERITY_SCAN_NOTIFICATION_EMAIL }}
COVERITY_SCAN_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan_ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_call:

env:
GITHUB_REPO: pmem/pmdk
GITHUB_REPO: ${{ github.repository }}
DOCKER_REPO: ghcr.io/pmem/pmdk
HOST_WORKDIR: /home/runner/work/pmdk/pmdk
WORKDIR: utils/docker
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_call:

env:
GITHUB_REPO: pmem/pmdk
GITHUB_REPO: ${{ github.repository }}
DOCKER_REPO: ghcr.io/pmem/pmdk

permissions: {}
Expand Down
Loading