-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove .venv Signed-off-by: Teo Koon Peng <[email protected]> * cleanup Signed-off-by: Teo Koon Peng <[email protected]> * bootstrap pipenv in venv Signed-off-by: Teo Koon Peng <[email protected]> * jazzy Signed-off-by: Teo Koon Peng <[email protected]> * updating images Signed-off-by: Teo Koon Peng <[email protected]> * trigger workflow Signed-off-by: Teo Koon Peng <[email protected]> * update workflow Signed-off-by: Teo Koon Peng <[email protected]> * update scripts Signed-off-by: Teo Koon Peng <[email protected]> * set concurrency Signed-off-by: Teo Koon Peng <[email protected]> * update docker workflow Signed-off-by: Teo Koon Peng <[email protected]> * update docker workflow Signed-off-by: Teo Koon Peng <[email protected]> * trigger workflow Signed-off-by: Teo Koon Peng <[email protected]> * fix source Signed-off-by: Teo Koon Peng <[email protected]> * undo push nightly Signed-off-by: Teo Koon Peng <[email protected]> * update workflows Signed-off-by: Teo Koon Peng <[email protected]> * update workflows Signed-off-by: Teo Koon Peng <[email protected]> * update workflows Signed-off-by: Teo Koon Peng <[email protected]> * update workflows Signed-off-by: Teo Koon Peng <[email protected]> * update workflows Signed-off-by: Teo Koon Peng <[email protected]> * force install pipenv even if it already exist on the system Signed-off-by: Teo Koon Peng <[email protected]> * Update README.md Co-authored-by: Aaron Chong <[email protected]> --------- Signed-off-by: Teo Koon Peng <[email protected]> Co-authored-by: Aaron Chong <[email protected]>
- Loading branch information
1 parent
bb88e1c
commit 07f09ab
Showing
24 changed files
with
175 additions
and
2,468 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 |
---|---|---|
|
@@ -11,18 +11,8 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: pnpm/[email protected] | ||
with: | ||
version: 'latest' | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '20' | ||
cache: 'pnpm' | ||
- name: Install pipenv | ||
run: pip3 install pipenv | ||
shell: bash | ||
- name: Install dependencies | ||
run: pnpm install -w --filter ${{ inputs.package }}... --no-frozen-lockfile | ||
run: pnpm install -w --filter ${{ inputs.package }}... | ||
shell: bash | ||
- name: Build | ||
if: '!${{ inputs.skip-build }}' | ||
|
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,34 @@ | ||
ARG BASE_IMAGE=docker.io/ros:jazzy-ros-base | ||
FROM $BASE_IMAGE | ||
ARG BRANCH=main | ||
ARG ROS_DISTRO=jazzy | ||
|
||
### build minimal rmf | ||
|
||
RUN apt update && apt install -y curl | ||
|
||
# # fetch sources | ||
RUN mkdir -p /rmf && cd /rmf \ | ||
&& curl -sL https://github.com/open-rmf/rmf_internal_msgs/archive/refs/heads/$BRANCH.tar.gz -o rmf_internal_msgs.tar.gz \ | ||
&& curl -sL https://github.com/open-rmf/rmf_building_map_msgs/archive/refs/heads/$BRANCH.tar.gz -o rmf_building_map_msgs.tar.gz \ | ||
&& mkdir -p /rmf/src/rmf/rmf_internal_msgs && tar zxf rmf_internal_msgs.tar.gz -C /rmf/src/rmf/rmf_internal_msgs --strip-components=1 && rm rmf_internal_msgs.tar.gz \ | ||
&& mkdir -p /rmf/src/rmf/rmf_building_map_msgs && tar zxf rmf_building_map_msgs.tar.gz -C /rmf/src/rmf/rmf_building_map_msgs --strip-components=1 && rm rmf_building_map_msgs.tar.gz | ||
|
||
RUN rosdep update && rosdep install --from-paths /rmf/src -yi | ||
|
||
RUN cd /rmf \ | ||
&& . /opt/ros/$ROS_DISTRO/setup.sh \ | ||
&& colcon build --merge-install --install-base /opt/rmf --cmake-args -DCMAKE_BUILD_TYPE=Release \ | ||
&& rm -rf /rmf | ||
|
||
# install tools for rmf-web | ||
|
||
RUN curl -fsSL https://get.pnpm.io/install.sh | bash - | ||
# shell runs in non-interactive mode, which does not source .bashrc so we need to set the PATH manually | ||
ENV PNPM_HOME /root/.local/share/pnpm | ||
ENV PATH "$PNPM_HOME:$PATH" | ||
|
||
# nodejs seems to have changed the official mirror, the default in pnpm is very slow now | ||
RUN pnpm config -g set 'node-mirror:release' https://nodejs.org/dist && pnpm env use --global lts | ||
|
||
RUN apt update && apt install -y python3-venv |
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
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
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
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
Oops, something went wrong.