Skip to content

Commit

Permalink
github: Fix running multi-node tests on forks.
Browse files Browse the repository at this point in the history
Forks may not have branch-22.03 in them.  Even if they do, the branch
may not be up to date.  Use the upstream one instead.

Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
igsilya committed Jul 29, 2024
1 parent 6fdf7c8 commit 944232b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ovn-fake-multinode-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
matrix:
cfg:
- { branch: "${{ github.ref_name }}" }
- { branch: "branch-22.03" }
- { repo: "${{ github.repository }}", branch: "${{ github.ref_name }}" }
- { repo: ovn-org/ovn, branch: "branch-22.03" }
env:
RUNC_CMD: podman
OS_IMAGE: "fedora:37"
Expand All @@ -43,11 +43,12 @@ jobs:
repository: 'openvswitch/ovs'
ref: 'main'

- name: Check out ovn ${{ matrix.cfg.branch }}
- name: Check out ovn ${{ matrix.cfg.branch }} of ${{ matrix.cfg.repo }}
uses: actions/checkout@v4
with:
path: 'ovn-fake-multinode/ovn'
submodules: recursive
repository: ${{ matrix.cfg.repo }}
ref: ${{ matrix.cfg.branch }}

- name: Install dependencies
Expand Down

0 comments on commit 944232b

Please sign in to comment.