Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Humble Multi-Repo CI #129

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,72 @@ jobs:
clearpath_robot
clearpath_sensors
vcs-repo-file-url: dependencies.repos
clearpath_robot_src_head_ci:
name: Humble Clearpath Source with Head Branch
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: clearpathrobotics/repos-dep-update-action
ref: 0.0.1
path: repos-dep-update-action
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Use repos update action
uses: ./repos-dep-update-action/
with:
branch: ${{ steps.extract_branch.outputs.branch }}
input: dependencies.repos
output: updated_dependencies.repos
- name: Updated dependencies
run: |
cat updated_dependencies.repos
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: jazzy
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
target-ros2-distro: jazzy
tonybaltovski marked this conversation as resolved.
Show resolved Hide resolved
package-name: |
clearpath_diagnostics
clearpath_generator_robot
clearpath_robot
clearpath_sensors
vcs-repo-file-url: updated_dependencies.repos
clearpath_robot_src_base_ci:
name: Humble Clearpath Source with Base Branch
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
with:
repository: clearpathrobotics/repos-dep-update-action
ref: 0.0.1
path: repos-dep-update-action
- name: Use repos update action
uses: ./repos-dep-update-action/
with:
branch: ${{ github.event.pull_request.base.ref }}
input: dependencies.repos
output: updated_dependencies.repos
- name: Updated dependencies
run: |
cat updated_dependencies.repos
- uses: ros-tooling/[email protected]
with:
required-ros-distributions: jazzy
- uses: ros-tooling/[email protected]
id: action_ros_ci_step
with:
target-ros2-distro: jazzy
luis-camero marked this conversation as resolved.
Show resolved Hide resolved
package-name: |
clearpath_diagnostics
clearpath_generator_robot
clearpath_robot
clearpath_sensors
vcs-repo-file-url: updated_dependencies.repos

Loading