From 6eabd91a0403b6b18c4ca2c170001ae94277ab9d Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Mon, 11 Jul 2022 19:35:17 +0300 Subject: [PATCH] Remove customizations for now Remove arch and parallel options. Hardcode them for now. --- .github/workflows/ci.yaml | 2 -- .github/workflows/dispatch-kola-tests.yaml | 18 +----------------- .github/workflows/run-kola-tests.yaml | 17 ++--------------- 3 files changed, 3 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 71b0069ba5..1ffa99e74a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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" diff --git a/.github/workflows/dispatch-kola-tests.yaml b/.github/workflows/dispatch-kola-tests.yaml index 94c59c6884..a104c7c7ab 100644 --- a/.github/workflows/dispatch-kola-tests.yaml +++ b/.github/workflows/dispatch-kola-tests.yaml @@ -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 }} - diff --git a/.github/workflows/run-kola-tests.yaml b/.github/workflows/run-kola-tests.yaml index 1b5417d4bb..ed39632248 100644 --- a/.github/workflows/run-kola-tests.yaml +++ b/.github/workflows/run-kola-tests.yaml @@ -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 <