From f1d770e91699a01c08e85b08945fbf2bebb65fca Mon Sep 17 00:00:00 2001 From: Maxime Noel Date: Fri, 20 Dec 2024 12:28:45 +1300 Subject: [PATCH] Fix githubactions --- .github/workflows/ci-validation.yml | 13 +++++++++---- .../salt-server-containerized-validation | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-validation.yml b/.github/workflows/ci-validation.yml index 18d8ccdc5..d744ae21f 100644 --- a/.github/workflows/ci-validation.yml +++ b/.github/workflows/ci-validation.yml @@ -13,10 +13,15 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 1 - - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: salt-common - version: 1.0 +# - 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://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh -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 diff --git a/.github/workflows/ci-validation/salt-server-containerized-validation b/.github/workflows/ci-validation/salt-server-containerized-validation index 0c41b2b78..dbc6a120a 100644 --- a/.github/workflows/ci-validation/salt-server-containerized-validation +++ b/.github/workflows/ci-validation/salt-server-containerized-validation @@ -49,6 +49,7 @@ publish_private_ssl_key: true testsuite: true container_repository: containers.example.com container_runtime: podman +provision: true EOF cat > testconfig/minion <