-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: package-builder:v1 and development container (#1)
* build: update aica-package.toml to package-builder:v1 * build: touchup package.xml metadata * build: add devcontainer configuration * build: control libraries v7.2.0 -> v7.4.1 * build: modulo v4.2.0 -> v4.2.1 * feat: add helper script to rename the template package * docs: README
- Loading branch information
Showing
5 changed files
with
243 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"containerUser": "ros2", | ||
"initializeCommand": [ | ||
"docker", | ||
"build", | ||
"--file=aica-package.toml", | ||
"--target=development", | ||
"--build-arg=config.signing.enabled=false", | ||
"--tag=aica-technology/template-component-package:development", | ||
"." | ||
], | ||
"image": "aica-technology/template-component-package:development", | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/home/ros2/.devcontainer,type=bind,consistency=cached", | ||
"workspaceFolder": "/home/ros2/.devcontainer", | ||
"mounts": [ | ||
"source=${localWorkspaceFolder}/source,target=/home/ros2/ws/src,type=bind,consistency=cached" | ||
], | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-python.python" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
#syntax=ghcr.io/aica-technology/package-builder:v0.0.9 | ||
#syntax=ghcr.io/aica-technology/package-builder:v1 | ||
|
||
[metadata] | ||
version = "0.0.1" | ||
## add a description of the AICA package | ||
# description = "My custom package" | ||
|
||
## a metadata name for the collection is required when bundling multiple packages together. | ||
## the collection name should be formatted like a Docker image name, | ||
## and the ROS equivalent collection name must be formatted in lower_snake_case | ||
# [metadata.collection] | ||
# name = "template-custom-collection" | ||
# ros-name = "template_custom_collection" | ||
|
||
[build] | ||
type = "ros" | ||
image = "v1.0.1-iron" | ||
|
||
[build.cmake_args] | ||
# add any cmake args here, e.g. | ||
[build.cmake-args] | ||
## add any cmake args here, e.g. | ||
# SOME_FLAG = "ON" | ||
# you can override them in the CLI with `--build-arg config.build.cmake_args.SOME_FLAG=OFF` | ||
## you can override them in the CLI with `--build-arg config.build.cmake_args.SOME_FLAG=OFF` | ||
|
||
[build.environment.aica] | ||
image = "iron" | ||
[build.dependencies] | ||
"@aica/foss/control-libraries" = "v7.4.1" | ||
"@aica/foss/modulo" = "v4.2.1" | ||
|
||
[build.environment.aica.libraries] | ||
"@aica/foss/control-libraries" = "v7.2.0" | ||
|
||
[build.environment.aica.ros] | ||
"@aica/foss/modulo" = "v3.2.0" | ||
[build.packages.template-component-package] | ||
source = "./source/template_component_package" | ||
|
||
[build.environment.apt] | ||
# add any apt packages here, e.g. | ||
## add any required apt dependencies for the custom package. | ||
## these packages will be available during the build but also in the final image, | ||
## so they are useful for dynamic libraries | ||
# [build.packages.template-component-package.dependencies.apt] | ||
# libyaml-cpp-dev = "*" | ||
# these packages will be available during the build but not in the final image, | ||
# so they are useful for headers or static libraries but not for dynamic libraries | ||
|
||
[build.packages.component] | ||
source = "./source/template_component_package" | ||
## by default, we will install any pip packages in `${package_source}/requirements.txt` | ||
## but you can customize the name of the requirements file, e.g. | ||
# [build.packages.template-component-package.dependencies.pip] | ||
# file = "custom_requirements.txt" | ||
|
||
[build.packages.component.dependencies.apt] | ||
# add any apt packages here, e.g. | ||
# libyaml-cpp-dev = "*" | ||
# these packages will be available during the build but also in the final image, | ||
# so they are useful for dynamic libraries | ||
|
||
# [build.packages.component.dependencies.pip] | ||
# by default, we will install any packages in `${source}/requirements.txt` | ||
# but you can customize the name of the file, e.g. | ||
# file = "requirements.txt" | ||
# otherwise you can specify the packages directly, e.g. | ||
# [build.packages.component.dependencies.pip.packages] | ||
## otherwise you can specify the pip packages directly | ||
# [build.packages.template-component-package.dependencies.pip.packages] | ||
# numpy = "1.0.0" | ||
|
||
|
||
# add other components here, e.g. | ||
# [build.packages.component2] | ||
# source = "./source/new_component_package" | ||
## if the AICA package contains multiple ROS packages, repeat the process for each ROS package. | ||
# [build.packages.other-component-package] | ||
# source = "./source/other_component_package" |
Oops, something went wrong.