Skip to content

fix(ansible/acados): add env vars to /etc/skel/.bashrc too#6848

Merged
xmfcx merged 1 commit into
mainfrom
fix/ansible/acados/bashrc
Feb 25, 2026
Merged

fix(ansible/acados): add env vars to /etc/skel/.bashrc too#6848
xmfcx merged 1 commit into
mainfrom
fix/ansible/acados/bashrc

Conversation

@xmfcx
Copy link
Copy Markdown
Contributor

@xmfcx xmfcx commented Feb 25, 2026

Description

Similar to

- name: Add CCACHE_DIR to .bashrc of local user
become: true
ansible.builtin.lineinfile:
dest: /etc/skel/.bashrc
line: export CCACHE_DIR="$HOME/.ccache"
state: present
create: true
mode: 0644

We have to add these env vars to /etc/skel/.bashrc as well.

Because the way the current dockerfiles work, a complete new user is created at the ros_entrypoint.sh in the docker images.

useradd -u "$USER_ID" -g "$GROUP_ID" -s /bin/bash -m -d /home/"$USER_NAME" "$USER_NAME"

So it is either a new user like this (and in the CI) or you load your own user in.

/etc/skel/.bashrc is a template bash configuration file that gets automatically copied to every new user's home directory when their account is created, providing default shell settings, aliases, and environment configurations.

Should resolve this: https://github.com/autowarefoundation/autoware_universe/actions/runs/22376772448/job/64797090378?pr=11479

How was this PR tested?

Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
@github-actions
Copy link
Copy Markdown

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@xmfcx xmfcx self-assigned this Feb 25, 2026
@xmfcx xmfcx added the run:health-check Run health-check label Feb 25, 2026
@xmfcx
Copy link
Copy Markdown
Contributor Author

xmfcx commented Feb 25, 2026

I'm currently rewriting the dockerfiles that'll be used in the ci and by the developers.

This won't be necessary in that future.

@xmfcx
Copy link
Copy Markdown
Contributor Author

xmfcx commented Feb 25, 2026

If these 2 pass it should be ok, no need to wait for the remaining tests.

https://github.com/autowarefoundation/autoware/actions/runs/22393263981?pr=6848

image

@xmfcx xmfcx merged commit 1adb67f into main Feb 25, 2026
20 of 21 checks passed
@xmfcx xmfcx deleted the fix/ansible/acados/bashrc branch February 25, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run:health-check Run health-check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants