Skip to content

cosmetics

cosmetics #49

Workflow file for this run

name: Ambassador test
on:
- push
jobs:
salt-render-test:
name: "Salt state rendering test"
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
image: [ "debian:bookworm", "ubuntu:focal" ]
env:
DOCKER_IMAGE: ${{ matrix.image }}
CONTEXT: syntax-test
steps:
- name: Check out repository code
uses: actions/checkout@v2
- run: .github/prepare.sh salt-test
- run: .github/test.sh salt-test syntax
# - run: .github/publish.sh docker # todo not yet available
saltcheck-test:
name: "Salt state execution test"
runs-on: ubuntu-latest
needs:
- salt-render-test
strategy:
matrix:
image: [ "debian:bookworm", "ubuntu:focal" ]
context: [ "base", "server" ]
env:
DOCKER_IMAGE: ${{ matrix.image }}
CONTEXT: ${{ matrix.context }}
TEST_LIVE_LOG: INFO
steps:
- name: Check out repository code
uses: actions/checkout@v2
- run: .github/prepare.sh salt-test
- run: .github/test.sh salt-test saltcheck