Skip to content

OVA upgrade process #38

OVA upgrade process

OVA upgrade process #38

Workflow file for this run

name: Test OVA scripts
on:
push:
branches:
- main
paths:
- "ova/**"
- ".github/workflows/test-ova.yml"
pull_request:
branches:
- main
paths:
- "ova/**"
- ".github/workflows/test-ova.yml"
jobs:
logic:
name: Logic + compose config
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install bats, jq and zstd
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends bats jq zstd
- name: Run logic and config tests
run: bats ova/tests/generate-env.bats ova/tests/generate-compose.bats ova/tests/firewall.bats ova/tests/dg-ctl.bats
integration:
name: Real bring-up
runs-on: [self-hosted, Linux, X64]
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install bats, jq and zstd
run: |
sudo apt-get update -qq
sudo apt-get install -y --no-install-recommends bats jq zstd
- name: Login to GitHub container registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run integration tests
env:
RUN_INTEGRATION: "1"
CORE_TAG: "2"
PROXY_TAG: "2"
GATEWAY_TAG: "2"
run: bats ova/tests/integration.bats