Skip to content

Commit ccec0e0

Browse files
committed
ci(ansible): rename setup-universe workflow to health-check-ansible
Step 1 of #7052. - Rename .github/workflows/setup-universe.yaml to health-check-ansible.yaml. - Replace setup-dev-env.sh invocation with the new install-ansible.sh + ansible-galaxy + install_dev_env playbook flow. - Drop ros_distro from the matrix; install_dev_env.yaml auto-derives it from the Ubuntu version. - Rename the job from setup-universe to install-dev-env. Branch protection that referenced "setup-universe / setup-universe" must be updated to "health-check-ansible / install-dev-env". Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
1 parent 73a516b commit ccec0e0

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/setup-universe.yaml renamed to .github/workflows/health-check-ansible.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: setup-universe
1+
name: health-check-ansible
22

33
on:
44
pull_request:
@@ -18,18 +18,16 @@ jobs:
1818
with:
1919
label: run:health-check
2020

21-
setup-universe:
21+
install-dev-env:
2222
needs: require-label
2323
if: ${{ needs.require-label.outputs.result == 'true' }}
2424
runs-on: [self-hosted, Linux, X64]
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
include:
29-
- image: ubuntu:22.04
30-
ros_distro: humble
31-
- image: ubuntu:24.04
32-
ros_distro: jazzy
28+
image:
29+
- ubuntu:22.04
30+
- ubuntu:24.04
3331
container:
3432
image: ${{ matrix.image }}
3533
steps:
@@ -67,6 +65,9 @@ jobs:
6765
with:
6866
token: ${{ secrets.GITHUB_TOKEN }}
6967

70-
- name: Run setup script
68+
- name: Install dev environment via ansible
7169
run: |
72-
./setup-dev-env.sh --ros-distro ${{ matrix.ros_distro }} -y -v universe
70+
bash ansible/scripts/install-ansible.sh
71+
export PATH="$HOME/.local/bin:$PATH"
72+
ansible-galaxy collection install -f -r ansible-galaxy-requirements.yaml
73+
ansible-playbook autoware.dev_env.install_dev_env -v

0 commit comments

Comments
 (0)