Skip to content

Commit 91ff664

Browse files
authored
Add dev-utils argument to workflow dispatch (#437)
Signed-off-by: tempate <danieldiaz@eprosima.com>
1 parent 326cdd1 commit 91ff664

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/docker_test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)'
1212
required: true
1313
default: 'master'
14+
devutils_branch:
15+
description: 'Branch or tag of dev-utils repository (https://github.com/eProsima/dev-utils)'
16+
required: true
17+
default: 'main'
1418
ddspipe_branch:
1519
description: 'Branch or tag of DDS Pipe repository (https://github.com/eProsima/DDS-Pipe)'
1620
required: true
@@ -43,6 +47,7 @@ jobs:
4347
env:
4448
DEFAULT_FASTCDR_BRANCH: 'master'
4549
DEFAULT_FASTDDS_BRANCH: 'master'
50+
DEFAULT_DEVUTILS_BRANCH: 'main'
4651
DEFAULT_DDSPIPE_BRANCH: 'main'
4752
DEFAULT_DDSROUTER_BRANCH: 'main'
4853
DDSROUTER_COMPOSE_TEST_DOCKER_IMAGE: "ddsrouter:ci"
@@ -61,13 +66,15 @@ jobs:
6166
echo "--- Input Variables ---"
6267
echo "github.event.inputs.fastcdr_branch: ${{ github.event.inputs.fastcdr_branch }}"
6368
echo "github.event.inputs.fastdds_branch: ${{ github.event.inputs.fastdds_branch }}"
69+
echo "github.event.inputs.devutils_branch: ${{ github.event.inputs.devutils_branch }}"
6470
echo "github.event.inputs.ddspipe_branch: ${{ github.event.inputs.ddspipe_branch }}"
6571
echo "github.event.inputs.ddsrouter_branch: ${{ github.event.inputs.ddsrouter_branch }}"
6672
echo "--- Github Environment Variables ---"
6773
echo "github.head_ref: ${{ github.head_ref }}"
6874
echo "--- Environment Variables ---"
6975
echo "DEFAULT_FASTCDR_BRANCH: ${{ env.DEFAULT_FASTCDR_BRANCH }}"
7076
echo "DEFAULT_FASTDDS_BRANCH: ${{ env.DEFAULT_FASTDDS_BRANCH }}"
77+
echo "DEFAULT_DEVUTILS_BRANCH: ${{ env.DEFAULT_DEVUTILS_BRANCH }}"
7178
echo "DEFAULT_DDSPIPE_BRANCH: ${{ env.DEFAULT_DDSPIPE_BRANCH }}"
7279
echo "DEFAULT_DDSROUTER_BRANCH: ${{ env.DEFAULT_DDSROUTER_BRANCH }}"
7380
@@ -89,6 +96,7 @@ jobs:
8996
--no-cache \
9097
--build-arg fastcdr_branch=${{ github.event.inputs.fastcdr_branch || env.DEFAULT_FASTCDR_BRANCH }} \
9198
--build-arg fastdds_branch=${{ github.event.inputs.fastdds_branch || env.DEFAULT_FASTDDS_BRANCH }} \
99+
--build-arg devutils_branch=${{ github.event.inputs.devutils_branch || env.DEFAULT_DEVUTILS_BRANCH }} \
92100
--build-arg ddspipe_branch=${{ github.event.inputs.ddspipe_branch || env.DEFAULT_DDSPIPE_BRANCH }} \
93101
--build-arg ddsrouter_branch=${{ github.event.inputs.ddsrouter_branch || github.head_ref || env.DEFAULT_DDSROUTER_BRANCH }} \
94102
-t ${{ env.DDSROUTER_COMPOSE_TEST_DOCKER_IMAGE }} \

0 commit comments

Comments
 (0)