Add support for restore mode #575
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
permissions: read-all | |
on: | |
pull_request: | |
schedule: | |
# Run every on Friday to ensure everything works as expected. | |
- cron: '0 6 * * 5' | |
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 | |
- add-ollama | |
- disable-backup-service | |
- disable-elasticsearch-service | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up test environment | |
run: .github/tests/setup/${{ matrix.module }}.sh | |
env: | |
VERSION: 'develop' # TODO: revert before merging! | |
- name: Run tests | |
run: .github/tests/${{ matrix.module }}.sh | |
env: | |
VERSION: 'develop' # TODO: revert before merging! |