Skip to content

Add toggles for optional Compose and Helm GHCR cleanup #136

Add toggles for optional Compose and Helm GHCR cleanup

Add toggles for optional Compose and Helm GHCR cleanup #136

name: consistency-downstream
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
consistency-downstream:
runs-on: ubuntu-latest
steps:
- name: Checkout openads-dev-environment
uses: actions/checkout@v4
- name: Install dependencies via apt
run: sudo apt-get update && sudo apt-get install -y doxygen
- name: Install dependencies via pip
run: python3 -m pip install -r scripts/requirements.txt
- name: Run downstream consistency checks
id: downstream-consistency
shell: bash
run: |
set +e
comment_file="downstream-consistency-comment.md"
python3 scripts/check_downstream_consistency.py \
--markdown-report "${comment_file}" \
https://github.com/openads-project/ackermann_trajectory_control.git \
https://github.com/openads-project/carla_converter.git \
https://github.com/openads-project/lanelet2_map_server.git \
https://github.com/openads-project/lanelet2_object_list_prediction.git \
https://github.com/openads-project/lanelet2_route_planning.git \
https://github.com/openads-project/monitoring.git \
https://github.com/openads-project/openads_demo_service.git \
https://github.com/openads-project/point_cloud_fusion.git \
https://github.com/openads-project/point_cloud_object_detection.git \
https://github.com/openads-project/ros2_graph_export.git \
https://github.com/openads-project/ros_middleware_bridge.git \
https://github.com/openads-project/simple_planner.git \
https://github.com/openads-project/simulation_adapter.git \
https://github.com/openads-project/trajectory_optimization.git
if [ ! -s "${comment_file}" ]; then
echo "Downstream consistency report was not generated." | tee "${comment_file}" >> "${GITHUB_STEP_SUMMARY}"
exit 1
fi
cat "${comment_file}" >> "${GITHUB_STEP_SUMMARY}"
exit 0
- name: Comment downstream consistency result
if: github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v3
continue-on-error: true
with:
header: downstream-consistency
path: downstream-consistency-comment.md