Skip to content

mysql-security-regression-test #6

mysql-security-regression-test

mysql-security-regression-test #6

name: mysql-security-regression-test
on:
workflow_dispatch:
jobs:
security-regression-test:
runs-on: ubuntu-24.04
strategy:
matrix:
ubuntu-base:
- "[email protected]"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup LXD
uses: canonical/setup-lxd@main
with:
channel: 5.21/stable
- name: Install dependencies
run: |
sudo snap install --channel 3.6/stable juju
sudo snap install --classic terraform
sudo snap install --classic juju-wait
sudo snap install --channel 2024.1/candidate tempest
- name: Bootstrap Juju
run: |
juju bootstrap localhost
- name: Deploy Keystone and MySQL
run: |
cd tf/mysql-security-regression
terraform init
terraform apply -auto-approve -var ubuntu-base=${{ matrix.ubuntu-base }}
juju model-config -m mysql-regression-testing automatically-retry-hooks=true
juju-wait -vw -m mysql-regression-testing -t 1200
- name: Run Tempest
run: |
cd tf/mysql-security-regression
./tempest-run
- name: Collect juju status
if: always()
run: |
juju status -m mysql-regression-testing
juju debug-log -m mysql-regression-testing --replay