diff --git a/.github/workflows/docker-image-feature.yml b/.github/workflows/docker-image-feature.yml index c07f677..f7d0421 100644 --- a/.github/workflows/docker-image-feature.yml +++ b/.github/workflows/docker-image-feature.yml @@ -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 @@ -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 @@ -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, @@ -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, diff --git a/.github/workflows/docker-image-master.yml b/.github/workflows/docker-image-master.yml index 72862b0..cc98602 100644 --- a/.github/workflows/docker-image-master.yml +++ b/.github/workflows/docker-image-master.yml @@ -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>.*/\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 @@ -267,6 +301,7 @@ jobs: build-ros-perception-x86-64, build-ros-perception-arm64, build-ros-perception-l4t-arm64, + create-release, ] if: success() steps: @@ -290,6 +325,7 @@ jobs: build-ros-perception-x86-64, build-ros-perception-arm64, build-ros-perception-l4t-arm64, + create-release, ] if: failure() steps: diff --git a/README.md b/README.md index 159ee2d..04f14b9 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 git@github.com:sonia-auv/sonia-cli.git +git clone git@github.com: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