From patchwork Sun Oct 13 21:19:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Paterson X-Patchwork-Id: 11187531 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F1BE113BD for ; Sun, 13 Oct 2019 21:29:30 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9EE8206B7 for ; Sun, 13 Oct 2019 21:29:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9EE8206B7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=renesas.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=cip-dev-bounces@lists.cip-project.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 793A824AB; Sun, 13 Oct 2019 21:29:09 +0000 (UTC) X-Original-To: cip-dev@lists.cip-project.org Delivered-To: cip-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6A127249F for ; Sun, 13 Oct 2019 21:19:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 8BBBC887 for ; Sun, 13 Oct 2019 21:19:41 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.67,293,1566831600"; d="scan'208";a="28998046" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 14 Oct 2019 06:19:41 +0900 Received: from localhost.localdomain (unknown [172.29.51.221]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id B266E4005175; Mon, 14 Oct 2019 06:19:40 +0900 (JST) From: Chris Paterson To: cip-dev@lists.cip-project.org Date: Sun, 13 Oct 2019 22:19:15 +0100 Message-Id: <20191013211920.9370-7-chris.paterson2@renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191013211920.9370-1-chris.paterson2@renesas.com> References: <20191013211920.9370-1-chris.paterson2@renesas.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [cip-dev] [PATCH linux-4.4.y-cip 1/3] gitlab-ci: Split tests into separate jobs X-BeenThere: cip-dev@lists.cip-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: cip-dev-bounces@lists.cip-project.org Errors-To: cip-dev-bounces@lists.cip-project.org This will allow tests to run as soon as the corresponding build job is complete. This will help spread the load on the test infrastructure and save time. Signed-off-by: Chris Paterson --- .gitlab-ci.yml | 60 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 39 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e33099ea6594..73cea6bbce89 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,10 @@ variables: DOCKER_DRIVER: overlay2 DOCKER_IMAGE_TAG: v2 -# Building -arm_hitachi_omap_defconfig: +############################### +# Standard CIP configurations # +############################### +build:arm_hitachi_omap_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -21,7 +23,7 @@ arm_hitachi_omap_defconfig: paths: - output -arm_moxa_mxc_defconfig: +build:arm_moxa_mxc_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -37,7 +39,7 @@ arm_moxa_mxc_defconfig: paths: - output -arm_renesas_shmobile_defconfig: +build:arm_renesas_shmobile_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -54,7 +56,22 @@ arm_renesas_shmobile_defconfig: paths: - output -arm_siemens_am335x-axm2_defconfig: +test:arm_renesas_shmobile_defconfig: + stage: test + image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG + when: always + variables: + GIT_STRATEGY: none + TEST_TIMEOUT: 60 + script: + - /opt/submit_tests.sh + artifacts: + name: "$CI_JOB_NAME" + when: always + paths: + - output + +build:arm_siemens_am335x-axm2_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -70,7 +87,7 @@ arm_siemens_am335x-axm2_defconfig: paths: - output -arm_siemens_am335x-draco_defconfig: +build:arm_siemens_am335x-draco_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -86,7 +103,7 @@ arm_siemens_am335x-draco_defconfig: paths: - output -arm_siemens_am335x-dxr2_defconfig: +build:arm_siemens_am335x-dxr2_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -102,7 +119,7 @@ arm_siemens_am335x-dxr2_defconfig: paths: - output -arm_siemens_am335x-etamin_defconfig: +build:arm_siemens_am335x-etamin_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -118,7 +135,7 @@ arm_siemens_am335x-etamin_defconfig: paths: - output -arm_siemens_am57xx-pxm3.config: +build:arm_siemens_am57xx-pxm3.config: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -134,7 +151,7 @@ arm_siemens_am57xx-pxm3.config: paths: - output -arm_siemens_dcu2.config: +build:arm_siemens_dcu2.config: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -150,7 +167,7 @@ arm_siemens_dcu2.config: paths: - output -arm_siemens_imx6_defconfig: +build:arm_siemens_imx6_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -166,7 +183,7 @@ arm_siemens_imx6_defconfig: paths: - output -arm_toshiba_tegra_defconfig: +build:arm_toshiba_tegra_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -182,7 +199,7 @@ arm_toshiba_tegra_defconfig: paths: - output -arm_toshiba_zynq_defconfig: +build:arm_toshiba_zynq_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -198,7 +215,7 @@ arm_toshiba_zynq_defconfig: paths: - output -x86_plathome_obsvx1.config: +build:x86_plathome_obsvx1.config: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -214,7 +231,7 @@ x86_plathome_obsvx1.config: paths: - output -x86_siemens_iot2000.config: +build:x86_siemens_iot2000.config: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -230,7 +247,7 @@ x86_siemens_iot2000.config: paths: - output -x86_siemens_server_defconfig: +build:x86_siemens_server_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -246,7 +263,7 @@ x86_siemens_server_defconfig: paths: - output -x86_toshiba_defconfig: +build:x86_toshiba_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -262,8 +279,10 @@ x86_toshiba_defconfig: paths: - output -# Extra build configurations -arm_shmobile_defconfig: +######################## +# Extra configurations # +######################## +build:arm_shmobile_defconfig: stage: build image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG variables: @@ -280,8 +299,7 @@ arm_shmobile_defconfig: paths: - output -# Testing -run_tests: +test:arm_shmobile_defconfig: stage: test image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG when: always