From e9c212d0e40070f5d78ef9f2b1c8f35c50899ed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mete=20Fatih=20C=C4=B1r=C4=B1t?= Date: Fri, 24 Apr 2026 12:48:35 +0300 Subject: [PATCH] refactor(ansible): mark legacy entrypoints for removal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 1 deprecation-marker step for the ansible entrypoint consolidation tracked in https://github.com/autowarefoundation/autoware/issues/7052. Every file below remains fully functional; Phase 2 (no earlier than 2026-05-24) deletes them together. - setup-dev-env.sh: adds a DEPRECATED header comment and prints a yellow warning banner to stderr at every invocation. - ansible/playbooks/universe.yaml, openadkit.yaml: superseded by install_dev_env.yaml. - ansible/playbooks/role_rmw_implementation.yaml: duplicate of install_rmw.yaml (was rmw.yaml). - ansible/playbooks/setup_acados.yaml, download_artifacts.yaml, install_rviz_theme.yaml, install_spconv.yaml: replace with install_dev_env.yaml + --tags. - ansible/playbooks/telegraf.yaml: no known callers. Signed-off-by: Mete Fatih Cırıt --- ansible/playbooks/download_artifacts.yaml | 3 +++ ansible/playbooks/install_rviz_theme.yaml | 3 +++ ansible/playbooks/install_spconv.yaml | 3 +++ ansible/playbooks/openadkit.yaml | 3 +++ ansible/playbooks/role_rmw_implementation.yaml | 3 +++ ansible/playbooks/setup_acados.yaml | 3 +++ ansible/playbooks/telegraf.yaml | 3 +++ ansible/playbooks/universe.yaml | 3 +++ setup-dev-env.sh | 8 ++++++++ 9 files changed, 32 insertions(+) diff --git a/ansible/playbooks/download_artifacts.yaml b/ansible/playbooks/download_artifacts.yaml index e465e3a7ee1..8f422772566 100644 --- a/ansible/playbooks/download_artifacts.yaml +++ b/ansible/playbooks/download_artifacts.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags artifacts`. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Download Autoware artifacts hosts: localhost module_defaults: diff --git a/ansible/playbooks/install_rviz_theme.yaml b/ansible/playbooks/install_rviz_theme.yaml index a30b0900ddf..a4ab4c21485 100644 --- a/ansible/playbooks/install_rviz_theme.yaml +++ b/ansible/playbooks/install_rviz_theme.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags qt5ct_setup`. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Install RViz theme hosts: localhost roles: diff --git a/ansible/playbooks/install_spconv.yaml b/ansible/playbooks/install_spconv.yaml index e159c7d6864..cb5da820f7b 100644 --- a/ansible/playbooks/install_spconv.yaml +++ b/ansible/playbooks/install_spconv.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags spconv`. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Download and install the cumm and spconv packages hosts: localhost roles: diff --git a/ansible/playbooks/openadkit.yaml b/ansible/playbooks/openadkit.yaml index 60591fa99ea..881d88e872d 100644 --- a/ansible/playbooks/openadkit.yaml +++ b/ansible/playbooks/openadkit.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: superseded by install_dev_env.yaml. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Set up source development environments for Autoware Universe hosts: localhost connection: local diff --git a/ansible/playbooks/role_rmw_implementation.yaml b/ansible/playbooks/role_rmw_implementation.yaml index 32f947a6089..61e85856c4a 100644 --- a/ansible/playbooks/role_rmw_implementation.yaml +++ b/ansible/playbooks/role_rmw_implementation.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: duplicate of install_rmw.yaml (was rmw.yaml). +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Install RMW implementation hosts: localhost roles: diff --git a/ansible/playbooks/setup_acados.yaml b/ansible/playbooks/setup_acados.yaml index 69247c0faa2..36d335adbf8 100644 --- a/ansible/playbooks/setup_acados.yaml +++ b/ansible/playbooks/setup_acados.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags acados`. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Setup acados hosts: localhost connection: local diff --git a/ansible/playbooks/telegraf.yaml b/ansible/playbooks/telegraf.yaml index a490821a23f..3f570d3efba 100644 --- a/ansible/playbooks/telegraf.yaml +++ b/ansible/playbooks/telegraf.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: no known callers; scheduled for removal. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Set up Telegraf and InfluxDB v2 hosts: localhost roles: diff --git a/ansible/playbooks/universe.yaml b/ansible/playbooks/universe.yaml index 642a6c9a3e9..5dfdadc9a59 100644 --- a/ansible/playbooks/universe.yaml +++ b/ansible/playbooks/universe.yaml @@ -1,3 +1,6 @@ +# DEPRECATED: superseded by install_dev_env.yaml. +# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. + - name: Set up source development environments for Autoware Universe hosts: localhost connection: local diff --git a/setup-dev-env.sh b/setup-dev-env.sh index 0efc4c80eb4..e90564bdca4 100755 --- a/setup-dev-env.sh +++ b/setup-dev-env.sh @@ -1,10 +1,18 @@ #!/usr/bin/env bash +# DEPRECATED: superseded by ansible/scripts/install-ansible.sh + +# `ansible-playbook autoware.dev_env.install_dev_env`. Scheduled for removal +# on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052. +# # Set up development environment for Autoware Core/Universe. # Usage: setup-dev-env.sh [-y] [-v] [--no-nvidia] # Note: -y option is only for CI. set -e +echo -e "\e[33m[DEPRECATED] setup-dev-env.sh will be removed on 2026-05-24.\e[m" >&2 +echo -e "\e[33mMigrate to: bash ansible/scripts/install-ansible.sh && ansible-playbook autoware.dev_env.install_dev_env [--tags ...]\e[m" >&2 +echo -e "\e[33mSee https://github.com/autowarefoundation/autoware/issues/7052\e[m" >&2 + # Function to print help message print_help() { echo "Usage: setup-dev-env.sh [OPTIONS]"