From 4466cf1ae8e78c576a8a85a1bb2b77e7d7cc3211 Mon Sep 17 00:00:00 2001 From: Saikrishna Bairamoni <84093461+SaikrishnaBairamoni@users.noreply.github.com> Date: Fri, 9 Feb 2024 12:43:46 -0500 Subject: [PATCH 1/2] update configs to point candidate images --- .circleci/config.yml | 2 +- .github/workflows/dockerhub.yml | 1 + Dockerfile | 2 +- docker/checkout.bash | 6 +++--- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aaa85a1f..8e60f0fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: # Pull docker image from docker hub # XTERM used for better catkin_make output docker: - - image: usdotfhwastoldev/carma-base:develop + - image: usdotfhwastolcandidate/carma-base:lavida user: carma environment: TERM: xterm # use xterm to get full display output from build diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 439a920c..1e17df67 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -5,6 +5,7 @@ on: branches: - "develop" - "release/*" + - "release/lavida" jobs: dockerhub: diff --git a/Dockerfile b/Dockerfile index 313c2b1c..adb8966d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM usdotfhwastoldev/carma-base:develop as base_image +FROM usdotfhwastolcandidate/carma-base:lavida as base_image FROM base_image as build diff --git a/docker/checkout.bash b/docker/checkout.bash index f873a153..a92cb689 100755 --- a/docker/checkout.bash +++ b/docker/checkout.bash @@ -39,9 +39,9 @@ if [[ "$BRANCH" = "develop" ]]; then sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch $BRANCH sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch $BRANCH else - sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch develop - sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch develop - sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch carma-develop + sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch release/lavida + sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch release/lavida + sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch release/lavida fi sudo apt-get update From ce2570fba92fa1d9e2cd78910f8a8d7635539010 Mon Sep 17 00:00:00 2001 From: paulbourelly999 <77466294+paulbourelly999@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:33:10 -0400 Subject: [PATCH 2/2] Update version numbers to 4.5.0 (#23) # PR Details ## Description ## Related GitHub Issue ## Related Jira Key ## Motivation and Context ## How Has This Been Tested? ## Types of changes - [ ] Defect fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that cause existing functionality to change) ## Checklist: - [ ] I have added any new packages to the sonar-scanner.properties file - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have read the [**CONTRIBUTING**](https://github.com/usdot-fhwa-stol/carma-platform/blob/develop/Contributing.md) document. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. @MishkaMN --- .circleci/config.yml | 2 +- .github/workflows/dockerhub.yml | 6 ++++-- Dockerfile | 2 +- docker/checkout.bash | 6 +++--- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e60f0fe..57ce2b44 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ jobs: # Pull docker image from docker hub # XTERM used for better catkin_make output docker: - - image: usdotfhwastolcandidate/carma-base:lavida + - image: usdotfhwastol/carma-base:carma-system-4.5.0 user: carma environment: TERM: xterm # use xterm to get full display output from build diff --git a/.github/workflows/dockerhub.yml b/.github/workflows/dockerhub.yml index 1e17df67..77c53d2d 100644 --- a/.github/workflows/dockerhub.yml +++ b/.github/workflows/dockerhub.yml @@ -3,9 +3,11 @@ name: Docker Hub build on: push: branches: - - "develop" + - develop + - master - "release/*" - - "release/lavida" + tags: + - "carma-system-*" jobs: dockerhub: diff --git a/Dockerfile b/Dockerfile index adb8966d..9333372a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM usdotfhwastolcandidate/carma-base:lavida as base_image +FROM usdotfhwastol/carma-base:carma-system-4.5.0 as base_image FROM base_image as build diff --git a/docker/checkout.bash b/docker/checkout.bash index a92cb689..c83abd68 100755 --- a/docker/checkout.bash +++ b/docker/checkout.bash @@ -39,9 +39,9 @@ if [[ "$BRANCH" = "develop" ]]; then sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch $BRANCH sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch $BRANCH else - sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch release/lavida - sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch release/lavida - sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch release/lavida + sudo git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch carma-system-4.5.0 + sudo git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch carma-system-4.5.0 + sudo git clone https://github.com/usdot-fhwa-stol/autoware.ai.git ${dir}/src/autoware.ai --branch carma-system-4.5.0 fi sudo apt-get update