Remove customizations for now

Remove arch and parallel options. Hardcode them for now.
This commit is contained in:
Gabriel Adrian Samfira 2022-07-11 19:35:17 +03:00
parent 879e5a2b30
commit 6eabd91a04
No known key found for this signature in database
GPG Key ID: 7D073DCC2C074CB5
3 changed files with 3 additions and 34 deletions

View File

@ -289,7 +289,5 @@ jobs:
needs: packages
uses: ./.github/workflows/run-kola-tests.yaml
with:
arch: '["amd64", "arm64"]'
workflow_name_or_id: ${{ github.event.workflow_run.workflow_id }}
workflow_run_id: ${{ github.event.workflow_run.id }}
parallel_tests: "2"

View File

@ -3,13 +3,6 @@ name: Dispatch kola tests
on:
workflow_dispatch:
inputs:
arch:
type: string
default: '["amd64", "arm64"]'
description: |
The architectures to run tests for. This is an array of architectures
that can be deserialized in JSON and results in an array of strings.
required: true
workflow_name_or_id:
type: string
required: true
@ -21,22 +14,13 @@ on:
required: true
description: |
The run ID of the workflow specified in workflow_name_or_id
parallel_tests:
type: string
required: true
default: "2"
description: |
The number of parallel tests to run.
permissions: {}
jobs:
test:
name: "Trigger kola test"
name: "Trigger kola test - test"
uses: ./.github/workflows/run-kola-tests.yaml
with:
arch: ${{ github.event.inputs.arch }}
workflow_name_or_id: ${{ github.event.inputs.workflow_name_or_id }}
workflow_run_id: ${{ github.event.inputs.workflow_run_id }}
parallel_tests: ${{ github.event.inputs.parallel_tests }}

View File

@ -2,13 +2,6 @@ name: "Run kola tests"
on:
workflow_call:
inputs:
arch:
type: string
default: '["amd64", "arm64"]'
description: |
The architectures to run tests for. This is an array of architectures
that can be deserialized in JSON and results in an array of strings.
required: true
workflow_name_or_id:
type: string
required: true
@ -20,12 +13,6 @@ on:
required: true
description: |
The run ID of the workflow specified in workflow_name_or_id
parallel_tests:
type: string
required: true
default: "2"
description: |
The number of parallel tests to run.
jobs:
tests:
@ -38,7 +25,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: ${{fromJSON(github.event.inputs.arch)}}
arch: ["amd64", "arm64"]
steps:
- name: Prepare machine
@ -119,7 +106,7 @@ jobs:
source ci-automation/test.sh
cat > sdk_container/.env <<EOF
export QEMU_IMAGE_NAME="/work/flatcar_production_image.bin"
export PARALLEL_TESTS=${{ github.event.inputs.parallel_tests }}
export PARALLEL_TESTS=2
EOF
export MAX_RETRIES=2
export SKIP_COPY_TO_BINCACHE=1