Test Install Scripts for Buster on Docker #153
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: Test Install Scripts for Buster on Docker | |
on: | |
schedule: | |
# run at 5 every sunday | |
- cron: '* 5 * * 0' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
- name: Build Buster ARMv7 | |
uses: docker/build-push-action@v4 | |
with: | |
context: . | |
load: true | |
push: false | |
file: ./ci/Dockerfile.buster.test_install.armv7 | |
platforms: linux/arm/v7 | |
tags: rpi-jukebox-rfid-buster:latest | |
cache-from: type=gha,scope=$GITHUB_REF_NAME-buster | |
cache-to: type=gha,mode=max,scope=$GITHUB_REF_NAME-buster | |
- name: Run run_installation_tests.sh Buster ARMv7 | |
uses: tj-actions/docker-run@v2 | |
with: | |
image: rpi-jukebox-rfid-buster:latest | |
options: --platform linux/arm/v7 | |
name: run_installation_tests.sh | |
args: | | |
/code/scripts/installscripts/tests/run_installation_tests.sh | |
# - name: Run run_installation_tests2.sh Buster ARMv7 | |
# uses: tj-actions/docker-run@v2 | |
# with: | |
# image: rpi-jukebox-rfid-buster:latest | |
# options: --platform linux/arm/v7 | |
# name: run_installation_tests2.sh | |
# args: | | |
# /code/scripts/installscripts/tests/run_installation_tests2.sh | |
- name: Run run_installation_tests3.sh Buster ARMv7 | |
uses: tj-actions/docker-run@v2 | |
with: | |
image: rpi-jukebox-rfid-buster:latest | |
options: --platform linux/arm/v7 | |
name: run_installation_tests3.sh | |
args: | | |
/code/scripts/installscripts/tests/run_installation_tests3.sh | |