Skip to content

Commit 3b6a51e

Browse files
authored
Migrate to monorepo (#249)
* Remove raye lpath repo * Do not use vcs to clone repos * Remove checkout action * Remove test_definition inputs * Update docs site url * Migrate test definitions to tests * Add notebooks PR 23 * Remove docs and notebooks folders from file explorer * Migrate notebooks infrastructure * Do not ignore src dir * Add boat_simulator at PR 77 * Make release category for each sub-team * Migrate boat simulator infrastructure * Add controller at PR 30 * Migrate controller infrastructure * Add diagnostics at pr 26 * Migrate diagnostics infrastructure * Add local pathfinding at pr 70 * Merge local pathfinding infrastructure * Enable markdown formatting * Add markdownlint ignore file * Add network systems at pr 99 * Merge network systems infrastructure * Add custom interfaces at pr 34 * Merge custom interfaces infrastructure * Add virtual iridium at pr 2 * Add website at pr 100 * Merge website infrastructure * markdownlint ignore virtual iridium * Add docs site badge * Increase markdown link check timeout * Add ignore patterns * Fix dead link * Decrease markdown link check timeout * Cleanup test action * Remove unneeded ignore * Combine actions * Fix bugs * Remove codespace permissions for other repos * Try fixing version warning * Use relative links in docs snippets * Remove docs references to polaris.repos * Update url to docs site * Cleanup docs ci prereqs
1 parent 5f74943 commit 3b6a51e

File tree

416 files changed

+37865
-484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

416 files changed

+37865
-484
lines changed

.devcontainer/base-dev/base-dev.Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ RUN apt-get update \
187187
protobuf-compiler \
188188
python3-colcon-common-extensions \
189189
python3-rosdep \
190-
python3-vcstool \
191190
tzdata \
192191
&& apt-get autoremove -y \
193192
&& apt-get clean -y \

.devcontainer/devcontainer.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,6 @@
2020
"postCreateCommand": "./setup.sh",
2121
// Set *default* container specific settings.json values on container create.
2222
"customizations": {
23-
"codespaces": {
24-
"repositories": {
25-
"UBCSailbot/boat_simulator": {"permissions": "write-all"},
26-
"UBCSailbot/controller": {"permissions": "write-all"},
27-
"UBCSailbot/custom_interfaces": {"permissions": "write-all"},
28-
"UBCSailbot/local_pathfinding": {"permissions": "write-all"},
29-
"UBCSailbot/network_systems": {"permissions": "write-all"},
30-
"UBCSailbot/notebooks": {"permissions": "write-all"},
31-
"UBCSailbot/raye-local-pathfinding": {"permissions": "write-all"},
32-
"UBCSailbot/website": {"permissions": "write-all"},
33-
"UBCSailbot/virtual_iridium": {"permissions": "write-all"}
34-
}
35-
},
3623
"vscode": {
3724
"settings": {
3825
"terminal.integrated.profiles.linux": {

.github/CODEOWNERS

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,29 @@
77
# review when someone opens a pull request.
88
* @patrick-5546
99

10+
# boat_simulator
11+
/notebooks/boat_simulator @DFriend01
12+
/src/boat_simulator @DFriend01
13+
14+
# custom_interfaces
15+
/src/custom_interfaces @UBCSailbot/soft-leads
16+
17+
# controller
18+
/notebooks/controller @DFriend01
19+
/src/controller @DFriend01
20+
21+
# diagnostics
22+
/src/diagnostics @samdai01
23+
1024
# docs
1125
/docs/ @DFriend01
26+
27+
# local_pathfinding
28+
/notebooks/local_pathfinding @jamenkaye
29+
/src/local_pathfinding @jamenkaye
30+
31+
# network_systems
32+
/src/network_systems @hhenry01
33+
34+
# website
35+
/src/website @jahn18

.github/actions/ament-lint/action.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/actions/checkout/action.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

.github/actions/clang-tidy/action.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# documentation: https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions
2+
name: 'Run in Container'
3+
description: 'Run script using our Docker image'
4+
5+
inputs:
6+
script:
7+
description: 'Script to run'
8+
required: true
9+
run-website:
10+
description: 'Whether to run the website image'
11+
required: false
12+
default: 'false'
13+
linter:
14+
description: 'For the lint script, the linter to run'
15+
required: false
16+
17+
runs:
18+
using: "composite"
19+
steps:
20+
- name: Run sailbot workspace image
21+
shell: bash
22+
run: docker compose -f .devcontainer/docker-compose.yml up -d
23+
24+
- name: Run website image
25+
if: inputs.run-website == 'true'
26+
shell: bash
27+
run: docker compose -f .devcontainer/docker-compose.yml -f .devcontainer/docker-compose.website.yml up -d
28+
29+
- name: Run script inside sailbot workspace image
30+
shell: bash
31+
run: docker compose -f .devcontainer/docker-compose.yml exec -T sailbot-workspace /bin/bash -c "export LINTER=${{ inputs.linter }} && cd /workspaces/sailbot_workspace && .github/actions/run-in-container/${{ inputs.script }}.sh"

.github/actions/ament-lint/run.sh renamed to .github/actions/run-in-container/ament-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if [[ $LOCAL_RUN != "true" ]]; then
5454
fi
5555

5656
# Exclude repos and files we don't want to lint
57-
VALID_SRC_DIRS=$(ls src | grep -v -e virtual_iridium -e raye-local-pathfinding -e website -e notebooks -e polaris.repos)
57+
VALID_SRC_DIRS=$(ls src | grep -v -e virtual_iridium -e website)
5858
lint_errors=0
5959

6060
# Loop over each directory and lint it

.github/actions/clang-tidy/run.sh renamed to .github/actions/run-in-container/clang-tidy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if [[ $LOCAL_RUN != "true" ]]; then
77
./build.sh RelWithDebInfo OFF
88
fi
99

10-
python3 .github/actions/clang-tidy/ament_clang_tidy.py build/compile_commands.json --jobs 8
10+
python3 .github/actions/run-in-container/ament_clang_tidy.py build/compile_commands.json --jobs 8

0 commit comments

Comments
 (0)