Skip to content

Commit 0d14f50

Browse files
committed
Add a setup script for GHA workflow environment
1 parent ad796a9 commit 0d14f50

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

dev/setup-env.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
/usr/bin/python3.8 -m venv venv
4+
source venv/bin/activate
5+
pip install -U pip
6+
pip install -r requirements.txt
7+
ansible --version
8+
# Install ansible dependencies ...
9+
ansible-galaxy role install -r requirements.yml --force
10+
ansible-galaxy collection install -r requirements.yml --force

requirements.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ansible==6.0.0
2+
openstacksdk
3+
python-openstackclient
4+
jmespath
5+
passlib[bcrypt]==1.7.4
6+
cookiecutter
7+
selinux # this is a shim to avoid having to use --system-site-packages, you still need sudo yum install libselinux-python3
8+
netaddr
9+
matplotlib

0 commit comments

Comments
 (0)