-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #990 from ruffsl/rmw
Extend CI Workflow to test multiple RMW
- Loading branch information
Showing
12 changed files
with
550 additions
and
251 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
../../Dockerfile |
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,12 @@ | ||
# This is a dummy Dockerfile for setting repository links on Docker Hub. | ||
# Build rules on Docker Hub can trigger whenever the base image updates. | ||
# Base images are specified in the FROM: directive in the tracked Dockerfile. | ||
# However, build args are used by the build hooks to adjust the base image | ||
# so a single Dockerfile can be reused for multiple CI jobs, reducing maintenance. | ||
# To re-enable repository linking when using build args in the FROM: directive, | ||
# this dummy Dockerfile explicitly conveys the base image/repo to link against | ||
# while build rules that target this still use the same hook in this directory. | ||
# Note: This only works for non-official images. | ||
|
||
FROM osrf/ros2:nightly | ||
RUN echo "This is a dummy Dockerfile." |
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,14 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
FROM_IMAGE=osrf/ros2:nightly | ||
FAIL_ON_BUILD_FAILURE="" | ||
UNDERLAY_MIXINS="debug ccache" | ||
OVERLAY_MIXINS="debug ccache coverage-gcc" | ||
docker build \ | ||
--tag ${IMAGE_NAME} \ | ||
--build-arg FROM_IMAGE \ | ||
--build-arg FAIL_ON_BUILD_FAILURE \ | ||
--build-arg UNDERLAY_MIXINS \ | ||
--build-arg OVERLAY_MIXINS \ | ||
--file ./Dockerfile ../../. |
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 @@ | ||
../../Dockerfile |
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,10 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
ROS_DISTRO=${SOURCE_BRANCH%"-devel"} | ||
FROM_IMAGE=ros:${ROS_DISTRO} | ||
docker build \ | ||
--tag ${IMAGE_NAME} \ | ||
--build-arg FROM_IMAGE \ | ||
--build-arg FAIL_ON_BUILD_FAILURE="" \ | ||
--file ./Dockerfile ../../. |
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 @@ | ||
../../Dockerfile |
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,12 @@ | ||
# This is a dummy Dockerfile for repository links on Docker Hub. | ||
# Build rules on Docker Hub can trigger whenever the base image updates. | ||
# Base images are specified in the FROM: directive in the tracked Dockerfile. | ||
# However, build args are used by the build hooks to adjust the base image | ||
# so a single Dockerfile can be reused for multiple CI jobs, reducing maintenance. | ||
# To re-enable repository linking when using build args in the FROM: directive, | ||
# this dummy Dockerfile explicitly conveys the base image/repo to link against | ||
# while build rules that target this still use the same hook in this directory. | ||
# Note: This only works for non-official images. | ||
|
||
FROM osrf/ros2:nightly-rmw-nonfree | ||
RUN echo "This is a dummy Dockerfile." |
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,14 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
FROM_IMAGE=osrf/ros2:nightly-rmw-nonfree | ||
FAIL_ON_BUILD_FAILURE="" | ||
UNDERLAY_MIXINS="release ccache" | ||
OVERLAY_MIXINS="release ccache" | ||
docker build \ | ||
--tag ${IMAGE_NAME} \ | ||
--build-arg FROM_IMAGE \ | ||
--build-arg FAIL_ON_BUILD_FAILURE \ | ||
--build-arg UNDERLAY_MIXINS \ | ||
--build-arg OVERLAY_MIXINS \ | ||
--file ./Dockerfile ../../. |
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,9 @@ | ||
################################################################################ | ||
# Repo | ||
|
||
.circleci/* | ||
.git/* | ||
.dockerignore | ||
.gitignore | ||
**Dockerfile | ||
codecov.yml |
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