From 4148d655b4709b0e062a4f68fa01bb716d3b1112 Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Wed, 27 Nov 2024 18:22:54 +0900 Subject: [PATCH 01/13] feat(docker): inherit `autoware-base` images (#5492) * change run Signed-off-by: Yutaka Kondo * use autoware-base images Signed-off-by: Yutaka Kondo * update health-check Signed-off-by: Yutaka Kondo * update load-env Signed-off-by: Yutaka Kondo * update load-env Signed-off-by: Yutaka Kondo * fix rebase Signed-off-by: Yutaka Kondo * add build-args Signed-off-by: Yutaka Kondo * fix hcl Signed-off-by: Yutaka Kondo --------- Signed-off-by: Yutaka Kondo --- .../docker-build-and-push-cuda/action.yaml | 13 ---- .../actions/docker-build-and-push/action.yaml | 13 ---- .../docker-build-and-push-arm64.yaml | 4 + .github/workflows/docker-build-and-push.yaml | 4 + .github/workflows/health-check-arm64.yaml | 2 + .github/workflows/health-check-nightly.yaml | 2 + .github/workflows/health-check.yaml | 2 + .github/workflows/load-env.yaml | 16 +++- amd64.env | 2 + docker/Dockerfile | 74 +++++-------------- docker/docker-bake-cuda.hcl | 8 -- docker/docker-bake.hcl | 8 -- 12 files changed, 46 insertions(+), 102 deletions(-) diff --git a/.github/actions/docker-build-and-push-cuda/action.yaml b/.github/actions/docker-build-and-push-cuda/action.yaml index fc28683d892..bf9d9ca0854 100644 --- a/.github/actions/docker-build-and-push-cuda/action.yaml +++ b/.github/actions/docker-build-and-push-cuda/action.yaml @@ -64,18 +64,6 @@ runs: run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT shell: bash - - name: Docker meta for autoware:base-cuda - id: meta-base-cuda - uses: docker/metadata-action@v5 - with: - images: ghcr.io/${{ github.repository_owner }}/${{ inputs.target-image }} - tags: | - type=raw,value=base-cuda-${{ inputs.platform }} - type=raw,value=base-cuda-${{ steps.date.outputs.date }}-${{ inputs.platform }} - bake-target: docker-metadata-action-base-cuda - flavor: | - latest=false - - name: Docker meta for autoware:universe-sensing-perception-devel-cuda id: meta-universe-sensing-perception-devel-cuda uses: docker/metadata-action@v5 @@ -137,7 +125,6 @@ runs: push: true files: | docker/docker-bake-cuda.hcl - ${{ steps.meta-base-cuda.outputs.bake-file }} ${{ steps.meta-universe-sensing-perception-devel-cuda.outputs.bake-file }} ${{ steps.meta-universe-sensing-perception-cuda.outputs.bake-file }} ${{ steps.meta-universe-devel-cuda.outputs.bake-file }} diff --git a/.github/actions/docker-build-and-push/action.yaml b/.github/actions/docker-build-and-push/action.yaml index 3e3bc857fea..c028eede588 100644 --- a/.github/actions/docker-build-and-push/action.yaml +++ b/.github/actions/docker-build-and-push/action.yaml @@ -64,18 +64,6 @@ runs: run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT shell: bash - - name: Docker meta for autoware:base - id: meta-base - uses: docker/metadata-action@v5 - with: - images: ghcr.io/${{ github.repository_owner }}/${{ inputs.target-image }} - tags: | - type=raw,value=base-${{ inputs.platform }} - type=raw,value=base-${{ steps.date.outputs.date }}-${{ inputs.platform }} - bake-target: docker-metadata-action-base - flavor: | - latest=false - - name: Docker meta for autoware:core-devel id: meta-core-devel uses: docker/metadata-action@v5 @@ -221,7 +209,6 @@ runs: push: true files: | docker/docker-bake.hcl - ${{ steps.meta-base.outputs.bake-file }} ${{ steps.meta-core-devel.outputs.bake-file }} ${{ steps.meta-universe-sensing-perception-devel.outputs.bake-file }} ${{ steps.meta-universe-sensing-perception.outputs.bake-file }} diff --git a/.github/workflows/docker-build-and-push-arm64.yaml b/.github/workflows/docker-build-and-push-arm64.yaml index afdeabd76ea..ee50b263616 100644 --- a/.github/workflows/docker-build-and-push-arm64.yaml +++ b/.github/workflows/docker-build-and-push-arm64.yaml @@ -56,6 +56,8 @@ jobs: *.platform=linux/arm64 *.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} *.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + *.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + *.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} *.args.LIB_DIR=aarch64 *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:arm64-${{ github.ref_name }} *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:arm64-main @@ -106,6 +108,8 @@ jobs: *.platform=linux/arm64 *.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} *.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + *.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + *.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} *.args.LIB_DIR=aarch64 *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:arm64-${{ github.ref_name }} *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:arm64-main diff --git a/.github/workflows/docker-build-and-push.yaml b/.github/workflows/docker-build-and-push.yaml index d36b24cf98e..4fbcb666b0f 100644 --- a/.github/workflows/docker-build-and-push.yaml +++ b/.github/workflows/docker-build-and-push.yaml @@ -51,6 +51,8 @@ jobs: *.platform=linux/amd64 *.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} *.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + *.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + *.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} *.args.LIB_DIR=x86_64 *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:amd64-${{ github.ref_name }} *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:amd64-main @@ -101,6 +103,8 @@ jobs: *.platform=linux/amd64 *.args.ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} *.args.BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + *.args.AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + *.args.AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} *.args.LIB_DIR=x86_64 *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:amd64-${{ github.ref_name }} *.cache-from=type=registry,ref=ghcr.io/${{ github.repository }}-buildcache:amd64-main diff --git a/.github/workflows/health-check-arm64.yaml b/.github/workflows/health-check-arm64.yaml index d487e3c6ffd..9508abc3b1c 100644 --- a/.github/workflows/health-check-arm64.yaml +++ b/.github/workflows/health-check-arm64.yaml @@ -37,6 +37,8 @@ jobs: build-args: | ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} LIB_DIR=aarch64 - name: Show disk space diff --git a/.github/workflows/health-check-nightly.yaml b/.github/workflows/health-check-nightly.yaml index f38836e5d1b..d3e3ee74c7a 100644 --- a/.github/workflows/health-check-nightly.yaml +++ b/.github/workflows/health-check-nightly.yaml @@ -50,6 +50,8 @@ jobs: build-args: | ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} LIB_DIR=x86_64 - name: Show disk space diff --git a/.github/workflows/health-check.yaml b/.github/workflows/health-check.yaml index 55894881a4d..c51d8a320e4 100644 --- a/.github/workflows/health-check.yaml +++ b/.github/workflows/health-check.yaml @@ -49,6 +49,8 @@ jobs: build-args: | ROS_DISTRO=${{ needs.load-env.outputs.rosdistro }} BASE_IMAGE=${{ needs.load-env.outputs.base_image }} + AUTOWARE_BASE_IMAGE=${{ needs.load-env.outputs.autoware_base_image }} + AUTOWARE_BASE_CUDA_IMAGE=${{ needs.load-env.outputs.autoware_base_cuda_image }} LIB_DIR=x86_64 - name: Show disk space diff --git a/.github/workflows/load-env.yaml b/.github/workflows/load-env.yaml index ff7f24b6887..48af4b3a145 100644 --- a/.github/workflows/load-env.yaml +++ b/.github/workflows/load-env.yaml @@ -3,17 +3,23 @@ name: load-env on: workflow_call: outputs: - base_image: - value: ${{ jobs.load-env.outputs.base_image }} rosdistro: value: ${{ jobs.load-env.outputs.rosdistro }} + base_image: + value: ${{ jobs.load-env.outputs.base_image }} + autoware_base_image: + value: ${{ jobs.load-env.outputs.autoware_base_image }} + autoware_base_cuda_image: + value: ${{ jobs.load-env.outputs.autoware_base_cuda_image }} jobs: load-env: runs-on: ubuntu-22.04 outputs: - base_image: ${{ steps.set-env.outputs.base_image }} rosdistro: ${{ steps.set-env.outputs.rosdistro }} + base_image: ${{ steps.set-env.outputs.base_image }} + autoware_base_image: ${{ steps.set-env.outputs.autoware_base_image }} + autoware_base_cuda_image: ${{ steps.set-env.outputs.autoware_base_cuda_image }} steps: - name: Check out repository uses: actions/checkout@v4 @@ -28,5 +34,7 @@ jobs: - name: Set env id: set-env run: | - echo "base_image=${{ env.base_image }}" >> $GITHUB_OUTPUT echo "rosdistro=${{ env.rosdistro }}" >> $GITHUB_OUTPUT + echo "base_image=${{ env.base_image }}" >> $GITHUB_OUTPUT + echo "autoware_base_image=${{ env.autoware_base_image }}" >> $GITHUB_OUTPUT + echo "autoware_base_cuda_image=${{ env.autoware_base_cuda_image }}" >> $GITHUB_OUTPUT diff --git a/amd64.env b/amd64.env index 38eadee0a91..f1a068d50b7 100644 --- a/amd64.env +++ b/amd64.env @@ -1,6 +1,8 @@ rosdistro=humble rmw_implementation=rmw_cyclonedds_cpp base_image=ros:humble-ros-base-jammy +autoware_base_image=ghcr.io/autowarefoundation/autoware-base:latest +autoware_base_cuda_image=ghcr.io/autowarefoundation/autoware-base:cuda-latest cuda_version=12.3 cudnn_version=8.9.5.29-1+cuda12.2 tensorrt_version=8.6.1.6-1+cuda12.0 diff --git a/docker/Dockerfile b/docker/Dockerfile index 8a82503b6dd..d2ba84d017c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,52 +1,6 @@ ARG BASE_IMAGE - -# hadolint ignore=DL3006 -FROM $BASE_IMAGE AS base -SHELL ["/bin/bash", "-o", "pipefail", "-c"] -ARG ROS_DISTRO - -# Copy files -COPY setup-dev-env.sh ansible-galaxy-requirements.yaml amd64.env arm64.env /autoware/ -COPY ansible/ /autoware/ansible/ -COPY docker/scripts/cleanup_apt.sh /autoware/cleanup_apt.sh -RUN chmod +x /autoware/cleanup_apt.sh -COPY docker/scripts/cleanup_system.sh /autoware/cleanup_system.sh -RUN chmod +x /autoware/cleanup_system.sh -WORKDIR /autoware - -# Install apt packages and add GitHub to known hosts for private repositories -RUN rm -f /etc/apt/apt.conf.d/docker-clean \ - && echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' >/etc/apt/apt.conf.d/keep-cache -RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \ - gosu \ - ssh \ - && /autoware/cleanup_apt.sh \ - && mkdir -p ~/.ssh \ - && ssh-keyscan github.com >> ~/.ssh/known_hosts - -# Set up base environment -RUN --mount=type=ssh \ - --mount=type=cache,target=/var/cache/apt,sharing=locked \ - ./setup-dev-env.sh -y --module base --no-nvidia --no-cuda-drivers --runtime openadkit \ - && pip uninstall -y ansible ansible-core \ - && /autoware/cleanup_apt.sh \ - && echo "source /opt/ros/${ROS_DISTRO}/setup.bash" > /etc/bash.bashrc - -# Create entrypoint -COPY docker/etc/ros_entrypoint.sh /ros_entrypoint.sh -RUN chmod +x /ros_entrypoint.sh -CMD ["/bin/bash"] - -FROM base AS base-cuda -SHELL ["/bin/bash", "-o", "pipefail", "-c"] - -# Set up CUDA runtime environment and artifacts -# hadolint ignore=SC2002 -RUN --mount=type=ssh \ - ./setup-dev-env.sh -y --module base --download-artifacts --no-cuda-drivers --runtime openadkit \ - && pip uninstall -y ansible ansible-core \ - && /autoware/cleanup_apt.sh true +ARG AUTOWARE_BASE_IMAGE +ARG AUTOWARE_BASE_CUDA_IMAGE # hadolint ignore=DL3006 FROM $BASE_IMAGE AS rosdep-depend @@ -158,7 +112,8 @@ RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ > /rosdep-exec-depend-packages.txt \ && cat /rosdep-exec-depend-packages.txt -FROM base AS core-devel +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_IMAGE AS core-devel SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ENV CCACHE_DIR="/root/.ccache" @@ -413,7 +368,8 @@ COPY --from=universe-devel /opt/autoware /opt/autoware ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base AS universe-sensing-perception +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_IMAGE AS universe-sensing-perception SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR @@ -438,7 +394,8 @@ RUN echo "source /opt/autoware/setup.bash" > /etc/bash.bashrc ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base-cuda AS universe-sensing-perception-cuda +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_CUDA_IMAGE AS universe-sensing-perception-cuda SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR @@ -459,7 +416,8 @@ COPY --from=universe-sensing-perception-devel-cuda /opt/autoware /opt/autoware ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base AS universe-localization-mapping +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_IMAGE AS universe-localization-mapping SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR @@ -484,7 +442,8 @@ RUN echo "source /opt/autoware/setup.bash" > /etc/bash.bashrc ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base AS universe-planning-control +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_IMAGE AS universe-planning-control SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR @@ -509,7 +468,8 @@ RUN echo "source /opt/autoware/setup.bash" > /etc/bash.bashrc ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base AS universe-vehicle-system +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_IMAGE AS universe-vehicle-system SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR @@ -534,7 +494,8 @@ RUN echo "source /opt/autoware/setup.bash" > /etc/bash.bashrc ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base AS universe +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_IMAGE AS universe SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR @@ -559,7 +520,8 @@ RUN echo "source /opt/autoware/setup.bash" > /etc/bash.bashrc ENTRYPOINT ["/ros_entrypoint.sh"] CMD ["/bin/bash"] -FROM base-cuda AS universe-cuda +# hadolint ignore=DL3006 +FROM $AUTOWARE_BASE_CUDA_IMAGE AS universe-cuda SHELL ["/bin/bash", "-o", "pipefail", "-c"] ARG ROS_DISTRO ARG LIB_DIR diff --git a/docker/docker-bake-cuda.hcl b/docker/docker-bake-cuda.hcl index 44ec1142178..87aa27df879 100644 --- a/docker/docker-bake-cuda.hcl +++ b/docker/docker-bake-cuda.hcl @@ -1,6 +1,5 @@ group "default" { targets = [ - "base-cuda", "universe-sensing-perception-devel-cuda", "universe-sensing-perception-cuda", "universe-devel-cuda", @@ -9,18 +8,11 @@ group "default" { } // For docker/metadata-action -target "docker-metadata-action-base-cuda" {} target "docker-metadata-action-universe-sensing-perception-devel-cuda" {} target "docker-metadata-action-universe-sensing-perception-cuda" {} target "docker-metadata-action-universe-devel-cuda" {} target "docker-metadata-action-universe-cuda" {} -target "base-cuda" { - inherits = ["docker-metadata-action-base-cuda"] - dockerfile = "docker/Dockerfile" - target = "base-cuda" -} - target "universe-sensing-perception-devel-cuda" { inherits = ["docker-metadata-action-universe-sensing-perception-devel-cuda"] dockerfile = "docker/Dockerfile" diff --git a/docker/docker-bake.hcl b/docker/docker-bake.hcl index 35d0f7fdbfc..dcf79ffc115 100644 --- a/docker/docker-bake.hcl +++ b/docker/docker-bake.hcl @@ -1,6 +1,5 @@ group "default" { targets = [ - "base", "core-devel", "universe-sensing-perception-devel", "universe-sensing-perception", @@ -16,7 +15,6 @@ group "default" { } // For docker/metadata-action -target "docker-metadata-action-base" {} target "docker-metadata-action-core-devel" {} target "docker-metadata-action-universe-sensing-perception-devel" {} target "docker-metadata-action-universe-sensing-perception" {} @@ -29,12 +27,6 @@ target "docker-metadata-action-universe-vehicle-system" {} target "docker-metadata-action-universe-devel" {} target "docker-metadata-action-universe" {} -target "base" { - inherits = ["docker-metadata-action-base"] - dockerfile = "docker/Dockerfile" - target = "base" -} - target "core-devel" { inherits = ["docker-metadata-action-core-devel"] dockerfile = "docker/Dockerfile" From 45ceb15b8e9c80880a04b9d99c1b7b85800f87d7 Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Wed, 27 Nov 2024 20:14:51 +0900 Subject: [PATCH 02/13] chore(autoware.repos): fix `autoware.universe` and `autoware_launch` versions to `0.39.0` (#5479) --- autoware.repos | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoware.repos b/autoware.repos index cbe72148e27..c7e85183ed4 100644 --- a/autoware.repos +++ b/autoware.repos @@ -38,7 +38,7 @@ repositories: universe/autoware.universe: type: git url: https://github.com/autowarefoundation/autoware.universe.git - version: main + version: 0.39.0 universe/external/tier4_ad_api_adaptor: # TODO(TIER IV): Migrate to AD API and remove this repository entry. type: git url: https://github.com/tier4/tier4_ad_api_adaptor.git @@ -80,7 +80,7 @@ repositories: launcher/autoware_launch: type: git url: https://github.com/autowarefoundation/autoware_launch.git - version: main + version: 0.39.0 # sensor_component sensor_component/external/sensor_component_description: type: git From b2f5c079cf13ae6a95322a33639f1a6ebd331327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Thu, 28 Nov 2024 02:45:57 +0300 Subject: [PATCH 03/13] ci: update the pr template and add comment-on-pr workflow (#5500) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/PULL_REQUEST_TEMPLATE.md | 8 --- .github/PULL_REQUEST_TEMPLATE/small-change.md | 44 ------------- .../PULL_REQUEST_TEMPLATE/standard-change.md | 63 ------------------- .github/pull_request_template.md | 23 +++++++ .github/workflows/comment-on-pr.yaml | 25 ++++++++ 5 files changed, 48 insertions(+), 115 deletions(-) delete mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE/small-change.md delete mode 100644 .github/PULL_REQUEST_TEMPLATE/standard-change.md create mode 100644 .github/pull_request_template.md create mode 100644 .github/workflows/comment-on-pr.yaml diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 97b0e954524..00000000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,8 +0,0 @@ -**Note**: Confirm the [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/) before submitting a pull request. - -Click the `Preview` tab and select a PR template: - -- [Standard change](?expand=1&template=standard-change.md) -- [Small change](?expand=1&template=small-change.md) - -**Do NOT send a PR with this description.** diff --git a/.github/PULL_REQUEST_TEMPLATE/small-change.md b/.github/PULL_REQUEST_TEMPLATE/small-change.md deleted file mode 100644 index e15fdd992d1..00000000000 --- a/.github/PULL_REQUEST_TEMPLATE/small-change.md +++ /dev/null @@ -1,44 +0,0 @@ -## Description - - - -## Tests performed - - - - -Not applicable. - -## Effects on system behavior - - - -Not applicable. - -## Interface changes - - - -## Pre-review checklist for the PR author - -The PR author **must** check the checkboxes below when creating the PR. - -- [ ] I've confirmed the [contribution guidelines]. -- [ ] The PR follows the [pull request guidelines]. - -## In-review checklist for the PR reviewers - -The PR reviewers **must** check the checkboxes below before approval. - -- [ ] The PR follows the [pull request guidelines]. - -## Post-review checklist for the PR author - -The PR author **must** check the checkboxes below before merging. - -- [ ] There are no open discussions or they are tracked via tickets. - -After all checkboxes are checked, anyone who has write access can merge the PR. - -[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/ -[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/ diff --git a/.github/PULL_REQUEST_TEMPLATE/standard-change.md b/.github/PULL_REQUEST_TEMPLATE/standard-change.md deleted file mode 100644 index 391af629751..00000000000 --- a/.github/PULL_REQUEST_TEMPLATE/standard-change.md +++ /dev/null @@ -1,63 +0,0 @@ -## Description - - - -## Related links - - - -## Tests performed - - - -## Notes for reviewers - - - -## Interface changes - - - -### ROS Topic Changes - - - - - - -### ROS Parameter Changes - - - - - -## Effects on system behavior - - - -## Pre-review checklist for the PR author - -The PR author **must** check the checkboxes below when creating the PR. - -- [ ] I've confirmed the [contribution guidelines]. -- [ ] The PR follows the [pull request guidelines]. - -## In-review checklist for the PR reviewers - -The PR reviewers **must** check the checkboxes below before approval. - -- [ ] The PR follows the [pull request guidelines]. -- [ ] The PR has been properly tested. -- [ ] The PR has been reviewed by the code owners. - -## Post-review checklist for the PR author - -The PR author **must** check the checkboxes below before merging. - -- [ ] There are no open discussions or they are tracked via tickets. -- [ ] The PR is ready for merge. - -After all checkboxes are checked, anyone who has write access can merge the PR. - -[contribution guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/ -[pull request guidelines]: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/ diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000000..a391e265016 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,23 @@ +## Description + +## Related links + +**Parent Issue:** + +- Link + + + +## How was this PR tested? + +## Notes for reviewers + +None. + +## Effects on system behavior + +None. diff --git a/.github/workflows/comment-on-pr.yaml b/.github/workflows/comment-on-pr.yaml new file mode 100644 index 00000000000..c80141ddac6 --- /dev/null +++ b/.github/workflows/comment-on-pr.yaml @@ -0,0 +1,25 @@ +name: comment-on-pr +on: + pull_request_target: + +jobs: + comment-on-pr: + runs-on: ubuntu-22.04 + permissions: + pull-requests: write + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Initial PR comment + uses: marocchino/sticky-pull-request-comment@v2 + with: + message: | + Thank you for contributing to the Autoware project! + + 🚧 If your pull request is in progress, [switch it to draft mode](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft). + + Please ensure: + - You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/). + - Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/). + - All required CI checks pass before [marking the PR ready for review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review). From fdfd0a914afde4cb685fc64c33403f0cd3bacece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Thu, 28 Nov 2024 13:45:49 +0300 Subject: [PATCH 04/13] ci(spell-check): switch the repository to autowarefoundation (#5501) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/workflows/spell-check-differential.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spell-check-differential.yaml b/.github/workflows/spell-check-differential.yaml index f030a45251d..fdf819b035d 100644 --- a/.github/workflows/spell-check-differential.yaml +++ b/.github/workflows/spell-check-differential.yaml @@ -13,4 +13,4 @@ jobs: - name: Run spell-check uses: autowarefoundation/autoware-github-actions/spell-check@v1 with: - cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json + cspell-json-url: https://raw.githubusercontent.com/autowarefoundation/autoware-spell-check-dict/main/.cspell.json From f88d9f8a6b69ecb82126433ed4f568d16cbf2c3a Mon Sep 17 00:00:00 2001 From: "awf-autoware-bot[bot]" <94889083+awf-autoware-bot[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:09:23 +0300 Subject: [PATCH 05/13] ci(pre-commit-ansible): autoupdate (#5217) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions --- .pre-commit-config-ansible.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config-ansible.yaml b/.pre-commit-config-ansible.yaml index 4b8210eb003..161ab4efada 100644 --- a/.pre-commit-config-ansible.yaml +++ b/.pre-commit-config-ansible.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/ansible/ansible-lint.git - rev: v24.7.0 + rev: v24.10.0 hooks: - id: ansible-lint additional_dependencies: From 897faafbb11ff1f0f8a6e5bc4b1d1c5c39057661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Thu, 28 Nov 2024 15:01:14 +0300 Subject: [PATCH 06/13] ci(spell-check-diff): add explicit dict-packages (#5503) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/workflows/spell-check-differential.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/spell-check-differential.yaml b/.github/workflows/spell-check-differential.yaml index fdf819b035d..90d59626723 100644 --- a/.github/workflows/spell-check-differential.yaml +++ b/.github/workflows/spell-check-differential.yaml @@ -14,3 +14,6 @@ jobs: uses: autowarefoundation/autoware-github-actions/spell-check@v1 with: cspell-json-url: https://raw.githubusercontent.com/autowarefoundation/autoware-spell-check-dict/main/.cspell.json + dict-packages: | + https://github.com/autowarefoundation/autoware-spell-check-dict + https://github.com/tier4/cspell-dicts From 24908996a5bae524bf9eff9c6f7fa24c5915301b Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Thu, 28 Nov 2024 21:31:35 +0900 Subject: [PATCH 07/13] refactor(docker): fix `Dockerfile` indent (#5495) fix indent Signed-off-by: Yutaka Kondo --- docker/Dockerfile | 48 +++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d2ba84d017c..8857e43bc9e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -26,14 +26,14 @@ RUN --mount=type=ssh \ # Generate install package lists COPY src/core /autoware/src/core RUN rosdep update && /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-core-depend-packages.txt \ - && cat /rosdep-core-depend-packages.txt + > /rosdep-core-depend-packages.txt \ + && cat /rosdep-core-depend-packages.txt COPY src/universe/external /autoware/src/universe/external COPY src/universe/autoware.universe/common /autoware/src/universe/autoware.universe/common RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-common-depend-packages.txt \ - && cat /rosdep-universe-common-depend-packages.txt + > /rosdep-universe-common-depend-packages.txt \ + && cat /rosdep-universe-common-depend-packages.txt FROM rosdep-depend AS rosdep-universe-sensing-perception-depend SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -42,11 +42,11 @@ ARG ROS_DISTRO COPY src/universe/autoware.universe/perception /autoware/src/universe/autoware.universe/perception COPY src/universe/autoware.universe/sensing /autoware/src/universe/autoware.universe/sensing RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-sensing-perception-depend-packages.txt \ - && cat /rosdep-universe-sensing-perception-depend-packages.txt + > /rosdep-universe-sensing-perception-depend-packages.txt \ + && cat /rosdep-universe-sensing-perception-depend-packages.txt RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-sensing-perception-exec-depend-packages.txt \ - && cat /rosdep-universe-sensing-perception-exec-depend-packages.txt + > /rosdep-universe-sensing-perception-exec-depend-packages.txt \ + && cat /rosdep-universe-sensing-perception-exec-depend-packages.txt FROM rosdep-depend AS rosdep-universe-localization-mapping-depend SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -55,11 +55,11 @@ ARG ROS_DISTRO COPY src/universe/autoware.universe/localization /autoware/src/universe/autoware.universe/localization COPY src/universe/autoware.universe/map /autoware/src/universe/autoware.universe/map RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-localization-mapping-depend-packages.txt \ - && cat /rosdep-universe-localization-mapping-depend-packages.txt + > /rosdep-universe-localization-mapping-depend-packages.txt \ + && cat /rosdep-universe-localization-mapping-depend-packages.txt RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-localization-mapping-exec-depend-packages.txt \ - && cat /rosdep-universe-localization-mapping-exec-depend-packages.txt + > /rosdep-universe-localization-mapping-exec-depend-packages.txt \ + && cat /rosdep-universe-localization-mapping-exec-depend-packages.txt FROM rosdep-depend AS rosdep-universe-planning-control-depend SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -73,11 +73,11 @@ COPY src/universe/autoware.universe/map/autoware_map_projection_loader /autoware COPY src/universe/autoware.universe/sensing/autoware_pcl_extensions /autoware/src/universe/autoware.universe/sensing/autoware_pcl_extensions COPY src/universe/autoware.universe/sensing/autoware_pointcloud_preprocessor /autoware/src/universe/autoware.universe/sensing/autoware_pointcloud_preprocessor RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-planning-control-depend-packages.txt \ - && cat /rosdep-universe-planning-control-depend-packages.txt + > /rosdep-universe-planning-control-depend-packages.txt \ + && cat /rosdep-universe-planning-control-depend-packages.txt RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-planning-control-exec-depend-packages.txt \ - && cat /rosdep-universe-planning-control-exec-depend-packages.txt + > /rosdep-universe-planning-control-exec-depend-packages.txt \ + && cat /rosdep-universe-planning-control-exec-depend-packages.txt FROM rosdep-depend AS rosdep-universe-vehicle-system-depend SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -88,11 +88,11 @@ COPY src/universe/autoware.universe/system /autoware/src/universe/autoware.unive COPY src/universe/autoware.universe/map/autoware_map_height_fitter /autoware/src/universe/autoware.universe/map/autoware_map_height_fitter COPY src/universe/autoware.universe/localization/autoware_pose2twist /autoware/src/universe/autoware.universe/localization/autoware_pose2twist RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-vehicle-system-depend-packages.txt \ - && cat /rosdep-universe-vehicle-system-depend-packages.txt + > /rosdep-universe-vehicle-system-depend-packages.txt \ + && cat /rosdep-universe-vehicle-system-depend-packages.txt RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-vehicle-system-exec-depend-packages.txt \ - && cat /rosdep-universe-vehicle-system-exec-depend-packages.txt + > /rosdep-universe-vehicle-system-exec-depend-packages.txt \ + && cat /rosdep-universe-vehicle-system-exec-depend-packages.txt FROM rosdep-depend AS rosdep-universe-depend SHELL ["/bin/bash", "-o", "pipefail", "-c"] @@ -105,12 +105,12 @@ COPY src/sensor_kit /autoware/src/sensor_kit COPY src/universe /autoware/src/universe COPY src/vehicle /autoware/src/vehicle RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-universe-depend-packages.txt \ - && cat /rosdep-universe-depend-packages.txt + > /rosdep-universe-depend-packages.txt \ + && cat /rosdep-universe-depend-packages.txt RUN /autoware/resolve_rosdep_keys.sh /autoware/src ${ROS_DISTRO} \ - > /rosdep-exec-depend-packages.txt \ - && cat /rosdep-exec-depend-packages.txt + > /rosdep-exec-depend-packages.txt \ + && cat /rosdep-exec-depend-packages.txt # hadolint ignore=DL3006 FROM $AUTOWARE_BASE_IMAGE AS core-devel From 09049a513963926f9dab533a07f892ebac7161cc Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Thu, 28 Nov 2024 21:45:08 +0900 Subject: [PATCH 08/13] feat(docker): update cleanup scripts (#5497) * update cleanup scripts Signed-off-by: Yutaka Kondo * revert to ubuntu-22.04 Signed-off-by: Yutaka Kondo --------- Signed-off-by: Yutaka Kondo --- .github/workflows/docker-build-and-push.yaml | 2 +- docker/scripts/cleanup_apt.sh | 8 ++++---- docker/scripts/cleanup_system.sh | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-build-and-push.yaml b/.github/workflows/docker-build-and-push.yaml index 4fbcb666b0f..292b4753b51 100644 --- a/.github/workflows/docker-build-and-push.yaml +++ b/.github/workflows/docker-build-and-push.yaml @@ -65,7 +65,7 @@ jobs: docker-build-and-push-cuda: needs: [load-env, docker-build-and-push] - runs-on: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large + runs-on: ubuntu-22.04 steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/docker/scripts/cleanup_apt.sh b/docker/scripts/cleanup_apt.sh index 0b0d43fea14..ad03c1f39e3 100755 --- a/docker/scripts/cleanup_apt.sh +++ b/docker/scripts/cleanup_apt.sh @@ -1,10 +1,10 @@ #!/bin/bash function cleanup_apt() { - local remove_var_lib_apt_lists=$1 - apt-get autoremove -y && rm -rf "$HOME"/.cache - if [[ $remove_var_lib_apt_lists == true ]]; then - rm -rf /var/lib/apt/lists/* + local apt_clean=$1 + apt-get autoremove -y && rm -rf /var/lib/apt/lists/* "$HOME"/.cache + if [[ $apt_clean == true ]]; then + apt-get clean fi } diff --git a/docker/scripts/cleanup_system.sh b/docker/scripts/cleanup_system.sh index 1e8d911becc..0833be2b3a4 100755 --- a/docker/scripts/cleanup_system.sh +++ b/docker/scripts/cleanup_system.sh @@ -4,15 +4,15 @@ function cleanup_system() { local lib_dir=$1 local ros_distro=$2 - apt-get autoremove -y && rm -rf "$HOME"/.cache && - find /usr/lib/"$lib_dir"-linux-gnu -name "*.a" -type f -delete && + find /usr/lib/"$lib_dir"-linux-gnu -name "*.a" -type f -delete && find / -name "*.o" -type f -delete && find / -name "*.h" -type f -delete && find / -name "*.hpp" -type f -delete && rm -rf /autoware/ansible /autoware/ansible-galaxy-requirements.yaml /autoware/setup-dev-env.sh /autoware/*.env \ - /root/.local/pipx /opt/ros/"$ros_distro"/include /etc/apt/sources.list.d/cuda*.list \ + /root/.local/pipx /opt/ros/"$ros_distro"/include /opt/autoware/include /etc/apt/sources.list.d/cuda*.list \ /etc/apt/sources.list.d/docker.list /etc/apt/sources.list.d/nvidia-docker.list \ /usr/include /usr/share/doc /usr/lib/gcc /usr/lib/jvm /usr/lib/llvm* } +./cleanup_apt.sh cleanup_system "$@" From 3054252d4f082165499c2cf2b61b81ecb5691c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Fri, 29 Nov 2024 05:34:00 +0300 Subject: [PATCH 09/13] ci(sync-files): make use of sync-files-templates repo (#5504) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index e69de29bb2d..aa720753cbf 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -0,0 +1,64 @@ +- repository: autowarefoundation/sync-file-templates + files: + - source: sources/.github/ISSUE_TEMPLATE/bug.yaml + dest: .github/ISSUE_TEMPLATE/bug.yaml + - source: sources/.github/ISSUE_TEMPLATE/config.yml + dest: .github/ISSUE_TEMPLATE/config.yml + - source: sources/.github/ISSUE_TEMPLATE/task.yaml + dest: .github/ISSUE_TEMPLATE/task.yaml + - source: sources/.github/dependabot.yaml + dest: .github/dependabot.yaml + - source: sources/.github/pull_request_template.md + dest: .github/pull_request_template.md + - source: sources/.github/stale.yml + dest: .github/stale.yml + - source: sources/.github/workflows/cancel-previous-workflows.yaml + dest: .github/workflows/cancel-previous-workflows.yaml + - source: sources/.github/workflows/comment-on-pr.yaml + dest: .github/workflows/comment-on-pr.yaml + - source: sources/.github/workflows/github-release.yaml + dest: .github/workflows/github-release.yaml + - source: sources/.github/workflows/pre-commit-optional.yaml + dest: .github/workflows/pre-commit-optional.yaml + - source: sources/.github/workflows/pre-commit-optional-autoupdate.yaml + dest: .github/workflows/pre-commit-optional-autoupdate.yaml + - source: sources/.github/workflows/pre-commit-autoupdate.yaml + dest: .github/workflows/pre-commit-autoupdate.yaml + - source: sources/.github/workflows/semantic-pull-request.yaml + dest: .github/workflows/semantic-pull-request.yaml + - source: sources/.github/workflows/spell-check-differential.yaml + dest: .github/workflows/spell-check-differential.yaml + - source: sources/.github/workflows/spell-check-daily.yaml + dest: .github/workflows/spell-check-daily.yaml + - source: sources/.github/workflows/sync-files.yaml + dest: .github/workflows/sync-files.yaml + - source: sources/.clang-format + dest: .clang-format + - source: sources/.clang-tidy + dest: .clang-tidy + - source: sources/.markdown-link-check.json + dest: .markdown-link-check.json + - source: sources/.markdownlint.yaml + dest: .markdownlint.yaml + - source: sources/.pre-commit-config-optional.yaml + dest: .pre-commit-config-optional.yaml + - source: sources/.pre-commit-config.yaml + dest: .pre-commit-config.yaml + - source: sources/.prettierignore + dest: .prettierignore + - source: sources/.prettierrc.yaml + dest: .prettierrc.yaml + - source: sources/.yamllint.yaml + dest: .yamllint.yaml + - source: sources/CODE_OF_CONDUCT.md + dest: CODE_OF_CONDUCT.md + - source: sources/CONTRIBUTING.md + dest: CONTRIBUTING.md + - source: sources/CPPLINT.cfg + dest: CPPLINT.cfg + - source: sources/DISCLAIMER.md + dest: DISCLAIMER.md + - source: sources/LICENSE + dest: LICENSE + - source: sources/setup.cfg + dest: setup.cfg From e46be0edcb2b6c5079431a9bb900a8d387c0ae40 Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Fri, 29 Nov 2024 16:05:57 +0900 Subject: [PATCH 10/13] ci: use AWS CodeBuild to run docker-build-and-push-cuda (#5475) (#5509) Signed-off-by: Ryohsuke Mitsudome Co-authored-by: Ryohsuke Mitsudome <43976834+mitsudome-r@users.noreply.github.com> --- .github/workflows/docker-build-and-push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-build-and-push.yaml b/.github/workflows/docker-build-and-push.yaml index 292b4753b51..4fbcb666b0f 100644 --- a/.github/workflows/docker-build-and-push.yaml +++ b/.github/workflows/docker-build-and-push.yaml @@ -65,7 +65,7 @@ jobs: docker-build-and-push-cuda: needs: [load-env, docker-build-and-push] - runs-on: ubuntu-22.04 + runs-on: codebuild-autoware-us-east-1-${{ github.run_id }}-${{ github.run_attempt }}-ubuntu-7.0-large steps: - name: Check out repository uses: actions/checkout@v4 From b8f9f30b6a15d5f8bfcc68c105afd37aa5dff0c0 Mon Sep 17 00:00:00 2001 From: "awf-autoware-bot[bot]" <94889083+awf-autoware-bot[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 14:17:46 +0300 Subject: [PATCH 11/13] chore: sync files (#5506) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/pull_request_template.md | 12 - .github/workflows/spell-check-daily.yaml | 23 + .pre-commit-config.yaml | 54 +- .../autoware-rviz-icons/active/downarrow.svg | 32 +- .../autoware-rviz-icons/active/uparrow.svg | 32 +- .../disabled/branch-end.svg | 42 +- .../disabled/branch-more.svg | 42 +- .../disabled/downarrow.svg | 32 +- .../disabled/leftarrow.svg | 32 +- .../disabled/radiobutton_checked.svg | 43 +- .../disabled/radiobutton_unchecked.svg | 37 +- .../disabled/rightarrow.svg | 32 +- .../autoware-rviz-icons/disabled/uparrow.svg | 32 +- .../autoware-rviz-icons/disabled/vline.svg | 40 +- .../files/autoware-rviz-icons/primary/add.svg | 4 +- .../primary/branch-closed.svg | 4 +- .../primary/branch-end.svg | 42 +- .../primary/branch-more.svg | 42 +- .../primary/branch-open.svg | 4 +- .../primary/checkbox_checked_disabled.svg | 6 +- .../primary/checkbox_checked_enabled.svg | 6 +- .../primary/checkbox_checked_hovered.svg | 6 +- .../primary/checkbox_checked_pressed.svg | 6 +- .../checkbox_indeterminate_disabled.svg | 6 +- .../checkbox_indeterminate_enabled.svg | 6 +- .../checkbox_indeterminate_hovered.svg | 6 +- .../checkbox_indeterminate_pressed.svg | 6 +- .../primary/checkbox_unchecked_disabled.svg | 6 +- .../primary/checkbox_unchecked_enabled.svg | 6 +- .../primary/checkbox_unchecked_hovered.svg | 6 +- .../primary/checkbox_unchecked_pressed.svg | 6 +- .../autoware-rviz-icons/primary/close.svg | 4 +- .../autoware-rviz-icons/primary/downarrow.svg | 32 +- .../autoware-rviz-icons/primary/float.svg | 58 +- .../autoware-rviz-icons/primary/leftarrow.svg | 32 +- .../autoware-rviz-icons/primary/minus.svg | 4 +- .../autoware-rviz-icons/primary/more.svg | 6 +- .../primary/radiobutton_checked.svg | 43 +- .../primary/radiobutton_checked_invert.svg | 43 +- .../primary/radiobutton_unchecked.svg | 37 +- .../primary/radiobutton_unchecked_invert.svg | 37 +- .../primary/rightarrow.svg | 32 +- .../autoware-rviz-icons/primary/sizegrip.svg | 52 +- .../autoware-rviz-icons/primary/slider.svg | 37 +- .../primary/splitter-horizontal.svg | 2 +- .../autoware-rviz-icons/primary/tab_close.svg | 34 +- .../primary/toolbar-handle-horizontal.svg | 56 +- .../primary/toolbar-handle-vertical.svg | 56 +- .../autoware-rviz-icons/primary/uparrow.svg | 32 +- docker/Dockerfile.svg | 1223 +++++++++-------- 50 files changed, 1403 insertions(+), 1070 deletions(-) create mode 100644 .github/workflows/spell-check-daily.yaml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index a391e265016..4c4081a67e4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,17 +1,5 @@ ## Description -## Related links - -**Parent Issue:** - -- Link - - - ## How was this PR tested? ## Notes for reviewers diff --git a/.github/workflows/spell-check-daily.yaml b/.github/workflows/spell-check-daily.yaml new file mode 100644 index 00000000000..f6a14d00d86 --- /dev/null +++ b/.github/workflows/spell-check-daily.yaml @@ -0,0 +1,23 @@ +name: spell-check-daily + +on: + schedule: + - cron: 0 0 * * * + workflow_dispatch: + +jobs: + spell-check-daily: + runs-on: ubuntu-22.04 + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Run spell-check + uses: autowarefoundation/autoware-github-actions/spell-check@v1 + with: + local-cspell-json: .cspell.json + incremental-files-only: false + cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json + dict-packages: | + https://github.com/autowarefoundation/autoware-spell-check-dict + https://github.com/tier4/cspell-dicts diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6c3aba177d..b99c5e1c20c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,7 @@ repos: - id: check-toml - id: check-xml - id: check-yaml + args: [--unsafe] - id: detect-private-key - id: end-of-file-fixer - id: mixed-line-ending @@ -32,6 +33,16 @@ repos: hooks: - id: yamllint + - repo: https://github.com/tier4/pre-commit-hooks-ros + rev: v0.10.0 + hooks: + - id: flake8-ros + - id: prettier-xacro + - id: prettier-launch-xml + - id: prettier-package-xml + - id: ros-include-guard + - id: sort-package-xml + - repo: https://github.com/shellcheck-py/shellcheck-py rev: v0.10.0.1 hooks: @@ -43,9 +54,48 @@ repos: - id: shfmt args: [-w, -s, -i=4] + - repo: https://github.com/pycqa/isort + rev: 5.13.2 + hooks: + - id: isort + + - repo: https://github.com/psf/black + rev: 24.8.0 + hooks: + - id: black + args: [--line-length=100] + + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v18.1.8 + hooks: + - id: clang-format + types_or: [c++, c, cuda] + + - repo: https://github.com/cpplint/cpplint + rev: 1.6.1 + hooks: + - id: cpplint + args: [--quiet] + exclude: .cu + + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.29.2 + hooks: + - id: check-metaschema + files: ^.+/schema/.*schema\.json$ + + - repo: local + hooks: + - id: prettier-svg + name: prettier svg + description: Apply Prettier with plugin-xml to svg. + entry: prettier --write --list-different --ignore-unknown --print-width 200 --xml-self-closing-space false --xml-whitespace-sensitivity ignore + language: node + files: .svg$ + additional_dependencies: [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"] + - repo: https://github.com/AleksaC/hadolint-py rev: v2.12.1b3 hooks: - id: hadolint - -exclude: .svg + exclude: .svg$ diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/downarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/downarrow.svg index 22a70a5fbc9..eb6b3fa15e7 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/downarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/downarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/uparrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/uparrow.svg index b283329b32b..9df564b2f46 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/uparrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/active/uparrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-end.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-end.svg index decd600a806..3d57b5a8da4 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-end.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-end.svg @@ -1,24 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-more.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-more.svg index 669c8ee6b77..e5aa4c609e4 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-more.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/branch-more.svg @@ -1,24 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/downarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/downarrow.svg index 22a70a5fbc9..eb6b3fa15e7 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/downarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/downarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/leftarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/leftarrow.svg index a1b5eb770c3..d0f92cb0cee 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/leftarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/leftarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_checked.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_checked.svg index 462030e6b75..253a3390f8b 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_checked.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_checked.svg @@ -1,22 +1,27 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_unchecked.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_unchecked.svg index 73e58ac050b..58f7a262cab 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_unchecked.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/radiobutton_unchecked.svg @@ -1,19 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/rightarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/rightarrow.svg index 31224808311..3c0f7d75cb7 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/rightarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/rightarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/uparrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/uparrow.svg index b283329b32b..9df564b2f46 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/uparrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/uparrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/vline.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/vline.svg index 67f84120ce2..5881dc0f7da 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/vline.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/disabled/vline.svg @@ -1,23 +1,23 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/add.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/add.svg index c747fc89c49..71db35634be 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/add.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/add.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-closed.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-closed.svg index 43acdf27491..1ad9694e59c 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-closed.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-closed.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-end.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-end.svg index 87f7840f363..7c8f5274b22 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-end.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-end.svg @@ -1,24 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-more.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-more.svg index 9f8af0ba8c3..ae87542b2da 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-more.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-more.svg @@ -1,24 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-open.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-open.svg index d22353f4e9e..7faf29d632d 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-open.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/branch-open.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_disabled.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_disabled.svg index f737c436438..4d209ef8ffb 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_disabled.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_disabled.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_enabled.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_enabled.svg index d9eee3a1e08..19a52b880ee 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_enabled.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_enabled.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_hovered.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_hovered.svg index b49a8cf315b..cdbfa0da561 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_hovered.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_hovered.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_pressed.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_pressed.svg index 5d3bccb1941..5470a4c58cd 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_pressed.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_checked_pressed.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_disabled.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_disabled.svg index 8f9b9ae512c..31f5e4888aa 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_disabled.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_disabled.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_enabled.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_enabled.svg index 797fb421df9..aa801e4045a 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_enabled.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_enabled.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_hovered.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_hovered.svg index 43b20a76820..80a8df071f2 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_hovered.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_hovered.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_pressed.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_pressed.svg index a39172c056a..14b6fec7f85 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_pressed.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_indeterminate_pressed.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_disabled.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_disabled.svg index 873587b1985..8b3839bc244 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_disabled.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_disabled.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_enabled.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_enabled.svg index 265a55067f5..2992a9fdfac 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_enabled.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_enabled.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_hovered.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_hovered.svg index 27990330dc2..28745854522 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_hovered.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_hovered.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_pressed.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_pressed.svg index e9c0436eb7e..c7f3755b2d4 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_pressed.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/checkbox_unchecked_pressed.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/close.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/close.svg index fed396b0d88..9026603c977 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/close.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/close.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/downarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/downarrow.svg index 8176e8f50b0..2481bf8acc0 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/downarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/downarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/float.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/float.svg index bb2383e4ec7..ba80019b97e 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/float.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/float.svg @@ -1,20 +1,44 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/leftarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/leftarrow.svg index e595c0d652d..71678e2e693 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/leftarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/leftarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/minus.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/minus.svg index 7be3c893e40..7c87293e9b3 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/minus.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/minus.svg @@ -1 +1,3 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/more.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/more.svg index c11e849e587..5ad31e749b1 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/more.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/more.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked.svg index ea2d8183e3d..e5173e229fa 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked.svg @@ -1,22 +1,27 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked_invert.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked_invert.svg index 92003b1b80c..61dd75ad404 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked_invert.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_checked_invert.svg @@ -1,22 +1,27 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked.svg index ec6ee7a3213..8d9ce155419 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked.svg @@ -1,19 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked_invert.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked_invert.svg index 5defd965a50..22590a0bff1 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked_invert.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/radiobutton_unchecked_invert.svg @@ -1,19 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/rightarrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/rightarrow.svg index 4845aa5975c..26bb041dc59 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/rightarrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/rightarrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/sizegrip.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/sizegrip.svg index 6a3d5ec4839..bbc7bd248c4 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/sizegrip.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/sizegrip.svg @@ -1,29 +1,29 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/slider.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/slider.svg index ecd7581285f..7caf04186da 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/slider.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/slider.svg @@ -1,19 +1,24 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/splitter-horizontal.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/splitter-horizontal.svg index 6be8cb04a16..cb95aa21dd8 100644 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/splitter-horizontal.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/splitter-horizontal.svg @@ -1,3 +1,3 @@ - \ No newline at end of file + diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/tab_close.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/tab_close.svg index 3c758445d0a..45aa5d57777 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/tab_close.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/tab_close.svg @@ -1,20 +1,20 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-horizontal.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-horizontal.svg index 0d639307250..8e7e03463e6 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-horizontal.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-horizontal.svg @@ -1,31 +1,31 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-vertical.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-vertical.svg index b6b267ead6f..a6c19f370d7 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-vertical.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/toolbar-handle-vertical.svg @@ -1,31 +1,31 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - diff --git a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/uparrow.svg b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/uparrow.svg index cab8eba2ab5..6eb3e13f7ad 100755 --- a/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/uparrow.svg +++ b/ansible/roles/qt5ct_setup/files/autoware-rviz-icons/primary/uparrow.svg @@ -1,19 +1,19 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - diff --git a/docker/Dockerfile.svg b/docker/Dockerfile.svg index 7ad00076c97..a9465e1a552 100644 --- a/docker/Dockerfile.svg +++ b/docker/Dockerfile.svg @@ -1,541 +1,692 @@ - + - - -G - - -cluster_legend - - - - -key -FROM ...  -COPY --from=...  -RUN --mount=(.*)from=...  - - - -key2 -  -  -  - - - -key:e->key2:w - - - - - -key:e->key2:w - - - - - -key:e->key2:w - - - - - -external_image_0 - -$BASE_IMAGE - - - -stage_0 - -base - - - -external_image_0->stage_0 - - - - - -stage_2 - -rosdep-depend - - - -external_image_0->stage_2 - - - - - -stage_1 - -base-cuda - - - -stage_0->stage_1 - - - - - -stage_8 - -core-devel - - - -stage_0->stage_8 - - - - - -stage_18 - -universe-sensing-perception - - - -stage_0->stage_18 - - - - - - -stage_20 - -universe-localization-mapping - - - -stage_0->stage_20 - - - - -stage_21 - -universe-planning-control - - - -stage_0->stage_21 - - - - - -stage_22 - -universe-vehicle-system - - - -stage_0->stage_22 - - - - - -stage_23 - -universe - - - -stage_0->stage_23 - - - - - - -stage_2->stage_8 - - - - - -stage_3 - -rosdep-universe-sensing-perception-depend - - - -stage_2->stage_3 - - - - - -stage_4 - -rosdep-universe-localization-mapping-depend - - - -stage_2->stage_4 - - - - - -stage_5 - -rosdep-universe-planning-control-depend - - - -stage_2->stage_5 - - - - - -stage_6 - -rosdep-universe-vehicle-system-depend - - - -stage_2->stage_6 - - - - - -stage_7 - -rosdep-universe-depend - - - -stage_2->stage_7 - - - - - - -stage_9 - -universe-common-devel - - - -stage_2->stage_9 - - - - - -stage_19 - -universe-sensing-perception-cuda - - - -stage_1->stage_19 - - - - - -stage_24 - -universe-cuda - - - -stage_1->stage_24 - - - - - -stage_8->stage_9 - - - - - -stage_3->stage_18 - - - - - -stage_3->stage_19 - - - - - -stage_11 - -universe-sensing-perception-devel - - - -stage_3->stage_11 - - - - - -stage_12 - -universe-sensing-perception-devel-cuda - - - -stage_3->stage_12 - - - - - - -stage_4->stage_20 - - - - - - -stage_13 - -universe-localization-mapping-devel - - - -stage_4->stage_13 - - - - - -stage_5->stage_21 - - - - - -stage_14 - -universe-planning-control-devel - - - -stage_5->stage_14 - - - - - -stage_6->stage_22 - - - - - - -stage_15 - -universe-vehicle-system-devel - - - -stage_6->stage_15 - - - - - -stage_7->stage_23 - - - - - -stage_7->stage_24 - - - - - - -stage_16 - -universe-devel - - - -stage_7->stage_16 - - - - - -stage_17 - -universe-devel-cuda - - - -stage_7->stage_17 - - - - - -stage_9->stage_11 - - - - - -stage_9->stage_13 - - - - - -stage_9->stage_14 - - - - - -stage_9->stage_15 - - - - - -stage_9->stage_16 - - - - - -stage_10 - -universe-common-devel-cuda - - - -stage_9->stage_10 - - - - - -stage_11->stage_18 - - - - - -stage_11->stage_12 - - - - - -stage_11->stage_16 - - - - - -stage_12->stage_19 - - - - - -stage_12->stage_17 - - - - - -stage_13->stage_20 - - - - - -stage_13->stage_16 - - - - - -stage_14->stage_21 - - - - - -stage_14->stage_16 - - - - - -stage_15->stage_22 - - - - - -stage_15->stage_16 - - - - - -stage_16->stage_23 - - - - - -stage_16->stage_17 - - - - - -stage_17->stage_24 - - - - - -stage_10->stage_12 - - - - - -stage_10->stage_17 - - - - + + + G + + + cluster_legend + + + + + key + FROM ... + COPY --from=...  + RUN --mount=(.*)from=...  + + + + key2 + + + + + + + key:e->key2:w + + + + + + key:e->key2:w + + + + + + key:e->key2:w + + + + + + external_image_0 + + $BASE_IMAGE + + + + stage_0 + + base + + + + external_image_0->stage_0 + + + + + + stage_2 + + rosdep-depend + + + + external_image_0->stage_2 + + + + + + stage_1 + + base-cuda + + + + stage_0->stage_1 + + + + + + stage_8 + + core-devel + + + + stage_0->stage_8 + + + + + + stage_18 + + universe-sensing-perception + + + + stage_0->stage_18 + + + + + + + stage_20 + + universe-localization-mapping + + + + stage_0->stage_20 + + + + + stage_21 + + universe-planning-control + + + + stage_0->stage_21 + + + + + + stage_22 + + universe-vehicle-system + + + + stage_0->stage_22 + + + + + + stage_23 + + universe + + + + stage_0->stage_23 + + + + + + + stage_2->stage_8 + + + + + + stage_3 + + rosdep-universe-sensing-perception-depend + + + + stage_2->stage_3 + + + + + + stage_4 + + rosdep-universe-localization-mapping-depend + + + + stage_2->stage_4 + + + + + + stage_5 + + rosdep-universe-planning-control-depend + + + + stage_2->stage_5 + + + + + + stage_6 + + rosdep-universe-vehicle-system-depend + + + + stage_2->stage_6 + + + + + + stage_7 + + rosdep-universe-depend + + + + stage_2->stage_7 + + + + + + + stage_9 + + universe-common-devel + + + + stage_2->stage_9 + + + + + + stage_19 + + universe-sensing-perception-cuda + + + + stage_1->stage_19 + + + + + + stage_24 + + universe-cuda + + + + stage_1->stage_24 + + + + + + stage_8->stage_9 + + + + + + stage_3->stage_18 + + + + + + stage_3->stage_19 + + + + + + stage_11 + + universe-sensing-perception-devel + + + + stage_3->stage_11 + + + + + + stage_12 + + universe-sensing-perception-devel-cuda + + + + stage_3->stage_12 + + + + + + + stage_4->stage_20 + + + + + + + stage_13 + + universe-localization-mapping-devel + + + + stage_4->stage_13 + + + + + + stage_5->stage_21 + + + + + + stage_14 + + universe-planning-control-devel + + + + stage_5->stage_14 + + + + + + stage_6->stage_22 + + + + + + + stage_15 + + universe-vehicle-system-devel + + + + stage_6->stage_15 + + + + + + stage_7->stage_23 + + + + + + stage_7->stage_24 + + + + + + + stage_16 + + universe-devel + + + + stage_7->stage_16 + + + + + + stage_17 + + universe-devel-cuda + + + + stage_7->stage_17 + + + + + + stage_9->stage_11 + + + + + + stage_9->stage_13 + + + + + + stage_9->stage_14 + + + + + + stage_9->stage_15 + + + + + + stage_9->stage_16 + + + + + + stage_10 + + universe-common-devel-cuda + + + + stage_9->stage_10 + + + + + + stage_11->stage_18 + + + + + + stage_11->stage_12 + + + + + + stage_11->stage_16 + + + + + + stage_12->stage_19 + + + + + + stage_12->stage_17 + + + + + + stage_13->stage_20 + + + + + + stage_13->stage_16 + + + + + + stage_14->stage_21 + + + + + + stage_14->stage_16 + + + + + + stage_15->stage_22 + + + + + + stage_15->stage_16 + + + + + + stage_16->stage_23 + + + + + + stage_16->stage_17 + + + + + + stage_17->stage_24 + + + + + + stage_10->stage_12 + + + + + + stage_10->stage_17 + + + + From b57b7ea5207652f85a49c0a95ba1516a9bfd06b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Fri, 29 Nov 2024 14:45:46 +0300 Subject: [PATCH 12/13] ci(sync-files): simplify by utilizing source-dir param (#5511) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- .github/sync-files.yaml | 94 ++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 62 deletions(-) diff --git a/.github/sync-files.yaml b/.github/sync-files.yaml index aa720753cbf..e8d63cde667 100644 --- a/.github/sync-files.yaml +++ b/.github/sync-files.yaml @@ -1,64 +1,34 @@ - repository: autowarefoundation/sync-file-templates + source-dir: sources files: - - source: sources/.github/ISSUE_TEMPLATE/bug.yaml - dest: .github/ISSUE_TEMPLATE/bug.yaml - - source: sources/.github/ISSUE_TEMPLATE/config.yml - dest: .github/ISSUE_TEMPLATE/config.yml - - source: sources/.github/ISSUE_TEMPLATE/task.yaml - dest: .github/ISSUE_TEMPLATE/task.yaml - - source: sources/.github/dependabot.yaml - dest: .github/dependabot.yaml - - source: sources/.github/pull_request_template.md - dest: .github/pull_request_template.md - - source: sources/.github/stale.yml - dest: .github/stale.yml - - source: sources/.github/workflows/cancel-previous-workflows.yaml - dest: .github/workflows/cancel-previous-workflows.yaml - - source: sources/.github/workflows/comment-on-pr.yaml - dest: .github/workflows/comment-on-pr.yaml - - source: sources/.github/workflows/github-release.yaml - dest: .github/workflows/github-release.yaml - - source: sources/.github/workflows/pre-commit-optional.yaml - dest: .github/workflows/pre-commit-optional.yaml - - source: sources/.github/workflows/pre-commit-optional-autoupdate.yaml - dest: .github/workflows/pre-commit-optional-autoupdate.yaml - - source: sources/.github/workflows/pre-commit-autoupdate.yaml - dest: .github/workflows/pre-commit-autoupdate.yaml - - source: sources/.github/workflows/semantic-pull-request.yaml - dest: .github/workflows/semantic-pull-request.yaml - - source: sources/.github/workflows/spell-check-differential.yaml - dest: .github/workflows/spell-check-differential.yaml - - source: sources/.github/workflows/spell-check-daily.yaml - dest: .github/workflows/spell-check-daily.yaml - - source: sources/.github/workflows/sync-files.yaml - dest: .github/workflows/sync-files.yaml - - source: sources/.clang-format - dest: .clang-format - - source: sources/.clang-tidy - dest: .clang-tidy - - source: sources/.markdown-link-check.json - dest: .markdown-link-check.json - - source: sources/.markdownlint.yaml - dest: .markdownlint.yaml - - source: sources/.pre-commit-config-optional.yaml - dest: .pre-commit-config-optional.yaml - - source: sources/.pre-commit-config.yaml - dest: .pre-commit-config.yaml - - source: sources/.prettierignore - dest: .prettierignore - - source: sources/.prettierrc.yaml - dest: .prettierrc.yaml - - source: sources/.yamllint.yaml - dest: .yamllint.yaml - - source: sources/CODE_OF_CONDUCT.md - dest: CODE_OF_CONDUCT.md - - source: sources/CONTRIBUTING.md - dest: CONTRIBUTING.md - - source: sources/CPPLINT.cfg - dest: CPPLINT.cfg - - source: sources/DISCLAIMER.md - dest: DISCLAIMER.md - - source: sources/LICENSE - dest: LICENSE - - source: sources/setup.cfg - dest: setup.cfg + - source: .github/ISSUE_TEMPLATE/bug.yaml + - source: .github/ISSUE_TEMPLATE/config.yml + - source: .github/ISSUE_TEMPLATE/task.yaml + - source: .github/dependabot.yaml + - source: .github/pull_request_template.md + - source: .github/stale.yml + - source: .github/workflows/cancel-previous-workflows.yaml + - source: .github/workflows/comment-on-pr.yaml + - source: .github/workflows/github-release.yaml + - source: .github/workflows/pre-commit-optional.yaml + - source: .github/workflows/pre-commit-optional-autoupdate.yaml + - source: .github/workflows/pre-commit-autoupdate.yaml + - source: .github/workflows/semantic-pull-request.yaml + - source: .github/workflows/spell-check-differential.yaml + - source: .github/workflows/spell-check-daily.yaml + - source: .github/workflows/sync-files.yaml + - source: .clang-format + - source: .clang-tidy + - source: .markdown-link-check.json + - source: .markdownlint.yaml + - source: .pre-commit-config-optional.yaml + - source: .pre-commit-config.yaml + - source: .prettierignore + - source: .prettierrc.yaml + - source: .yamllint.yaml + - source: CODE_OF_CONDUCT.md + - source: CONTRIBUTING.md + - source: CPPLINT.cfg + - source: DISCLAIMER.md + - source: LICENSE + - source: setup.cfg From 5bdf3d496bb4f7a6587d8c5635435572d727a244 Mon Sep 17 00:00:00 2001 From: "awf-autoware-bot[bot]" <94889083+awf-autoware-bot[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:27:13 +0000 Subject: [PATCH 13/13] chore: sync files (#5513) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions --- .clang-format | 4 ++++ .clang-tidy | 4 ++++ .github/ISSUE_TEMPLATE/bug.yaml | 4 ++++ .github/ISSUE_TEMPLATE/config.yml | 4 ++++ .github/ISSUE_TEMPLATE/task.yaml | 4 ++++ .github/dependabot.yaml | 4 ++++ .github/stale.yml | 4 ++++ .github/workflows/cancel-previous-workflows.yaml | 4 ++++ .github/workflows/comment-on-pr.yaml | 4 ++++ .github/workflows/github-release.yaml | 4 ++++ .github/workflows/pre-commit-autoupdate.yaml | 4 ++++ .github/workflows/pre-commit-optional-autoupdate.yaml | 4 ++++ .github/workflows/pre-commit-optional.yaml | 4 ++++ .github/workflows/semantic-pull-request.yaml | 4 ++++ .github/workflows/spell-check-daily.yaml | 5 ++++- .github/workflows/spell-check-differential.yaml | 4 ++++ .github/workflows/sync-files.yaml | 4 ++++ .markdownlint.yaml | 4 ++++ .pre-commit-config-optional.yaml | 4 ++++ .pre-commit-config.yaml | 4 ++++ .prettierignore | 4 ++++ .prettierrc.yaml | 4 ++++ .yamllint.yaml | 4 ++++ CPPLINT.cfg | 4 ++++ setup.cfg | 4 ++++ 25 files changed, 100 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index b41fae9129e..cd54eb45dde 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + # Modified from https://github.com/ament/ament_lint/blob/master/ament_clang_format/ament_clang_format/configuration/.clang-format Language: Cpp BasedOnStyle: Google diff --git a/.clang-tidy b/.clang-tidy index f5eccdf3cc7..de12fb605c8 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + Checks: " -*, boost-use-to-string, diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml index 12a857998a0..5c74f7c5e4d 100644 --- a/.github/ISSUE_TEMPLATE/bug.yaml +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: Bug description: Report a bug body: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 48765c24a7b..deccbf336f6 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + blank_issues_enabled: false contact_links: - name: Question diff --git a/.github/ISSUE_TEMPLATE/task.yaml b/.github/ISSUE_TEMPLATE/task.yaml index cd8322f5074..58307325ce4 100644 --- a/.github/ISSUE_TEMPLATE/task.yaml +++ b/.github/ISSUE_TEMPLATE/task.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: Task description: Plan a task body: diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 0264c035357..8fd9b7f4ae0 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + version: 2 updates: - package-ecosystem: github-actions diff --git a/.github/stale.yml b/.github/stale.yml index bc99e4383ca..ffce036c8d0 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + # Modified from https://github.com/probot/stale#usage # Number of days of inactivity before an Issue or Pull Request with the stale label is closed diff --git a/.github/workflows/cancel-previous-workflows.yaml b/.github/workflows/cancel-previous-workflows.yaml index bd2463d5a8e..ee79ce0e4d4 100644 --- a/.github/workflows/cancel-previous-workflows.yaml +++ b/.github/workflows/cancel-previous-workflows.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: cancel-previous-workflows on: diff --git a/.github/workflows/comment-on-pr.yaml b/.github/workflows/comment-on-pr.yaml index c80141ddac6..0f2ecf519db 100644 --- a/.github/workflows/comment-on-pr.yaml +++ b/.github/workflows/comment-on-pr.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: comment-on-pr on: pull_request_target: diff --git a/.github/workflows/github-release.yaml b/.github/workflows/github-release.yaml index 4b1d7f47c6c..bbe2ac512d7 100644 --- a/.github/workflows/github-release.yaml +++ b/.github/workflows/github-release.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: github-release on: diff --git a/.github/workflows/pre-commit-autoupdate.yaml b/.github/workflows/pre-commit-autoupdate.yaml index 8d57a53b5cc..489e32a1de1 100644 --- a/.github/workflows/pre-commit-autoupdate.yaml +++ b/.github/workflows/pre-commit-autoupdate.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: pre-commit-autoupdate on: diff --git a/.github/workflows/pre-commit-optional-autoupdate.yaml b/.github/workflows/pre-commit-optional-autoupdate.yaml index a9fe00401a1..be79ad481d1 100644 --- a/.github/workflows/pre-commit-optional-autoupdate.yaml +++ b/.github/workflows/pre-commit-optional-autoupdate.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: pre-commit-optional-autoupdate on: diff --git a/.github/workflows/pre-commit-optional.yaml b/.github/workflows/pre-commit-optional.yaml index 12f536c5516..3d0867028f7 100644 --- a/.github/workflows/pre-commit-optional.yaml +++ b/.github/workflows/pre-commit-optional.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: pre-commit-optional on: diff --git a/.github/workflows/semantic-pull-request.yaml b/.github/workflows/semantic-pull-request.yaml index 71224c224ec..b56040b084f 100644 --- a/.github/workflows/semantic-pull-request.yaml +++ b/.github/workflows/semantic-pull-request.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: semantic-pull-request on: diff --git a/.github/workflows/spell-check-daily.yaml b/.github/workflows/spell-check-daily.yaml index f6a14d00d86..2ff647acf03 100644 --- a/.github/workflows/spell-check-daily.yaml +++ b/.github/workflows/spell-check-daily.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: spell-check-daily on: @@ -15,7 +19,6 @@ jobs: - name: Run spell-check uses: autowarefoundation/autoware-github-actions/spell-check@v1 with: - local-cspell-json: .cspell.json incremental-files-only: false cspell-json-url: https://raw.githubusercontent.com/tier4/autoware-spell-check-dict/main/.cspell.json dict-packages: | diff --git a/.github/workflows/spell-check-differential.yaml b/.github/workflows/spell-check-differential.yaml index 90d59626723..e3af4327f21 100644 --- a/.github/workflows/spell-check-differential.yaml +++ b/.github/workflows/spell-check-differential.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: spell-check-differential on: diff --git a/.github/workflows/sync-files.yaml b/.github/workflows/sync-files.yaml index 0cffbcd2a26..9224c1503ed 100644 --- a/.github/workflows/sync-files.yaml +++ b/.github/workflows/sync-files.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + name: sync-files on: diff --git a/.markdownlint.yaml b/.markdownlint.yaml index 7b7359fe0cd..584154b2009 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + # See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for all rules. default: true MD013: false diff --git a/.pre-commit-config-optional.yaml b/.pre-commit-config-optional.yaml index 8c9345e15f0..ff325af5e87 100644 --- a/.pre-commit-config-optional.yaml +++ b/.pre-commit-config-optional.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + repos: - repo: https://github.com/tcort/markdown-link-check rev: v3.12.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b99c5e1c20c..e6dcc3f464a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + ci: autofix_commit_msg: "style(pre-commit): autofix" diff --git a/.prettierignore b/.prettierignore index a3c34d00a13..3e96aacebba 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,6 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + *.param.yaml *.rviz diff --git a/.prettierrc.yaml b/.prettierrc.yaml index e29bf327627..fe476936f7b 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + printWidth: 100 tabWidth: 2 overrides: diff --git a/.yamllint.yaml b/.yamllint.yaml index 2c7bd088e26..e0be62dbcb1 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + extends: default ignore: | diff --git a/CPPLINT.cfg b/CPPLINT.cfg index ba6bdf08c10..81869c92be6 100644 --- a/CPPLINT.cfg +++ b/CPPLINT.cfg @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + # Modified from https://github.com/ament/ament_lint/blob/ebd524bb9973d5ec1dc48a670ce54f958a5a0243/ament_cpplint/ament_cpplint/main.py#L64-L120 set noparent linelength=100 diff --git a/setup.cfg b/setup.cfg index 5214751c7ba..4d7d5e5b959 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,7 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + [flake8] # Modified from https://github.com/ament/ament_lint/blob/ebd524bb9973d5ec1dc48a670ce54f958a5a0243/ament_flake8/ament_flake8/configuration/ament_flake8.ini extend-ignore = B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202,CNL100,E203,E501,Q000