22 lines
656 B
YAML
22 lines
656 B
YAML
name: Application HTTPS smoke
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
smoke:
|
|
# The course requires a disposable Docker host for PRs from forks.
|
|
if: ${{ github.server_url == 'https://github.com' || vars.LAB7_EPHEMERAL_DOCKER == 'true' }}
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 18
|
|
env:
|
|
COMPOSE_PROJECT_NAME: lab7-ci-${{ github.run_id }}-${{ github.run_attempt }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
- run: scripts/start.sh
|
|
- run: make test test-security
|
|
- if: always()
|
|
run: docker compose down --volumes --remove-orphans
|