Skip to content

Commit

Permalink
Set action references to testing branch
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sanchez-Mateos <[email protected]>
  • Loading branch information
rsanchez15 committed Jul 16, 2024
1 parent a813664 commit 9a34b40
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Mirror action step
id: mirror
uses: eProsima/eProsima-CI/external/mirror-branch-action@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/mirror-branch-action@hotfix/setup-python-venv
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'master'
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/reusable-mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,45 +50,45 @@ jobs:
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' }}
uses: eProsima/eProsima-CI/external/add_labels@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/add_labels@hotfix/setup-python-venv
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/checkout@hotfix/setup-python-venv
with:
path: src/fastdds
ref: ${{ inputs.fastdds-branch }}

- uses: eProsima/eProsima-CI/external/setup-python@feature/ubuntu-24
- uses: eProsima/eProsima-CI/external/setup-python@hotfix/setup-python-venv
with:
python-version: '3.11'

- name: Get minimum supported version of CMake
uses: eProsima/eProsima-CI/external/get-cmake@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/get-cmake@hotfix/setup-python-venv
with:
cmakeVersion: '3.22.6'

- name: Install brew dependencies
uses: eProsima/eProsima-CI/macos/install_brew_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/macos/install_brew_packages@hotfix/setup-python-venv
with:
packages: llvm asio tinyxml2 [email protected]
update: false
upgrade: false

- name: Install colcon
uses: eProsima/eProsima-CI/multiplatform/install_colcon@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/install_colcon@hotfix/setup-python-venv

- name: Install Python dependencies
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/install_python_packages@hotfix/setup-python-venv
with:
packages: vcstool xmlschema
upgrade: false

- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/setup-python-venv
if: ${{ inputs.use-ccache == true }}
with:
api_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -109,14 +109,14 @@ jobs:
# which entails logout/login or rebooting the machine. This is not feasible in a CI environment.

- name: Fetch Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/setup-python-venv
with:
vcs_repos_file: ${{ github.workspace }}/src/fastdds/fastdds.repos
destination_workspace: src
skip_existing: 'true'

- name: Fetch Fast DDS CI dependencies
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/setup-python-venv
with:
vcs_repos_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.repos
destination_workspace: src
Expand All @@ -128,7 +128,7 @@ jobs:
# - Not working solution: https://github.com/macports/macports-ports/pull/21839/files
- name: Colcon build
continue-on-error: false
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_build@hotfix/setup-python-venv
with:
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_build.meta ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.meta
colcon_build_args: ${{ inputs.colcon-args }}
Expand All @@ -140,7 +140,7 @@ jobs:
- name: Colcon test
id: test
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') }}
uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_test@hotfix/setup-python-venv
with:
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.meta
colcon_test_args: ${{ inputs.colcon-args }}
Expand All @@ -151,7 +151,7 @@ jobs:
test_report_artifact: ${{ format('test_report_{0}_{1}_{2}', inputs.label, github.job, join(matrix.*, '_')) }}

- name: Test summary
uses: eProsima/eProsima-CI/multiplatform/junit_summary@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/junit_summary@hotfix/setup-python-venv
if: ${{ !cancelled() && !contains(github.event.pull_request.labels.*.name, 'no-test') }}
with:
junit_reports_dir: "${{ steps.test.outputs.ctest_results_path }}"
Expand Down
80 changes: 40 additions & 40 deletions .github/workflows/reusable-sanitizers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,51 +57,51 @@ jobs:
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' }}
uses: eProsima/eProsima-CI/external/add_labels@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/add_labels@hotfix/setup-python-venv
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/checkout@hotfix/setup-python-venv
with:
path: src/fastdds
ref: ${{ inputs.fastdds_ref }}

- name: Get minimum supported version of CMake
uses: eProsima/eProsima-CI/external/get-cmake@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/get-cmake@hotfix/setup-python-venv
with:
cmakeVersion: '3.22.6'

- name: Install apt packages
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@hotfix/setup-python-venv
with:
packages: curl grep libasio-dev libtinyxml2-dev python3 python3-pip software-properties-common wget

- name: Install colcon
uses: eProsima/eProsima-CI/ubuntu/install_colcon@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_colcon@hotfix/setup-python-venv

- name: Install Python dependencies
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@hotfix/setup-python-venv
with:
packages: vcstool xmlschema

- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/setup-python-venv
if: ${{ !always() }}
with:
api_token: ${{ secrets.GITHUB_TOKEN }}

- name: Fetch Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/setup-python-venv
with:
vcs_repos_file: ${{ github.workspace }}/src/fastdds/fastdds.repos
destination_workspace: src
skip_existing: 'true'

- name: Fetch Fast DDS CI dependencies
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/setup-python-venv
with:
vcs_repos_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/asan.repos
destination_workspace: src
Expand All @@ -114,7 +114,7 @@ jobs:
- name: Colcon build
continue-on-error: false
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_build@hotfix/setup-python-venv
with:
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/asan.meta
colcon_build_args: ${{ inputs.colcon_build_args }}
Expand All @@ -125,7 +125,7 @@ jobs:
workspace_dependencies: ''

- name: Upload build artifacts
uses: eProsima/eProsima-CI/external/upload-artifact@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/upload-artifact@hotfix/setup-python-venv
with:
name: build_artifacts_fastdds_asan_${{ inputs.label }}
path: ${{ github.workspace }}
Expand All @@ -135,26 +135,26 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Download build artifacts
uses: eProsima/eProsima-CI/external/download-artifact@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/download-artifact@hotfix/setup-python-venv
with:
name: build_artifacts_fastdds_asan_${{ inputs.label }}
path: ${{ github.workspace }}

- name: Get minimum supported version of CMake
uses: eProsima/eProsima-CI/external/get-cmake@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/get-cmake@hotfix/setup-python-venv
with:
cmakeVersion: '3.22.6'

- name: Install apt packages
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@hotfix/setup-python-venv
with:
packages: curl grep libasio-dev libtinyxml2-dev python3 python3-pip software-properties-common wget

- name: Install colcon
uses: eProsima/eProsima-CI/ubuntu/install_colcon@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_colcon@hotfix/setup-python-venv

- name: Install Python dependencies
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@hotfix/setup-python-venv
with:
packages: vcstool setuptools gcovr tomark xmltodict jsondiff pandas

Expand All @@ -171,7 +171,7 @@ jobs:
sudo echo "ff1e::ffff:efff:1 acme.org.test" | sudo tee -a /etc/hosts
- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/setup-python-venv
if: ${{ !always() }}
with:
api_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -183,7 +183,7 @@ jobs:
- name: Colcon build
continue-on-error: false
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_build@hotfix/setup-python-venv
with:
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/asan.meta
colcon_build_args: ${{ inputs.colcon_build_args }}
Expand All @@ -197,7 +197,7 @@ jobs:
if: ${{ inputs.run_asan_fastdds == true }}
id: test
continue-on-error: true
uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_test@hotfix/setup-python-venv
with:
colcon_test_args: ${{ inputs.colcon_test_args }}
colcon_test_args_default: '--event-handlers=console_direct+ --return-code-on-test-failure'
Expand Down Expand Up @@ -228,44 +228,44 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Download build artifacts
uses: eProsima/eProsima-CI/external/download-artifact@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/download-artifact@hotfix/setup-python-venv
with:
name: build_artifacts_fastdds_asan_${{ inputs.label }}
path: ${{ github.workspace }}

- name: Get minimum supported version of CMake
uses: eProsima/eProsima-CI/external/get-cmake@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/get-cmake@hotfix/setup-python-venv
with:
cmakeVersion: '3.22.6'

- name: Install apt packages
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@hotfix/setup-python-venv
with:
packages: curl grep libasio-dev libtinyxml2-dev python3 python3-pip software-properties-common wget

- name: Install colcon
uses: eProsima/eProsima-CI/ubuntu/install_colcon@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_colcon@hotfix/setup-python-venv

- name: Install Python dependencies
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@hotfix/setup-python-venv
with:
packages: vcstool setuptools gcovr tomark xmltodict jsondiff pandas

- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/setup-python-venv
if: ${{ !always() }}
with:
api_token: ${{ secrets.GITHUB_TOKEN }}

- name: Get Discovery Server branch
id: get_discovery_server_branch
uses: eProsima/eProsima-CI/ubuntu/get_related_branch_from_repo@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/get_related_branch_from_repo@hotfix/setup-python-venv
with:
remote_repository: eProsima/Discovery-Server
fallback_branch: ${{ inputs.discovery_server_ref }}

- name: Download Discovery Server repo
uses: eProsima/eProsima-CI/external/checkout@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/checkout@hotfix/setup-python-venv
with:
repository: eProsima/Discovery-Server
path: src/discovery-server
Expand All @@ -278,7 +278,7 @@ jobs:
- name: Colcon build
continue-on-error: false
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_build@hotfix/setup-python-venv
with:
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/asan.meta
colcon_build_args: ${{ inputs.colcon_build_args }}
Expand All @@ -292,7 +292,7 @@ jobs:
if: ${{ inputs.run_asan_fastdds == true }}
id: test
continue-on-error: true
uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_test@hotfix/setup-python-venv
with:
colcon_test_args: ${{ inputs.colcon_test_args }}
colcon_test_args_default: '--event-handlers=console_direct+ --return-code-on-test-failure'
Expand Down Expand Up @@ -329,44 +329,44 @@ jobs:
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' }}
uses: eProsima/eProsima-CI/external/add_labels@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/add_labels@hotfix/setup-python-venv
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/checkout@hotfix/setup-python-venv
with:
path: src/fastdds
ref: ${{ inputs.fastdds_ref }}

- name: Get minimum supported version of CMake
uses: eProsima/eProsima-CI/external/get-cmake@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/get-cmake@hotfix/setup-python-venv
with:
cmakeVersion: '3.22.6'

- name: Install apt packages
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@hotfix/setup-python-venv
with:
packages: curl grep libasio-dev libtinyxml2-dev python3 python3-pip software-properties-common wget

- name: Install colcon
uses: eProsima/eProsima-CI/ubuntu/install_colcon@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_colcon@hotfix/setup-python-venv

- name: Install Python dependencies
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@feature/ubuntu-24
uses: eProsima/eProsima-CI/ubuntu/install_python_packages@hotfix/setup-python-venv
with:
packages: vcstool setuptools gcovr tomark xmltodict jsondiff pandas

- name: Setup CCache
uses: eProsima/eProsima-CI/external/setup-ccache-action@feature/ubuntu-24
uses: eProsima/eProsima-CI/external/setup-ccache-action@hotfix/setup-python-venv
if: ${{ !always() }}
with:
api_token: ${{ secrets.GITHUB_TOKEN }}

- name: Fetch Fast DDS dependencies
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/setup-python-venv
with:
vcs_repos_file: ${{ github.workspace }}/src/fastdds/fastdds.repos
destination_workspace: src
Expand All @@ -385,7 +385,7 @@ jobs:
sudo echo "ff1e::ffff:efff:1 acme.org.test" | sudo tee -a /etc/hosts
- name: Fetch Fast DDS CI dependencies
uses: eProsima/eProsima-CI/multiplatform/vcs_import@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/vcs_import@hotfix/setup-python-venv
with:
vcs_repos_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/fastdds_test.repos
destination_workspace: src
Expand All @@ -398,7 +398,7 @@ jobs:
- name: Colcon build
continue-on-error: false
uses: eProsima/eProsima-CI/multiplatform/colcon_build@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_build@hotfix/setup-python-venv
with:
colcon_meta_file: ${{ github.workspace }}/src/fastdds/.github/workflows/config/tsan.meta
colcon_build_args: ${{ inputs.colcon_build_args }}
Expand All @@ -412,7 +412,7 @@ jobs:
if: ${{ inputs.run_asan_fastdds == true }}
id: test
continue-on-error: true
uses: eProsima/eProsima-CI/multiplatform/colcon_test@feature/ubuntu-24
uses: eProsima/eProsima-CI/multiplatform/colcon_test@hotfix/setup-python-venv
with:
colcon_test_args: ${{ inputs.colcon_test_args }}
colcon_test_args_default: '--event-handlers=console_direct+ --return-code-on-test-failure'
Expand Down
Loading

0 comments on commit 9a34b40

Please sign in to comment.