diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..f05de64 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,25 @@ +name: mirror-branch + +on: + push: + branches: + - 'main' + +jobs: + mirror_job_main: + if: github.ref == 'refs/heads/main' + runs-on: ubuntu-latest + name: Mirror main branch to API & ABI compatible minor version branches + strategy: + fail-fast: false + matrix: + dest_branch: + - '1.x' + steps: + - name: Mirror action step + id: mirror + uses: eProsima/eProsima-CI/external/mirror-branch-action@v0 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + source: 'master' + dest: ${{ matrix.dest_branch }} diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 63bf393..a3996ef 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,5 +1,5 @@ # Nightly test workflow for dev-utils -name: nightly +name: nightly-dev-utils on: schedule: @@ -9,17 +9,16 @@ jobs: reusable_tests_v2: name: reusable_tests_v2 - uses: ./.github/workflows/reusable-workflow.yml + uses: eProsima/dev-utils/.github/workflows/reusable-workflow.yml@0.x with: custom_version_build: 'v2' dependencies_artifact_postfix: '_nightly' secrets: inherit - # Uncomment this block to run the tests for Fast DDS v3 when dev-utils is updated - # reusable_tests_v3: - # name: reusable_tests_v3 - # uses: ./.github/workflows/reusable-workflow.yml - # with: - # custom_version_build: 'v3' - # dependencies_artifact_postfix: '_nightly' - # secrets: inherit + reusable_tests_v3: + name: reusable_tests_v3 + uses: eProsima/dev-utils/.github/workflows/reusable-workflow.yml@main + with: + custom_version_build: 'v3' + dependencies_artifact_postfix: '_nightly' + secrets: inherit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abe6e09..0d92749 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,6 +32,6 @@ jobs: name: reusable_tests uses: ./.github/workflows/reusable-workflow.yml with: - custom_version_build: ${{ github.event.inputs.custom_version_build || 'v2' }} + custom_version_build: ${{ github.event.inputs.custom_version_build || 'v3' }} dependencies_artifact_postfix: ${{ github.event.inputs.dependencies_artifact_postfix || '_nightly' }} secrets: inherit diff --git a/README.md b/README.md index 178d0b5..093211e 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ [![test](https://github.com/eProsima/dev-utils/actions/workflows/test.yml/badge.svg)](https://github.com/eProsima/dev-utils/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/eProsima/dev-utils/branch/main/graph/badge.svg?token=6NA5PVA9QL)](https://codecov.io/gh/eProsima/dev-utils) +

+ + +> [!WARNING] +> **In preparation for Fast DDS v3.0.0, eProsima/dev-utils' master branch is undergoing major changes entailing API breaks.** +> **Until Fast DDS v3.0.0 is released, it is strongly advisable to use the latest stable branch, [0.x](https://github.com/eProsima/dev-utils/tree/0.x), which uses Fast DDS 2.14.x**. + The packages that conform this repository are: * **CMake utils**: `cmake_utils` CMake utilities to build packages. diff --git a/dev_utils.repos b/dev_utils.repos index a44bd78..9e03b17 100644 --- a/dev_utils.repos +++ b/dev_utils.repos @@ -10,7 +10,7 @@ repositories: fastdds: type: git url: https://github.com/eProsima/Fast-DDS.git - version: 2.x + version: 3.x dev_utils: type: git url: https://github.com/eProsima/dev-utils.git