This repository was archived by the owner on Mar 7, 2026. It is now read-only.
chore(deps): Bump renovatebot/github-action from 46.0.1 to 46.1.0 (#15) #41
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Lint Dockerfile | |
| uses: hadolint/hadolint-action@v3.3.0 | |
| with: | |
| dockerfile: docker/backup/Dockerfile | |
| - name: Lint shell scripts | |
| uses: ludeeus/action-shellcheck@2.0.0 | |
| with: | |
| scandir: './docker/backup/scripts' | |
| additional_files: './test/integration.sh ./test/test-retention.sh' | |
| - name: Validate docker-compose config | |
| run: | | |
| docker compose config -q | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml config -q | |
| integration-test: | |
| name: Integration Test | |
| runs-on: ubuntu-latest | |
| needs: lint | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Start services | |
| run: | | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml up -d --build --wait | |
| timeout-minutes: 5 | |
| - name: Run integration tests | |
| run: | | |
| chmod +x test/integration.sh | |
| ./test/integration.sh | |
| - name: Show logs on failure | |
| if: failure() | |
| run: | | |
| echo "=== Docker Compose Logs ===" | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml logs | |
| echo "=== Container Status ===" | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml ps -a | |
| - name: Cleanup | |
| if: always() | |
| run: | | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml down -v --remove-orphans | |
| retention-test: | |
| name: Retention Policy Test | |
| runs-on: ubuntu-latest | |
| needs: lint | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Start services | |
| run: | | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml up -d --build --wait | |
| timeout-minutes: 5 | |
| - name: Run retention tests | |
| run: | | |
| chmod +x test/test-retention.sh | |
| ./test/test-retention.sh | |
| - name: Show logs on failure | |
| if: failure() | |
| run: | | |
| echo "=== Docker Compose Logs ===" | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml logs | |
| echo "=== Container Status ===" | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml ps -a | |
| - name: Cleanup | |
| if: always() | |
| run: | | |
| docker compose -f docker-compose.yml -f docker-compose.test.yml down -v --remove-orphans |