Skip to content

Commit

Permalink
fix(ansible/plotjuggler): fix bugs (autowarefoundation#246)
Browse files Browse the repository at this point in the history
* ci: add setup-universe.yaml

Signed-off-by: Kenji Miyake <[email protected]>

* add -v

Signed-off-by: Kenji Miyake <[email protected]>

* use -vvv

Signed-off-by: Kenji Miyake <[email protected]>

* fix style

Signed-off-by: Kenji Miyake <[email protected]>

* upgrade pyOpenSSL

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Apr 28, 2022
1 parent d23a700 commit 17596c3
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/setup-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:

- name: Run setup script
run: |
./setup-dev-env.sh -y docker
./setup-dev-env.sh -y -v docker
16 changes: 16 additions & 0 deletions .github/workflows/setup-uiniverse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: setup-universe

on:
pull_request:

jobs:
setup-universe:
runs-on: ubuntu-latest
container: ubuntu:20.04
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Run setup script
run: |
./setup-dev-env.sh -y -v --no-nvidia universe
12 changes: 10 additions & 2 deletions ansible/roles/plotjuggler/tasks/main.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
- name: Install apt packages
# Workaround for https://serverfault.com/questions/1099606/ansible-openssl-error-with-apt-module
- name: Upgrade pyOpenSSL
become: true
ansible.builtin.pip:
name: pyOpenSSL
state: latest
executable: pip3

- name: Install plotjuggler
become: true
ansible.builtin.apt:
name:
- ros-galactic-plotjuggler-ros
- ros-{{ rosdistro }}-plotjuggler-ros
state: latest
update_cache: true
2 changes: 1 addition & 1 deletion setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fi

# Check verbose option
if [ "$option_verbose" = "true" ]; then
ansible_args+=("-v")
ansible_args+=("-vvv")
fi

# Check NVIDIA Installation
Expand Down

0 comments on commit 17596c3

Please sign in to comment.