Skip to content

get output of docker ps -a #12

get output of docker ps -a

get output of docker ps -a #12

Workflow file for this run

name: Run tests
on:
push:
branches: '**'
jobs:
tests:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.0.10"
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: "3.10.12"
- name: Cache Python packages
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python dependencies
run: pip install --no-cache-dir --user ansible==9.5.1
- name: Setup OpenSSH Server
run: |
sudo apt update
sudo apt install --yes openssh-server=1:8.9p1-3ubuntu0.7
sudo apt install --yes tree
rm -rf /opt/hostedtoolcache/CodeQL
sudo service ssh start
- name: Initialize Terraform infrastructure
run: terraform init
working-directory: ./tests/setup
- name: Show VM metrics
run: cat /proc/cpuinfo && cat /proc/meminfo && df -h
# && du -h --max-depth=3 / | sort -rh | head -n 100
- name: Apply Terraform infrastructure
run: terraform apply --auto-approve
working-directory: ./tests/setup
- name: Run testsuite
run: ansible-playbook --inventory inventory.yml deploy.yml
working-directory: ./tests/testsuite
- name: Cleanup
if: always()
run: terraform destroy --auto-approve
working-directory: ./tests/setup