Skip to content

Commit 7ead390

Browse files
author
Aaron Roller
authored
Merge pull request #12 from AutoModality/BB-800/melodic
Melodic
2 parents 4642090 + f82a7fd commit 7ead390

File tree

10 files changed

+54
-47
lines changed

10 files changed

+54
-47
lines changed

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- name: Package
1717
id: package
18-
uses: AutoModality/action-package-debian-ros@v2.0.0
18+
uses: AutoModality/action-package-debian-ros@v3.0.0
1919
with:
2020
branch: ${{ github.event.pull_request.head.ref }}
2121
pull-request-number: ${{ github.event.number }}
@@ -33,5 +33,5 @@ jobs:
3333
owner: 'automodality'
3434
repo: 'dev'
3535
distro: 'ubuntu'
36-
release: 'xenial'
36+
release: 'bionic'
3737
file: '${{ steps.package.outputs.artifact-path }}'

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
- name: Package if published
6666
if: steps.published.outputs.value == 'true'
6767
id: package
68-
uses: AutoModality/action-package-debian-ros@v2.0.0
68+
uses: AutoModality/action-package-debian-ros@v3.0.0
6969
with:
7070
version: ${{ steps.version.outputs.value }}
7171
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
@@ -80,5 +80,5 @@ jobs:
8080
owner: 'automodality'
8181
repo: 'release'
8282
distro: 'ubuntu'
83-
release: 'xenial'
83+
release: 'bionic'
8484
file: '${{ steps.package.outputs.artifact-path }}'

.github/workflows/story.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212
- name: Package
13-
uses: AutoModality/action-package-debian-ros@v2.0.0
13+
uses: AutoModality/action-package-debian-ros@v3.0.0
1414
with:
1515
dev-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_DEV_ENTITLEMENT }}
1616
release-repo-entitlement: ${{ secrets.CLOUDSMITH_READ_RELEASE_ENTITLEMENT }}
17-
17+
1818

1919

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@
3333

3434

3535
catkin_ws
36-
debian/ros-kinetic-*.debhelper.log
37-
debian/ros-kinetic-am-utils*
36+
debian/ros-*
3837
debian/debhelper-build-stamp
3938
debian/source
39+
debian/.debhelper
40+
ros-*-build-deps_*
4041
ros-*-am-utils-*
4142
debian/.debhelper
4243
debian/ros-*-am-utils*

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
SHELL := /bin/bash
22

33
default:
4-
source /opt/ros/kinetic/setup.bash && cd catkin_ws && catkin clean -f -i -y && catkin build -j3
4+
source /opt/ros/melodic/setup.bash && cd catkin_ws && catkin clean -f -i -y && catkin build -j3
55
rm -f catkin_ws/install/lib/pkgconfig/catkin_tools_prebuild.pc
66
@echo "Built!!!!"
77

88
install:
99
rm -rf catkin_ws/install/share/catkin_tools_prebuild
10-
install -d $(DESTDIR)/opt/ros/kinetic/
11-
cp -f -p -r catkin_ws/install/lib $(DESTDIR)/opt/ros/kinetic
12-
cp -f -p -r catkin_ws/install/share $(DESTDIR)/opt/ros/kinetic
13-
cp -f -p -r catkin_ws/install/include $(DESTDIR)/opt/ros/kinetic
10+
install -d $(DESTDIR)/opt/ros/melodic/
11+
cp -f -p -r catkin_ws/install/lib $(DESTDIR)/opt/ros/melodic
12+
cp -f -p -r catkin_ws/install/share $(DESTDIR)/opt/ros/melodic
13+
cp -f -p -r catkin_ws/install/include $(DESTDIR)/opt/ros/melodic
1414

1515

1616
clean:

README.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,21 @@
33
A common library for sharing core code.
44

55

6-
| Github Action | Debian Package |
7-
| ------------- | ------------- |
6+
| Github Action | Kinetic Package | Melodic Package |
7+
| ------------- | ------------- | ------------- |
88
| [![Story Development](https://github.com/AutoModality/am-utils/workflows/Story%20Development/badge.svg)](https://github.com/AutoModality/am-utils/actions?query=workflow%3A%22Story+Development%22) | -- |
9-
| [![Release Candidate](https://github.com/AutoModality/am-utils/workflows/Release%20Candidate/badge.svg)](https://github.com/AutoModality/am-utils/actions?query=workflow%3A%22Release+Candidate%22) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/automodality/dev/deb/ros-kinetic-am-utils/latest/d=ubuntu%252Fxenial;t=1/?render=true&badge_token=gAAAAABeEXmnoIyJ49KZBuqu7owI69o58O-pEmDK1uXKcvR-65M3zvVldA6lRgnSlbOXlwUdmAwIYqjEaAIZ_K0DXuO7agbeqnAtp1uXvuwoxD6KMqz3wYQ%3D)](https://cloudsmith.io/~automodality/repos/dev/packages/detail/deb/ros-kinetic-am-utils/latest/d=ubuntu%252Fxenial;t=1/) |
9+
| [![Release Candidate](https://github.com/AutoModality/am-utils/workflows/Release%20Candidate/badge.svg)](https://github.com/AutoModality/am-utils/actions?query=workflow%3A%22Release+Candidate%22) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/automodality/dev/deb/ros-kinetic-am-utils/latest/d=ubuntu%252Fxenial;t=1/?render=true&badge_token=gAAAAABeEXmnoIyJ49KZBuqu7owI69o58O-pEmDK1uXKcvR-65M3zvVldA6lRgnSlbOXlwUdmAwIYqjEaAIZ_K0DXuO7agbeqnAtp1uXvuwoxD6KMqz3wYQ%3D)](https://cloudsmith.io/~automodality/repos/dev/packages/detail/deb/ros-kinetic-am-utils/latest/d=ubuntu%252Fxenial;t=1/) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/automodality/dev/deb/ros-melodic-am-utils/latest/d=ubuntu%252Fbionic;t=1/?render=true&badge_token=gAAAAABeQHmJfRp7kwNLZ6HV9cXQCLx1oKm3MYDqMPtuUyZunep6ZjusRn_67muio5lDbumO-eW9_KvmoflqrAFGV-7LocdY0WJJ7UuRL9wa9nPzkYiHuxA%3D)](https://cloudsmith.io/~automodality/repos/dev/packages/detail/deb/ros-melodic-am-utils/latest/d=ubuntu%252Fbionic;t=1/) |
1010
| [![Release](https://github.com/AutoModality/am-utils/workflows/Release/badge.svg)](https://github.com/AutoModality/am-utils/actions?query=workflow%3A%22Release) | [![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/automodality/release/deb/ros-kinetic-am-utils/latest/d=ubuntu%252Fxenial;t=1/?render=true&badge_token=gAAAAABeEYCXaXnvhWBdS0An17OCBntPch8LyCzJnPoQYMA4Ng8uIJnw2hvwdvv_NBqAOTu76_FBfvns72pfHrzV2xWoBFEvGA-hns2hV-4yu2BmqWtHCT0%3D)](https://cloudsmith.io/~automodality/repos/release/packages/detail/deb/ros-kinetic-am-utils/latest/d=ubuntu%252Fxenial;t=1/)|
1111

1212

1313
## Run in Docker
1414

15-
Mounts your local clone of this repository to `/workspace` directory in a docker container.
16-
17-
**Prerequisites**
18-
* Docker is installed
19-
* This repository is cloned
20-
* Your current directory is the root of this repository
21-
22-
```
23-
docker run -w /workspace -v `pwd`:/workspace -it docker.cloudsmith.io/automodality/dev/amros-base
24-
debian/rules clean
25-
debian/rules build
26-
```
15+
See [AMROS](https://github.com/AutoModality/amros).
2716

2817
## Build
2918

30-
Build with debian in docker.
31-
32-
33-
## Package
19+
See [Package Action](https://github.com/AutoModality/action-package-debian-ros).
3420

35-
Runs `Build` and packages for installation.
3621

3722
## Releases
3823

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
PACKAGE=am-utils
3-
source /opt/ros/kinetic/setup.bash
3+
source /opt/ros/melodic/setup.bash
44
echo "We are $(pwd)"
55
CURDIR=$(readlink -f $(pwd))
66
mkdir -p catkin_ws/src/${PACKAGE}

debian/changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ros-kinetic-am-utils (999.9.9-local) unstable; urgency=low
1+
ros-melodic-am-utils (999.9.9-local) unstable; urgency=low
22

33
[ Nobody ]
44
* local changes only

debian/control

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,33 @@
1-
Source: ros-kinetic-am-utils
1+
Source: ros-melodic-am-utils
22
Section: misc
33
Priority: extra
44
Maintainer: info <info@automodality.com>
5-
Build-Depends: debhelper (>= 9.0.0), ros-kinetic-catkin, ros-kinetic-geometry-msgs, ros-kinetic-message-generation, ros-kinetic-nav-msgs, ros-kinetic-rosconsole, ros-kinetic-roscpp, ros-kinetic-rostime, ros-kinetic-sensor-msgs, ros-kinetic-std-msgs, ros-kinetic-am-msgs, ros-kinetic-uuid-msgs
5+
Build-Depends: debhelper (>= 9.0.0),
6+
ros-melodic-am-msgs,
7+
ros-melodic-catkin,
8+
ros-melodic-geometry-msgs,
9+
ros-melodic-message-generation,
10+
ros-melodic-nav-msgs,
11+
ros-melodic-rosconsole,
12+
ros-melodic-roscpp,
13+
ros-melodic-rostime,
14+
ros-melodic-sensor-msgs,
15+
ros-melodic-std-msgs,
16+
ros-melodic-uuid-msgs,
617
Homepage: https://github.com/AutoModality/am-utils
718
Standards-Version: 3.9.2
819

9-
Package: ros-kinetic-am-utils
20+
Package: ros-melodic-am-utils
1021
Architecture: any
11-
Depends: ${shlibs:Depends}, ${misc:Depends}, ros-kinetic-geometry-msgs, ros-kinetic-message-runtime, ros-kinetic-nav-msgs, ros-kinetic-rosconsole, ros-kinetic-roscpp, ros-kinetic-rostime, ros-kinetic-sensor-msgs, ros-kinetic-std-msgs, ros-kinetic-am-msgs, ros-kinetic-uuid-msgs
12-
Description: The am utils package
22+
Depends: ${shlibs:Depends}, ${misc:Depends},
23+
ros-melodic-am-msgs,
24+
ros-melodic-geometry-msgs,
25+
ros-melodic-message-runtime,
26+
ros-melodic-nav-msgs,
27+
ros-melodic-rosconsole,
28+
ros-melodic-roscpp,
29+
ros-melodic-rostime,
30+
ros-melodic-sensor-msgs,
31+
ros-melodic-std-msgs,
32+
ros-melodic-uuid-msgs,
33+
Description: Common code to assist with AutoModality libraries found in separate repositories.

debian/rules

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export DH_VERBOSE=1
1313
# https://code.ros.org/trac/ros/ticket/2977
1414
# https://code.ros.org/trac/ros/ticket/3842
1515
export LDFLAGS=
16-
export PKG_CONFIG_PATH=/opt/ros/kinetic/lib/pkgconfig
16+
export PKG_CONFIG_PATH=/opt/ros/melodic/lib/pkgconfig
1717
# Explicitly enable -DNDEBUG, see:
1818
# https://github.com/ros-infrastructure/bloom/issues/327
1919
export DEB_CXXFLAGS_MAINT_APPEND=-DNDEBUG
@@ -25,34 +25,34 @@ override_dh_auto_configure:
2525
# In case we're installing to a non-standard location, look for a setup.sh
2626
# in the install tree that was dropped by catkin, and source it. It will
2727
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
28-
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
28+
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
2929
dh_auto_configure
3030

3131
override_dh_auto_build:
3232
# In case we're installing to a non-standard location, look for a setup.sh
3333
# in the install tree that was dropped by catkin, and source it. It will
3434
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
35-
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
35+
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
3636
dh_auto_build
3737

3838
override_dh_auto_test:
3939
# In case we're installing to a non-standard location, look for a setup.sh
4040
# in the install tree that was dropped by catkin, and source it. It will
4141
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
4242
echo -- Running tests. Even if one of them fails the build is not canceled.
43-
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
43+
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
4444
dh_auto_test || true
4545

4646
override_dh_shlibdeps:
4747
# In case we're installing to a non-standard location, look for a setup.sh
4848
# in the install tree that was dropped by catkin, and source it. It will
4949
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
50-
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
51-
dh_shlibdeps -l$(CURDIR)/debian/ros-kinetic-am-utils//opt/ros/kinetic/lib/
50+
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
51+
dh_shlibdeps -l$(CURDIR)/debian/ros-melodic-am-utils//opt/ros/melodic/lib/
5252

5353
override_dh_auto_install:
5454
# In case we're installing to a non-standard location, look for a setup.sh
5555
# in the install tree that was dropped by catkin, and source it. It will
5656
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
57-
if [ -f "/opt/ros/kinetic/setup.sh" ]; then . "/opt/ros/kinetic/setup.sh"; fi && \
57+
if [ -f "/opt/ros/melodic/setup.sh" ]; then . "/opt/ros/melodic/setup.sh"; fi && \
5858
dh_auto_install

0 commit comments

Comments
 (0)