Skip to content

Submit to KCIDB

Submit to KCIDB #1

Workflow file for this run

name: Submit to KCIDB
defaults:
run:
shell: bash -leo pipefail {0}
on:
workflow_call:
inputs:
build-id:
description: "KernelCI build id"
required: true
type: string
logs-dir:
description: "Path to the logs directory"
required: true
type: string
workflow_dispatch:
inputs:
build-id:
description: "KernelCI build id"
required: true
type: string
logs-dir:
description: "Path to the logs directory"
required: true
type: string
jobs:
submit-results:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install poetry
run: |
apt update -y
apt install -y python-dev-is-python3
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
export PATH="/root/.local/bin:$PATH"
POETRY_VIRTUALENVS_CREATE=false POETRY_CACHE_DIR='/var/cache/pypoetry' POETRY_HOME='/usr/local' POETRY_VERION=2.0.0 poetry install --only=main --no-interaction --no-ansi --no-root
- name: Run submit
with:
kcidb_token: ${{ secrets.KCIDB_CREDENTIALS }}
run: |

Check failure on line 46 in .github/workflows/submit-kcidb.yml

View workflow run for this annotation

GitHub Actions / Submit to KCIDB

Invalid workflow file

The workflow is not valid. .github/workflows/submit-kcidb.yml (Line: 46, Col: 9): Unexpected value 'run' .github/workflows/submit-kcidb.yml (Line: 43, Col: 9): Required property is missing: uses
cd riscvlab
echo "${{ inputs.kcidb_token }}" > kcidb.json
export GOOGLE_APPLICATION_CREDENTIALS=kcidb.json
./submit_results.py --build-id "${{ inputs.build-id }}" --logs-dir "${{ inputs.logs-dir }}" --submit-as-collections --only-print