Skip to content

Commit

Permalink
Merge branch 'improvement/naming-of-special-files' into 'main'
Browse files Browse the repository at this point in the history
Adjust naming of special files and improve testing

See merge request fb-fi/ops/docker-ros-ci!3
  • Loading branch information
jpbusch committed Jun 12, 2023
2 parents fa0ff08 + 2fec6e6 commit 914c491
Show file tree
Hide file tree
Showing 14 changed files with 32 additions and 13 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@ jobs:
uses: jenseng/dynamic-uses@v1
with:
uses: ika-rwth-aachen/docker-ros@${{ github.event.inputs.docker-ros-git-ref }}
with: '{ "base-image": "rwthika/ros:latest", "command": "roscore", "platform": "amd64", "target": "dev,run", "build-context": "ros1", "image-tag": "ros1", "enable-industrial-ci": "true"}'
with: '{ "base-image": "ubuntu:20.04", "ros-distro": "noetic", "command": "roscore", "platform": "amd64", "target": "dev,run", "build-context": "ros1", "image-tag": "ros1", "enable-industrial-ci": "true"}'

- name: docker-ros
if: ${{ github.event_name == 'push' }}
uses: ika-rwth-aachen/docker-ros@main
with:
base-image: rwthika/ros:latest
base-image: ubuntu:20.04
ros-distro: noetic
command: roscore
platform: amd64,arm64
target: dev,run
Expand All @@ -50,13 +51,14 @@ jobs:
uses: jenseng/dynamic-uses@v1
with:
uses: ika-rwth-aachen/docker-ros@${{ github.event.inputs.docker-ros-git-ref }}
with: '{ "base-image": "rwthika/ros:latest", "command": "roscore", "platform": "${{ matrix.platform }}", "target": "${{ matrix.target }}", "build-context": "ros1", "image-tag": "ros1", "enable-industrial-ci": "true", "enable-singlearch-push": "true"}'
with: '{ "base-image": "ubuntu:20.04", "ros-distro": "noetic", "command": "roscore", "platform": "${{ matrix.platform }}", "target": "${{ matrix.target }}", "build-context": "ros1", "image-tag": "ros1", "enable-industrial-ci": "true", "enable-singlearch-push": "true"}'

- name: docker-ros
if: ${{ github.event_name == 'push' }}
uses: ika-rwth-aachen/docker-ros@main
with:
base-image: rwthika/ros:latest
base-image: ubuntu:20.04
ros-distro: noetic
command: roscore
platform: ${{ matrix.platform }}
target: ${{ matrix.target }}
Expand Down
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ include:
- remote: https://raw.githubusercontent.com/ika-rwth-aachen/docker-ros/$DOCKER_ROS_GIT_REF/.gitlab-ci/docker-ros.yml

variables:
BASE_IMAGE: rwthika/ros:latest
BASE_IMAGE: ubuntu:20.04
ROS_DISTRO: noetic
COMMAND: rostopic list
PLATFORM: amd64,arm64
TARGET: dev,run
Expand Down
1 change: 0 additions & 1 deletion ros1/additional.apt-dependencies

This file was deleted.

3 changes: 0 additions & 3 deletions ros1/custom.sh

This file was deleted.

1 change: 1 addition & 0 deletions ros1/docker/additional-debs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
toilet
File renamed without changes.
1 change: 1 addition & 0 deletions ros1/docker/additional-pip-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-run-cli
10 changes: 10 additions & 0 deletions ros1/docker/custom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -e

# check additional-debs.txt
toilet docker-ros

# check additional-pip-requirements.txt
python -c "import docker_run"

# check additional-files/
cat /docker-ros/additional-files/hello-world.txt
1 change: 0 additions & 1 deletion ros2/additional.apt-dependencies

This file was deleted.

3 changes: 0 additions & 3 deletions ros2/custom.sh

This file was deleted.

1 change: 1 addition & 0 deletions ros2/docker/additional-debs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
toilet
File renamed without changes.
1 change: 1 addition & 0 deletions ros2/docker/additional-pip-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker-run-cli
10 changes: 10 additions & 0 deletions ros2/docker/custom.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
set -e

# check additional-debs.txt
toilet docker-ros

# check additional-pip-requirements.txt
python -c "import docker_run"

# check additional-files/
cat /docker-ros/additional-files/hello-world.txt

0 comments on commit 914c491

Please sign in to comment.