On Wed, Apr 17, 2024 at 9:09 AM Ales Musil <[email protected]> wrote:
> The ovn-fake-multinode workflow can be triggered manually,
> however the definition didn't respect the branch for the manual
> run and always used main branch. Make sure that the correct
> branch is used for the ovn-fake-multinode workflow.
>
> Fixes: 033f5bebf94d ("CI: Add a couple of periodic jobs using
> ovn-fake-multinode.")
> Signed-off-by: Ales Musil <[email protected]>
> ---
> v4: Return job permutation that was accidentally removed.
> ---
> .github/workflows/ovn-fake-multinode-tests.yml | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/.github/workflows/ovn-fake-multinode-tests.yml
> b/.github/workflows/ovn-fake-multinode-tests.yml
> index ed4d6c4ef..5c9030a49 100644
> --- a/.github/workflows/ovn-fake-multinode-tests.yml
> +++ b/.github/workflows/ovn-fake-multinode-tests.yml
> @@ -17,7 +17,7 @@ jobs:
> strategy:
> matrix:
> cfg:
> - - { branch: "main" }
> + - { branch: "${{ github.ref_name }}" }
> - { branch: "branch-22.03" }
> env:
> RUNC_CMD: podman
> @@ -76,16 +76,16 @@ jobs:
> fail-fast: false
> matrix:
> cfg:
> - - { branch: "main", testsuiteflags: ""}
> + - { branch: "${{ github.ref_name }}", testsuiteflags: ""}
> - { branch: "branch-22.03", testsuiteflags: "-k 'basic test'" }
> name: multinode tests ${{ join(matrix.cfg.*, ' ') }}
> env:
> RUNC_CMD: podman
> OS_IMAGE: "fedora:37"
> CENTRAL_IMAGE: "ovn/ovn-multi-node:${{ matrix.cfg.branch }}"
> - CHASSIS_IMAGE: "ovn/ovn-multi-node:main"
> - RELAY_IMAGE: "ovn/ovn-multi-node:main"
> - GW_IMAGE: "ovn/ovn-multi-node:main"
> + CHASSIS_IMAGE: "ovn/ovn-multi-node:${{ github.ref_name }}"
> + RELAY_IMAGE: "ovn/ovn-multi-node:${{ github.ref_name }}"
> + GW_IMAGE: "ovn/ovn-multi-node:${{ github.ref_name }}"
> # Disable SSL for now. Revisit this if required.
> ENABLE_SSL: no
> CC: gcc
> @@ -114,7 +114,7 @@ jobs:
>
> - uses: actions/download-artifact@v4
> with:
> - name: test-main-image
> + name: test-${{ github.ref_name }}-image
>
> - uses: actions/download-artifact@v4
> with:
> @@ -122,7 +122,7 @@ jobs:
>
> - name: Load podman image
> run: |
> - sudo podman load --input ovn_main_image.tar
> + sudo podman load --input ovn_${{ github.ref_name }}_image.tar
> sudo podman load --input ovn_branch-22.03_image.tar
>
> - name: Check out ovn-fake-multi-node
> --
> 2.44.0
>
>
Recheck-request: github-robot-_ovn-kubernetes
--
Ales Musil
Senior Software Engineer - OVN Core
Red Hat EMEA <https://www.redhat.com>
[email protected]
<https://red.ht/sig>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev