Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions aic_interfaces/aic_engine_interfaces/pixi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package.build.backend]
name = "pixi-build-ros"
version = "==0.3.3.20260113.c8b6a54"
channels = [
"https://prefix.dev/pixi-build-backends",
"robostack-kilted",
"conda-forge",
]
13 changes: 12 additions & 1 deletion flowstate/scripts/build_container.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# Fail fast and surface the real error instead of cascading.
set -eo pipefail

IMAGES_DIR=./images
BUILDER_NAME=container-builder
ROS_DISTRO=kilted
Expand Down Expand Up @@ -65,6 +68,11 @@ done

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

# Ensure the buildx builder exists.
# This is a no-op if the builder already exists.
docker buildx inspect "$BUILDER_NAME" >/dev/null 2>&1 \
|| docker buildx create --name "$BUILDER_NAME" --driver docker-container

if [[ -n "$SERVICE_NAME" && -n "$SERVICE_PACKAGE" ]]; then
mkdir -p $IMAGES_DIR/$SERVICE_NAME

Expand Down Expand Up @@ -134,10 +142,13 @@ elif [[ -n "$SKILL_NAME" && -n "$SKILL_PACKAGE" ]]; then
docker load -i "$IMAGES_DIR/${SKILL_NAME}/${SKILL_NAME}.tar"

echo "INFO: Extracting descriptor set from container..."
# Remove any leftover temp_container from a previously aborted run so
# this `docker create` doesn't hit a name conflict.
docker rm -f temp_container >/dev/null 2>&1 || true
docker create --name temp_container "$SKILL_PACKAGE:$SKILL_NAME"
docker cp "temp_container:/opt/ros/overlay/install/share/${SKILL_PACKAGE}/${SKILL_NAME}_protos.desc" \
"$IMAGES_DIR/${SKILL_NAME}/${SKILL_NAME}_protos.desc"
docker rm -f temp_container

fi
fi
fi
79 changes: 64 additions & 15 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ ros-kilted-aic-example-policies = { path = "aic_example_policies" }
ros-kilted-aic-model = { path = "aic_model" }
ros-kilted-aic-model-interfaces = { path = "aic_interfaces/aic_model_interfaces" }
ros-kilted-aic-task-interfaces = { path = "aic_interfaces/aic_task_interfaces" }
ros-kilted-aic-engine-interfaces = { path = "aic_interfaces/aic_engine_interfaces" }
ros-kilted-aic-teleoperation = { path = "aic_utils/aic_teleoperation" }
ros-kilted-control-msgs = "*"
ros-kilted-geometry-msgs = "*"
Expand Down
Loading