From 91ff6649601bce86713cead20a05acc686a61526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20D=C3=ADaz=20Qu=C3=ADlez?= <33602217+Tempate@users.noreply.github.com> Date: Tue, 2 Apr 2024 08:49:48 +0200 Subject: [PATCH] Add dev-utils argument to workflow dispatch (#437) Signed-off-by: tempate --- .github/workflows/docker_test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docker_test.yml b/.github/workflows/docker_test.yml index f7b86e4d7..0334ec165 100644 --- a/.github/workflows/docker_test.yml +++ b/.github/workflows/docker_test.yml @@ -11,6 +11,10 @@ on: description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)' required: true default: 'master' + devutils_branch: + description: 'Branch or tag of dev-utils repository (https://github.com/eProsima/dev-utils)' + required: true + default: 'main' ddspipe_branch: description: 'Branch or tag of DDS Pipe repository (https://github.com/eProsima/DDS-Pipe)' required: true @@ -43,6 +47,7 @@ jobs: env: DEFAULT_FASTCDR_BRANCH: 'master' DEFAULT_FASTDDS_BRANCH: 'master' + DEFAULT_DEVUTILS_BRANCH: 'main' DEFAULT_DDSPIPE_BRANCH: 'main' DEFAULT_DDSROUTER_BRANCH: 'main' DDSROUTER_COMPOSE_TEST_DOCKER_IMAGE: "ddsrouter:ci" @@ -61,6 +66,7 @@ jobs: echo "--- Input Variables ---" echo "github.event.inputs.fastcdr_branch: ${{ github.event.inputs.fastcdr_branch }}" echo "github.event.inputs.fastdds_branch: ${{ github.event.inputs.fastdds_branch }}" + echo "github.event.inputs.devutils_branch: ${{ github.event.inputs.devutils_branch }}" echo "github.event.inputs.ddspipe_branch: ${{ github.event.inputs.ddspipe_branch }}" echo "github.event.inputs.ddsrouter_branch: ${{ github.event.inputs.ddsrouter_branch }}" echo "--- Github Environment Variables ---" @@ -68,6 +74,7 @@ jobs: echo "--- Environment Variables ---" echo "DEFAULT_FASTCDR_BRANCH: ${{ env.DEFAULT_FASTCDR_BRANCH }}" echo "DEFAULT_FASTDDS_BRANCH: ${{ env.DEFAULT_FASTDDS_BRANCH }}" + echo "DEFAULT_DEVUTILS_BRANCH: ${{ env.DEFAULT_DEVUTILS_BRANCH }}" echo "DEFAULT_DDSPIPE_BRANCH: ${{ env.DEFAULT_DDSPIPE_BRANCH }}" echo "DEFAULT_DDSROUTER_BRANCH: ${{ env.DEFAULT_DDSROUTER_BRANCH }}" @@ -89,6 +96,7 @@ jobs: --no-cache \ --build-arg fastcdr_branch=${{ github.event.inputs.fastcdr_branch || env.DEFAULT_FASTCDR_BRANCH }} \ --build-arg fastdds_branch=${{ github.event.inputs.fastdds_branch || env.DEFAULT_FASTDDS_BRANCH }} \ + --build-arg devutils_branch=${{ github.event.inputs.devutils_branch || env.DEFAULT_DEVUTILS_BRANCH }} \ --build-arg ddspipe_branch=${{ github.event.inputs.ddspipe_branch || env.DEFAULT_DDSPIPE_BRANCH }} \ --build-arg ddsrouter_branch=${{ github.event.inputs.ddsrouter_branch || github.head_ref || env.DEFAULT_DDSROUTER_BRANCH }} \ -t ${{ env.DDSROUTER_COMPOSE_TEST_DOCKER_IMAGE }} \