Skip to content

Commit

Permalink
Improve CI workflows in main, and branching model refactor (#149)
Browse files Browse the repository at this point in the history
* Refs #21228: Refactor Ubuntu CI

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Refactor Windows CI

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Remove previous workflow

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Add RELEASE_SUPPORT.md with Fast DDS references

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Add install doxygen step in windows reusable workflow

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Add fast dds branch to nightly labels

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Deactivate Windows build temporary on 1.0.x

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Move build documentation in tests steps only in Ubuntu CI

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Apply rev suggestions

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Fix test.meta issue in Ubuntu vs Windows

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Remove test.repos

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Apply last rev suggestion

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Add if conflicts check in PR trigger to avoid passing required CI

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Update eProsima-CI action references

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Avoid building dependencies again

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Apply rev suggestions

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Simplify nightly removing unnecessary matrix options

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Move 2.6.x related jobs to weekly workflow

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Fix weekly cron expression

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Apply rev suggestions

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

* Refs #21228: Apply rev suggestions

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>

---------

Signed-off-by: JesusPoderoso <jesuspoderoso@eprosima.com>
  • Loading branch information
JesusPoderoso authored Jul 11, 2024
1 parent 9214250 commit f9575d2
Show file tree
Hide file tree
Showing 15 changed files with 839 additions and 258 deletions.
23 changes: 0 additions & 23 deletions .github/actions/fetch-fastdds_python-repos/action.yml

This file was deleted.

232 changes: 0 additions & 232 deletions .github/workflows/build_and_test.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,3 @@ names:
cmake-args:
- "-DSECURITY=ON"
- "-DLOG_CONSUMER_DEFAULT=STDOUT"
fastdds_python:
cmake-args:
- "-DBUILD_TESTING=ON"
10 changes: 10 additions & 0 deletions .github/workflows/config/ubuntu_test.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
names:
fastdds_python:
cmake-args:
- "-DBUILD_TESTING=ON"
- "-DBUILD_DOCUMENTATION=ON"
ctest-args: [
"--repeat", "until-pass:3",
"--timeout", "300",
"--label-exclude", "xfail"
]
9 changes: 9 additions & 0 deletions .github/workflows/config/windows_test.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
names:
fastdds_python:
cmake-args:
- "-DBUILD_TESTING=ON"
ctest-args: [
"--repeat", "until-pass:3",
"--timeout", "300",
"--label-exclude", "xfail"
]
55 changes: 55 additions & 0 deletions .github/workflows/nightly-ubuntu-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Fast DDS Python Ubuntu CI (nightly)

on:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'

jobs:
# python main - fastdds master
nightly-ubuntu-ci-main:
uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@main
with:
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
os-version: 'ubuntu-22.04'
label: 'nightly-ubuntu-ci-main-master'
fastdds-python-branch: 'main'
fastdds-branch: 'master'
run-build: true
run-tests: true
use-ccache: false

# python 1.4.x - fastdds 2.14.x/2.13.x
nightly-ubuntu-ci-1_4_x:
strategy:
fail-fast: false
matrix:
fastdds-branch:
- '2.14.x'
- '2.13.x'
uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@1.4.x
with:
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
os-version: 'ubuntu-22.04'
label: 'nightly-ubuntu-ci-1.4.x-${{ matrix.fastdds-branch }}'
fastdds-python-branch: '1.4.x'
fastdds-branch: ${{ matrix.fastdds-branch }}
run-build: true
run-tests: true
use-ccache: false

# python 1.2.x - fastdds 2.10.x
nightly-ubuntu-ci-1_2_x:
uses: eProsima/Fast-DDS-Python/.github/workflows/reusable-ubuntu-ci.yml@1.2.x
with:
# It would be desirable to have a matrix of ubuntu OS for this job, but due to the issue opened in this ticket:
# https://github.com/orgs/community/discussions/128118 , it has been set as a single OS job.
os-version: 'ubuntu-22.04'
label: 'nightly-ubuntu-ci-1.2.x-2.10.x'
fastdds-python-branch: '1.2.x'
fastdds-branch: '2.10.x'
run-build: true
run-tests: true
use-ccache: false
Loading

0 comments on commit f9575d2

Please sign in to comment.