mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 14:11:07 +02:00
Remove customizations for now
Remove arch and parallel options. Hardcode them for now.
This commit is contained in:
parent
879e5a2b30
commit
6eabd91a04
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -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"
|
||||
|
18
.github/workflows/dispatch-kola-tests.yaml
vendored
18
.github/workflows/dispatch-kola-tests.yaml
vendored
@ -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 }}
|
||||
|
||||
|
17
.github/workflows/run-kola-tests.yaml
vendored
17
.github/workflows/run-kola-tests.yaml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user