2023-05-03 05:39:15 +02:00
|
|
|
name: Release and upgrade tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
2023-05-05 05:32:51 +02:00
|
|
|
- cron: '0 */12 * * * '
|
2023-05-03 05:39:15 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- id: skip_check
|
|
|
|
uses: fkirc/skip-duplicate-actions@v5
|
|
|
|
with:
|
|
|
|
concurrent_skipping: 'same_content_newer'
|
|
|
|
|
|
|
|
- uses: earthly/actions-setup@v1
|
|
|
|
with:
|
|
|
|
version: 'latest'
|
|
|
|
|
2023-05-03 23:28:38 +02:00
|
|
|
- name: Install ffmpeg
|
|
|
|
run: sudo apt-get install ffmpeg
|
|
|
|
|
2023-05-03 05:39:15 +02:00
|
|
|
- name: Earthly version
|
|
|
|
run: earthly --version
|
|
|
|
|
|
|
|
- name: Set up QEMU
|
|
|
|
id: qemu
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
with:
|
|
|
|
image: tonistiigi/binfmt:latest
|
|
|
|
platforms: all
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Run release upgrade tests
|
|
|
|
uses: nick-fields/retry@v2
|
|
|
|
with:
|
|
|
|
timeout_minutes: 10
|
|
|
|
max_attempts: 3
|
|
|
|
command: cd test/automated/upgrades && ./run.sh
|