-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually set ddspipe version in build workflow
Signed-off-by: Raul Sanchez-Mateos <[email protected]>
- Loading branch information
1 parent
c325821
commit 7398d1a
Showing
5 changed files
with
285 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: fetch_ddspipe_manual | ||
description: Download eProsima/DDS-Pipe setting the specific version of each repository | ||
|
||
inputs: | ||
|
||
ddspipe_branch: | ||
description: > | ||
Branch, tag or commit of eProsima/DDS-Pipe repository. | ||
Check available branches in https://github.com/eProsima/DDS-Pipe. | ||
required: false | ||
default: master | ||
|
||
destination_workspace: | ||
description: 'Workspace where the repositories are downloaded' | ||
required: false | ||
default: '${{ github.workspace }}' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
|
||
- name: Run in ubuntu | ||
uses: eProsima/eProsima-CI/ubuntu/fetch_ddspipe_manual@feature/manual-ddspipe-build | ||
if: runner.os == 'Linux' | ||
with: | ||
ddspipe_branch: ${{ inputs.ddspipe_branch }} | ||
destination_workspace: ${{ inputs.destination_workspace }} | ||
|
||
- name: Run in windows | ||
uses: eProsima/eProsima-CI/windows/fetch_ddspipe_manual@feature/manual-ddspipe-build | ||
if: runner.os == 'Windows' | ||
with: | ||
ddspipe_branch: ${{ inputs.ddspipe_branch }} | ||
destination_workspace: ${{ inputs.destination_workspace }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: fetch_ddspipe_manual | ||
description: Download eProsima/DDS-Pipe setting the specific version of each repository | ||
|
||
inputs: | ||
|
||
ddspipe_branch: | ||
description: > | ||
Branch, tag or commit of eProsima/DDS-Pipe repository. | ||
Check available branches in https://github.com/eProsima/DDS-Pipe. | ||
required: false | ||
default: master | ||
|
||
destination_workspace: | ||
description: 'Workspace where the repositories are downloaded' | ||
required: false | ||
default: '${{ github.workspace }}' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
|
||
- name: fetch_ddspipe_manual | ||
run: | | ||
echo "::group::Manually clone DDS Pipe repository" | ||
echo "Downloading following dependencies:" | ||
echo " - DDS Pipe: ${{ inputs.ddspipe_branch }}" | ||
mkdir -p ${{ inputs.destination_workspace }} | ||
cd ${{ inputs.destination_workspace }} | ||
git clone --branch ${{ inputs.ddspipe_branch }} https://github.com/eProsima/DDS-Pipe.git | ||
echo "::endgroup::" | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: fetch_ddspipe_manual | ||
description: Download eProsima/DDS-Pipe setting the specific version of each repository | ||
|
||
inputs: | ||
|
||
ddspipe_branch: | ||
description: > | ||
Branch, tag or commit of eProsima/DDS-Pipe repository. | ||
Check available branches in https://github.com/eProsima/DDS-Pipe. | ||
required: false | ||
default: master | ||
|
||
destination_workspace: | ||
description: 'Workspace where the repositories are downloaded' | ||
required: false | ||
default: '${{ github.workspace }}' | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
|
||
- name: fetch_ddspipe_manual | ||
shell: pwsh | ||
run: | | ||
"::group::Manually clone DDS Pipe repository" | ||
Write-Host 'Downloading following dependencies:' | ||
Write-Host ' - DDS Pipe: ${{ inputs.ddspipe_branch }}' | ||
New-Item -ItemType Directory -Force -Path ${{ inputs.destination_workspace }} | ||
Set-Location -Path ${{ inputs.destination_workspace }} | ||
git clone --branch ${{ inputs.ddspipe_branch }} https://github.com/eProsima/DDS-Pipe.git | ||
"::endgroup::" |