Trigger CI #505
This file contains 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: "Acceptance Test" | |
on: | |
push: | |
branches: | |
- "dev/trigger-ci" | |
jobs: | |
test: | |
name: "Test ${{ matrix.tag }} on ${{ matrix.browser }}" | |
runs-on: "ubuntu-22.04" | |
strategy: | |
fail-fast: false | |
matrix: | |
tag: | |
- "black-box" | |
browser: | |
- "Firefox" | |
- "Chrome" | |
exclude: | |
- tag: "black-box" | |
browser: Firefox | |
steps: | |
- name: "Check out repository" | |
uses: "actions/checkout@v3" | |
with: | |
submodules: true | |
- name: "df" | |
run: | | |
df -h | |
docker system df | |
- name: "Create external volumes" | |
run: | | |
make -C hack/ create-volumes | |
- name: "Start MySQL" | |
run: | | |
docker compose up -d mysql | |
working-directory: ./hack | |
- name: "Build images" | |
run: | | |
make -C hack/ build | |
env: | |
PYTHON_VERSION: "3.9" | |
- name: "df" | |
run: | | |
df -h | |
docker system df | |
- name: "Start services" | |
run: | | |
docker compose up -d | |
env: | |
cluster.routing.allocation.disk.threshold_enabled: false | |
working-directory: ./hack | |
- name: "Bootstrap services" | |
run: | | |
make -C hack/ bootstrap | |
- name: "Restart services" | |
run: | | |
make -C hack/ restart-am-services | |
- name: "df" | |
run: | | |
df -h | |
docker system df | |
- name: "Run AMAUAT tag" | |
run: | | |
make -C hack/ test-at-behave TAGS="${{ matrix.tag }}" BROWSER=${{ matrix.browser }} | |
continue-on-error: true | |
- name: "df" | |
run: | | |
df -h | |
docker system df | |
- name: "Show logs" | |
run: | | |
docker compose logs archivematica-storage-service | |
docker compose logs archivematica-mcp-server | |
docker compose logs archivematica-mcp-client | |
docker compose logs archivematica-dashboard | |
docker compose logs elasticsearch | |
working-directory: ./hack |