mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +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
|
needs: packages
|
||||||
uses: ./.github/workflows/run-kola-tests.yaml
|
uses: ./.github/workflows/run-kola-tests.yaml
|
||||||
with:
|
with:
|
||||||
arch: '["amd64", "arm64"]'
|
|
||||||
workflow_name_or_id: ${{ github.event.workflow_run.workflow_id }}
|
workflow_name_or_id: ${{ github.event.workflow_run.workflow_id }}
|
||||||
workflow_run_id: ${{ github.event.workflow_run.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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
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:
|
workflow_name_or_id:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
@ -21,22 +14,13 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
The run ID of the workflow specified in workflow_name_or_id
|
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: {}
|
permissions: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: "Trigger kola test"
|
name: "Trigger kola test - test"
|
||||||
uses: ./.github/workflows/run-kola-tests.yaml
|
uses: ./.github/workflows/run-kola-tests.yaml
|
||||||
with:
|
with:
|
||||||
arch: ${{ github.event.inputs.arch }}
|
|
||||||
workflow_name_or_id: ${{ github.event.inputs.workflow_name_or_id }}
|
workflow_name_or_id: ${{ github.event.inputs.workflow_name_or_id }}
|
||||||
workflow_run_id: ${{ github.event.inputs.workflow_run_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:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
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:
|
workflow_name_or_id:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
@ -20,12 +13,6 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
description: |
|
description: |
|
||||||
The run ID of the workflow specified in workflow_name_or_id
|
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:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
@ -38,7 +25,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
arch: ${{fromJSON(github.event.inputs.arch)}}
|
arch: ["amd64", "arm64"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare machine
|
- name: Prepare machine
|
||||||
@ -119,7 +106,7 @@ jobs:
|
|||||||
source ci-automation/test.sh
|
source ci-automation/test.sh
|
||||||
cat > sdk_container/.env <<EOF
|
cat > sdk_container/.env <<EOF
|
||||||
export QEMU_IMAGE_NAME="/work/flatcar_production_image.bin"
|
export QEMU_IMAGE_NAME="/work/flatcar_production_image.bin"
|
||||||
export PARALLEL_TESTS=${{ github.event.inputs.parallel_tests }}
|
export PARALLEL_TESTS=2
|
||||||
EOF
|
EOF
|
||||||
export MAX_RETRIES=2
|
export MAX_RETRIES=2
|
||||||
export SKIP_COPY_TO_BINCACHE=1
|
export SKIP_COPY_TO_BINCACHE=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user