Skip to content

Modularize docker stack: allow loading of addiditional scenarios #497

Modularize docker stack: allow loading of addiditional scenarios

Modularize docker stack: allow loading of addiditional scenarios #497

Workflow file for this run

---
name: CI
permissions: read-all
on:
pull_request:
jobs:
docker-compose-lint:
name: "Docker Compose self-lint"
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint zammad docker compose file
run: docker compose config
super-linter:
name: "Super Linter"
runs-on: ubuntu-24.04
steps:
- name: checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint code base
uses: github/super-linter/slim@v7
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: .github/linters
VALIDATE_ALL_CODEBASE: false
VALIDATE_JSCPD: false
VALIDATE_SHELL_SHFMT: false
VALIDATE_YAML_PRETTIER: false
tests:
name: "Run tests with remote docker image"
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
matrix:
module:
- default
- add-cloudflare-tunnel
- add-external-network-to-elasticsearch
- add-external-network-to-nginx
- add-hostport-to-elasticsearch
- add-nginx-proxy-manager
- disable-backup-service
- disable-elasticsearch-service
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Pull docker compose images
run: docker compose pull
- name: Set up test environment
run: .github/tests/setup/${{ matrix.module }}.sh
- name: Run tests
run: .github/tests/${{ matrix.module }}.sh