Skip to content

Commit

Permalink
review: Make get-all-images.py standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwnasptd committed Sep 3, 2024
1 parent ee54b85 commit 08c5e49
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scan-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
RELEASE=${BUNDLE_SPLIT[1]}
RISK=${BUNDLE_SPLIT[2]}
pip3 install -r scripts/airgapped/requirements.txt
pip3 install -r scripts/requirements.txt
python3 scripts/get-all-images.py ${{ matrix.bundle }}/bundle.yaml > image_list.txt
echo "Image list:"
cat ./image_list.txt
Expand Down
1 change: 0 additions & 1 deletion scripts/airgapped/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
docker
requests
PyYAML
gitpython
4 changes: 4 additions & 0 deletions scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
gitpython
tenacity
boto3
click
2 changes: 2 additions & 0 deletions tests/airgapped/setup/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ cat tests/airgapped/lxd.profile | lxd init --preseed
./scripts/airgapped/prerequisites.sh
./tests/airgapped/setup/lxd-docker-networking.sh

pip3 install -r ./scripts/requirements.txt

echo "Setup completed. Reboot your machine before running the tests for the docker commands to run without sudo."

0 comments on commit 08c5e49

Please sign in to comment.