Skip to content

Commit

Permalink
Merge pull request #4 from sonia-auv/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
gauthiermartin authored Jun 18, 2020
2 parents 8b22b7e + f5707b6 commit d8058d6
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/docker-image-feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
name: "Build ROS robot L4T ARM64 (NVIDIA XAVIER)"
runs-on: ubuntu-latest
env:
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/l4t-ros-base/l4t_ros_base:arm64-robot-feature-test-build"
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/l4t-ros-base/l4t_ros_base:arm64-robot-develop"
ARCH: arm64
TARGET_TYPE: robot-l4t
TARGET_VERSION: feature
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
name: "Build ROS perception L4T ARM64 (NVIDIA XAVIER)"
runs-on: ubuntu-latest
env:
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/l4t-ros-base/l4t_ros_base:arm64-perception-feature-test-build"
BASE_IMAGE: "docker.pkg.github.com/sonia-auv/l4t-ros-base/l4t_ros_base:arm64-perception-develop"
ARCH: arm64
TARGET_TYPE: perception-l4t
TARGET_VERSION: feature
Expand Down Expand Up @@ -210,7 +210,8 @@ jobs:
notify-success:
name: "Notify Slack - Success"
runs-on: ubuntu-latest
needs: [
needs:
[
build-ros-robot-x86-64,
build-ros-robot-arm64,
build-ros-robot-l4t-arm64,
Expand All @@ -232,7 +233,8 @@ jobs:
notify-fail:
name: "Notify Slack - Failure"
runs-on: ubuntu-latest
needs: [
needs:
[
build-ros-robot-x86-64,
build-ros-robot-arm64,
build-ros-robot-l4t-arm64,
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/docker-image-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,40 @@ jobs:
run: |
docker push ${GITHUB_REMOTE_URL}/${IMAGE_NAME}
create-release:
name: "Create Github Release"
runs-on: ubuntu-latest
needs:
[
build-ros-robot-x86-64,
build-ros-robot-arm64,
build-ros-robot-l4t-arm64,
build-ros-perception-x86-64,
build-ros-perception-arm64,
build-ros-perception-l4t-arm64,
]
steps:
- uses: actions/checkout@v2
- name: Set Target version
run: echo '::set-env name=TARGET_VERSION::'$(sed -n -e 's/.*<version>\(.*\)<\/version>.*/\1/p' package.xml)

- name: Create Git Tag
run: |
git tag ${TARGET_VERSION}
git push origin --tags
- name: Create Github Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TARGET_VERSION }}
release_name: Release ${{ env.TARGET_VERSION }}
body: |
A new release for this package has been created
draft: false
prerelease: false

notify-success:
name: "Notify Slack - Success"
runs-on: ubuntu-latest
Expand All @@ -267,6 +301,7 @@ jobs:
build-ros-perception-x86-64,
build-ros-perception-arm64,
build-ros-perception-l4t-arm64,
create-release,
]
if: success()
steps:
Expand All @@ -290,6 +325,7 @@ jobs:
build-ros-perception-x86-64,
build-ros-perception-arm64,
build-ros-perception-l4t-arm64,
create-release,
]
if: failure()
steps:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SONIA MSGS
# SONIA MESSAGES

SONIA'S custom ROS messages package, containing all custom messages developed to work along with our custom ROS modules

![Docker Image CI - Master Branch](https://github.com/sonia-auv/sonia_msgs/workflows/Docker%20Image%20CI%20-%20Master%20Branch/badge.svg)
![Docker Image CI - Develop Branch](https://github.com/sonia-auv/sonia_msgs/workflows/Docker%20Image%20CI%20-%20Develop%20Branch/badge.svg?branch=develop)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/sonia-auv/sonia_msgs)
![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/sonia-auv/sonia_msgs.svg)
![Docker Image CI - Master Branch](https://github.com/sonia-auv/sonia_messages/workflows/Docker%20Image%20CI%20-%20Master%20Branch/badge.svg)
![Docker Image CI - Develop Branch](https://github.com/sonia-auv/sonia_messages/workflows/Docker%20Image%20CI%20-%20Develop%20Branch/badge.svg?branch=develop)
![GitHub release (latest by date)](https://img.shields.io/github/v/release/sonia-auv/sonia_messages)
![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/sonia-auv/sonia_messages.svg)


## Getting Started
Expand All @@ -14,7 +14,7 @@ SONIA'S custom ROS messages package, containing all custom messages developed to
Project can be cloned locally as an individual package, it can be done using the following command:

```bash
git clone [email protected]:sonia-auv/sonia-cli.git
git clone [email protected]:sonia-auv/sonia_messages.git
```

It is also possible to install the whole AUV-environment using the [auv-env-setup](https://github.com/sonia-auv/auv-env-setup) package
Expand Down

0 comments on commit d8058d6

Please sign in to comment.