Skip to content

Commit

Permalink
fixing master CI
Browse files Browse the repository at this point in the history
  • Loading branch information
marinagmoreira committed Feb 16, 2024
1 parent c3126a3 commit c564a78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions scripts/docker/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ build () {
--build-arg UBUNTU_VERSION=${UBUNTU_VERSION} \
--build-arg ROS_VERSION=${ROS_VERSION} \
--build-arg PYTHON=${PYTHON} \
--build-arg REVISION=${tag_revision} \
$remote_args \
-t astrobee/astrobee:${tag_revision}${tag_stage}ubuntu${UBUNTU_VERSION}
{ set +x; } 2>/dev/null
Expand Down Expand Up @@ -238,15 +239,15 @@ cd "${checkout_dir}"
{ set +x; } 2>/dev/null

if [ "$build_astrobee_base" = "true" ]; then
build astrobee_base "${revision}-" "base-"
build astrobee_base "latest-" "base-"
fi

if [ "$build_astrobee" = "true" ]; then
build astrobee "${revision}-" ""
fi

if [ "$build_test_astrobee" = "true" ]; then
build test_astrobee "" "test-"
build test_astrobee "${revision}-" "test-"
fi

if [ "$astrobee_quick" = "true" ]; then
Expand Down
3 changes: 2 additions & 1 deletion scripts/docker/test_astrobee.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

ARG UBUNTU_VERSION=16.04
ARG REMOTE=astrobee
FROM ${REMOTE}/astrobee:latest-ubuntu${UBUNTU_VERSION}
ARG REVISION=latest-
FROM ${REMOTE}/astrobee:${REVISION}ubuntu${UBUNTU_VERSION}

# Run tests. See also ../run_tests.sh for explanation.
RUN cd /src/astrobee \
Expand Down

0 comments on commit c564a78

Please sign in to comment.