Skip to content

Commit

Permalink
Merge pull request #60 from usdot-fhwa-stol/release/zephyr
Browse files Browse the repository at this point in the history
Update release version number 3.6.0
  • Loading branch information
msmcconnell authored Jun 29, 2021
2 parents 112d03d + 7609fba commit 879e63e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Pull docker image from docker hub
# XTERM used for better catkin_make output
docker:
- image: usdotfhwastol/autoware.ai:carma-system-3.5.0
- image: usdotfhwastol/autoware.ai:carma-system-3.6.0
user: carma
environment:
TERM: xterm # use xterm to get full display output from build
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
# License for the specific language governing permissions and limitations under
# the License.

FROM usdotfhwastol/autoware.ai:carma-system-3.5.0 as setup
FROM usdotfhwastol/autoware.ai:carma-system-3.6.0 as setup

RUN mkdir ~/src
COPY --chown=carma . /home/carma/src/
RUN ~/src/docker/checkout.bash
RUN ~/src/docker/install.sh

FROM usdotfhwastol/autoware.ai:carma-system-3.5.0
FROM usdotfhwastol/autoware.ai:carma-system-3.6.0

ARG BUILD_DATE="NULL"
ARG VERSION="NULL"
Expand Down
8 changes: 4 additions & 4 deletions docker/checkout.bash
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ while [[ $# -gt 0 ]]; do
done

if [[ "$BRANCH" = "develop" ]]; then
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch develop
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch develop
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch carma-system-3.6.0
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch carma-system-3.6.0
else
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch carma-system-3.5.0
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch carma-system-3.5.0
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/CARMAMsgs --branch carma-system-3.6.0
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/CARMAUtils --branch carma-system-3.6.0
fi
6 changes: 3 additions & 3 deletions hooks/pre_build
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ if [[ "$SOURCE_BRANCH" = "develop" ]]; then
sed -i "s|checkout.bash|checkout.bash -d|g; s|usdotfhwastol/|usdotfhwastoldev/|g; s|:[0-9]*\.[0-9]*\.[0-9]*|:develop|g s|:CARMA[a-zA-Z]*_[0-9]*\.[0-9]*\.[0-9]*|:develop|g; s|:carma-[a-zA-Z]*-[0-9]*\.[0-9]*\.[0-9]*|:develop|g" \
Dockerfile
elif [[ "$SOURCE_BRANCH" =~ ^release/.*$ ]]; then
# Update Dockerfile to point to release images
# swap checkout branch in checkout.bash to release branch
RELEASE_NAME=$(echo $SOURCE_BRANCH | cut -d "/" -f 2)
sed -i "s|usdotfhwastoldev/|usdotfhwastolcandidate/|g; s|usdotfhwastol/|usdotfhwastolcandidate/|g; s|:[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:CARMA[a-zA-Z]*_[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:carma-[a-zA-Z]*-[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:develop|:$RELEASE_NAME|g" \
sed -i "s|usdotfhwastol/|usdotfhwastolcandidate/|g; s|usdotfhwastoldev/|usdotfhwastolcandidate/|g; s|:[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:CARMA[a-zA-Z]*_[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:carma-[a-zA-Z]*-[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:develop|:$RELEASE_NAME|g" \
Dockerfile
# swap checkout branch in checkout.bash to release branch
sed -i "s|--branch .*|--branch $SOURCE_BRANCH|g" \
docker/checkout.bash
fi
fi

0 comments on commit 879e63e

Please sign in to comment.