Skip to content

Commit ffd9034

Browse files
authored
refactor(ansible): mark legacy entrypoints for removal (#7059)
Phase 1 deprecation-marker step for the ansible entrypoint consolidation tracked in #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 <mfc@autoware.org>
1 parent 4309b45 commit ffd9034

9 files changed

Lines changed: 32 additions & 0 deletions

ansible/playbooks/download_artifacts.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags artifacts`.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Download Autoware artifacts
25
hosts: localhost
36
module_defaults:

ansible/playbooks/install_rviz_theme.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags qt5ct_setup`.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Install RViz theme
25
hosts: localhost
36
roles:

ansible/playbooks/install_spconv.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags spconv`.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Download and install the cumm and spconv packages
25
hosts: localhost
36
roles:

ansible/playbooks/openadkit.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: superseded by install_dev_env.yaml.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Set up source development environments for Autoware Universe
25
hosts: localhost
36
connection: local

ansible/playbooks/role_rmw_implementation.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: duplicate of install_rmw.yaml (was rmw.yaml).
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Install RMW implementation
25
hosts: localhost
36
roles:

ansible/playbooks/setup_acados.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: replace with `ansible-playbook autoware.dev_env.install_dev_env --tags acados`.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Setup acados
25
hosts: localhost
36
connection: local

ansible/playbooks/telegraf.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: no known callers; scheduled for removal.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Set up Telegraf and InfluxDB v2
25
hosts: localhost
36
roles:

ansible/playbooks/universe.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# DEPRECATED: superseded by install_dev_env.yaml.
2+
# Scheduled for removal on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
3+
14
- name: Set up source development environments for Autoware Universe
25
hosts: localhost
36
connection: local

setup-dev-env.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
#!/usr/bin/env bash
2+
# DEPRECATED: superseded by ansible/scripts/install-ansible.sh +
3+
# `ansible-playbook autoware.dev_env.install_dev_env`. Scheduled for removal
4+
# on 2026-05-24. See https://github.com/autowarefoundation/autoware/issues/7052.
5+
#
26
# Set up development environment for Autoware Core/Universe.
37
# Usage: setup-dev-env.sh <ros2_installation_type('core' or 'universe')> [-y] [-v] [--no-nvidia]
48
# Note: -y option is only for CI.
59

610
set -e
711

12+
echo -e "\e[33m[DEPRECATED] setup-dev-env.sh will be removed on 2026-05-24.\e[m" >&2
13+
echo -e "\e[33mMigrate to: bash ansible/scripts/install-ansible.sh && ansible-playbook autoware.dev_env.install_dev_env [--tags ...]\e[m" >&2
14+
echo -e "\e[33mSee https://github.com/autowarefoundation/autoware/issues/7052\e[m" >&2
15+
816
# Function to print help message
917
print_help() {
1018
echo "Usage: setup-dev-env.sh [OPTIONS]"

0 commit comments

Comments
 (0)