Skip to content

Commit

Permalink
Check if version is working
Browse files Browse the repository at this point in the history
  • Loading branch information
montjoie committed Jan 7, 2025
1 parent a8b0d68 commit a681151
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
run: |
python -m py_compile lavalab-gen.py 2> output
if [ -s output ] ; then cat output ; exit 1 ; fi
- name: check version change
run: |
python -m pip install --upgrade pip
pip install pyyaml
export OUTDIR=$(mktemp -d --dry-run)
./lavalab-gen.py -o $OUTDIR boards-ci2.yaml
grep -q 2024.xx $OUTDIR/masterci1/Dockerfile || exit 1
grep -q 2024.xx $OUTDIR/lab-ci-0/Dockerfile || exit 1
check-lava-lab-gen:
runs-on: ubuntu-22.04
steps:
Expand Down
28 changes: 28 additions & 0 deletions boards-ci2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
masters:
- name: masterci1
host: local
users:
- name: admin
token: tokenforci
password: passwordforci
superuser: true
staff: true
tokens:
- username: admin
token: dfjdfkfkdjfkdsjfslforci
description: no description
version: 2024.xx

slaves:
- name: lab-ci-0
host: local
remote_master: masterci1
remote_user: admin
use_overlay_server: false
use_tftp: false
version: 2024.xx

boards:
- name: qemu-01
type: qemu

0 comments on commit a681151

Please sign in to comment.