Skip to content

Add paygo images

Add paygo images #1308

Workflow file for this run

name: CI validation tests
on:
pull_request:
branches:
- master
jobs:
validate_salt:
name: Validate Salt states
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
# - uses: awalsh128/cache-apt-pkgs-action@latest
# with:
# packages: salt-common
# version: 1.0
# execute_install_scripts: true
- name: Install Salt using bootstrap
run: |
curl -fsSL https://bootstrap.saltproject.io -o install_salt.sh
sudo sh install_salt.sh -P -x python3
- name: Validate server states
if: always()
run: bash .github/workflows/ci-validation/salt-server-validation
- name: Validate client states
if: always()
run: bash .github/workflows/ci-validation/salt-client-validation
- name: Validate minion states
if: always()
run: bash .github/workflows/ci-validation/salt-minion-validation
- name: Validate controller states
if: always()
run: bash .github/workflows/ci-validation/salt-controller-validation
- name: Validate mirror states
if: always()
run: bash .github/workflows/ci-validation/salt-mirror-validation
- name: Validate containerized server states
if: always()
run: bash .github/workflows/ci-validation/salt-server-containerized-validation
validate_terraform_config:
name: Validate terraform configuration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: hashicorp/setup-terraform@v3
with:
terraform_version: 1.0.10
- name: Validate configuration using example files
run: .github/workflows/ci-validation/terraform-validation