Skip to content

Commit

Permalink
feat: Drop support for ROS Crystal (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiryoh authored Apr 19, 2020
1 parent 50da649 commit 35f2f40
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 20 deletions.
13 changes: 0 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
version: 2
jobs:
crystal:
docker:
- image: tiryoh/ubuntu:bionic-dev
steps:
- checkout
- run:
name: Install
command: sed -e 's/^\(CHOOSE_ROS_DISTRO=.*\)/#\1\nCHOOSE_ROS_DISTRO=crystal/g' -i run.sh && ./run.sh
- run:
name: Test
command: sed -e 's/dashing/crystal/g' -i tutorial.sh && bash -c "$(head -n -2 ./tutorial.sh && echo 'which ros2')"
dashing:
docker:
- image: tiryoh/ubuntu:bionic-dev
Expand Down Expand Up @@ -38,7 +27,6 @@ workflows:
version: 2
commit-workflow:
jobs:
- crystal
- dashing
- eloquent
scheduled-workflow:
Expand All @@ -50,6 +38,5 @@ workflows:
only:
- master
jobs:
- crystal
- dashing
- eloquent
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
skip:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- run: echo "[Skip CI] ${{ contains(github.event.head_commit.message, '[skip ci]') }}"

Expand All @@ -27,9 +27,9 @@ jobs:
if: contains(github.event.head_commit.message, '[skip ci]') == false
strategy:
matrix:
ros-distro: [crystal, dashing, eloquent]
ros-distro: [dashing, eloquent]
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- name: Run the install script
run: |
sed -e 's/^\(CHOOSE_ROS_DISTRO=.*\)/#\1\nCHOOSE_ROS_DISTRO=$ROS_DISTRO/g' -i run.sh
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ By default, `run.sh` will install `ros-dashing-desktop`.
If you need to install another package, edit line8-9 in `run.sh`.

```sh
CHOOSE_ROS_DISTRO=dashing # or crystal or eloquent
CHOOSE_ROS_DISTRO=dashing # or eloquent
INSTALL_PACKAGE=desktop # or ros-base
```

For example, if you want to install ros-base package of ROS 2 Crystal,
For example, if you want to install ros-base package of ROS 2 Eloquent,
edit like the followings.

```sh
CHOOSE_ROS_DISTRO=crystal # or crystal or eloquent
CHOOSE_ROS_DISTRO=eloquent # or eloquent
INSTALL_PACKAGE=ros-base # or ros-base
```

Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eu
# by Open Robotics, licensed under CC-BY-4.0
# source: https://github.com/ros2/ros2_documentation

CHOOSE_ROS_DISTRO=dashing # or crystal or eloquent
CHOOSE_ROS_DISTRO=dashing # or eloquent
INSTALL_PACKAGE=desktop # or ros-base

sudo apt update
Expand Down

0 comments on commit 35f2f40

Please sign in to comment.