gitlab-ci: Use external linux-cip-pipelines repository to define CI
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
--- .gitlab-ci.yml | 217 +------------------------------------------------ 1 file changed, 3 insertions(+), 214 deletions(-)
.gitlab-ci.yml +3 -214
@@ -1,214 +1,3 @@ -variables: - GIT_STRATEGY: clone - GIT_DEPTH: 10 - DOCKER_DRIVER: overlay2 - DOCKER_IMAGE_TAG: v2 - -############################### -# Standard CIP configurations # -############################### -build:arm_hitachi_cyclonev_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_cyclonev_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_hitachi_omap_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_omap_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_moxa_mxc_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: moxa_mxc_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_renesas_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: renesas_shmobile_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -test:arm_renesas_shmobile_defconfig: - stage: test - needs: ["build:arm_renesas_shmobile_defconfig"] - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG - variables: - GIT_STRATEGY: none - script: - - /opt/submit_tests.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_imx6.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_imx6.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm64_moxa_eds_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: moxa_eds_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm64_renesas_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: renesas_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a774c0-ek874 r8a774a1-hihope-rzg2m-ex - DTBS: r8a774c0-ek874.dtb r8a774a1-hihope-rzg2m-ex.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -test:arm64_renesas_defconfig: - stage: test - needs: ["build:arm64_renesas_defconfig"] - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG - variables: - GIT_STRATEGY: none - script: - - /opt/submit_tests.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_plathome_obsvx2.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: plathome_obsvx2.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_siemens_iot2000.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_iot2000.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_siemens_server_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_server_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_toshiba_atom_baytrail_cip.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: toshiba_atom_baytrail_cip.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output +include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/trees/linux-4.19.y-cip.yml
Signature · 1 line
2.17.1
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
--- .gitlab-ci.yml | 271 +------------------------------------------------ 1 file changed, 3 insertions(+), 268 deletions(-)
.gitlab-ci.yml +3 -268
@@ -1,268 +1,3 @@ -variables: - GIT_STRATEGY: clone - GIT_DEPTH: 10 - DOCKER_DRIVER: overlay2 - DOCKER_IMAGE_TAG: v2 - -# Building -arm_hitachi_cyclonev_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_cyclonev_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_hitachi_omap_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_omap_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_moxa_mxc_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: moxa_mxc_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_renesas_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: renesas_shmobile_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_imx6.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_imx6.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm64_moxa_eds_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: moxa_eds_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm64_renesas_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: renesas_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a774c0-ek874 r8a774a1-hihope-rzg2m-ex - DTBS: r8a774c0-ek874.dtb r8a774a1-hihope-rzg2m-ex.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_plathome_obsvx2.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: plathome_obsvx2.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_siemens_iot2000.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_iot2000.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_siemens_server_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_server_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_toshiba_atom_baytrail_cip.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: toshiba_atom_baytrail_cip.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -# RT build configurations -rt_arm_socfpga_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: socfpga_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -rt_x86_siemens_i386-rt.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_i386-rt.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -# Extra build configurations -arm_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: shmobile_defconfig - CONFIG_LOC: intree - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm64_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: defconfig - CONFIG_LOC: intree - DEVICES: r8a774c0-ek874 r8a774a1-hihope-rzg2m-ex - DTBS: r8a774c0-ek874.dtb r8a774a1-hihope-rzg2m-ex.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -# Testing -run_tests: - 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 +include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/trees/linux-4.19.y-cip.yml
Signature · 1 line
2.17.1
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
In reply to Chris Paterson--- .gitlab-ci.yml | 283 +------------------------------------------------ 1 file changed, 3 insertions(+), 280 deletions(-)
.gitlab-ci.yml +3 -280
@@ -1,280 +1,3 @@ -variables: - GIT_STRATEGY: clone - GIT_DEPTH: 10 - DOCKER_DRIVER: overlay2 - DOCKER_IMAGE_TAG: v2 - -############################### -# 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: - BUILD_ARCH: arm - CONFIG: hitachi_omap_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_moxa_mxc_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: moxa_mxc_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_renesas_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: renesas_shmobile_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm r8a77470-iwg23s-sbc - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb r8a77470-iwg23s-sbc.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -test:arm_renesas_shmobile_defconfig: - stage: test - needs: ["build:arm_renesas_shmobile_defconfig"] - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG - when: always - variables: - GIT_STRATEGY: none - 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: - BUILD_ARCH: arm - CONFIG: siemens_am335x-axm2_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_am335x-draco_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-draco_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_am335x-dxr2_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-dxr2_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_am335x-etamin_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-etamin_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_am57xx-pxm3.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am57xx-pxm3.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_dcu2.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_dcu2.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_imx6_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_imx6_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_toshiba_tegra_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: toshiba_tegra_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_toshiba_zynq_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: toshiba_zynq_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_plathome_obsvx1.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: plathome_obsvx1.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_siemens_iot2000.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_iot2000.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_siemens_server_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_server_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_toshiba_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: toshiba_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output +include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/trees/linux-4.4.y-cip.yml
Signature · 1 line
2.17.1
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
Hi!
Quoted 3 lines
Signed-off-by Chris Paterson <[email protected]>.gitlab-ci.yml | 283 +------------------------------------------------ 1 file changed, 3 insertions(+), 280 deletions(-)
Thanks, I applied this, too, and I already see the green ticks.
I won't touch the -rt branches for now, they'll get the updates when merging from -cip.
Best regards,
Pavel
Quoted 3 lines
.gitlab-ci.yml +3
-0+include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/trees/linux-4.4.y-cip.yml
Signature · 9 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191122/1be64a04/attachment.sig>
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
In reply to Chris Paterson--- .gitlab-ci.yml | 317 +------------------------------------------------ 1 file changed, 3 insertions(+), 314 deletions(-)
.gitlab-ci.yml +3 -314
@@ -1,314 +1,3 @@ -variables: - GIT_STRATEGY: clone - GIT_DEPTH: 10 - DOCKER_DRIVER: overlay2 - DOCKER_IMAGE_TAG: v2 - -# Building -arm_hitachi_omap_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_omap_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_moxa_mxc_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: moxa_mxc_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_renesas_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: renesas_shmobile_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm r8a77470-iwg23s-sbc - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb r8a77470-iwg23s-sbc.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_am335x-axm2_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-axm2_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_am335x-draco_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-draco_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_am335x-dxr2_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-dxr2_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_am335x-etamin_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am335x-etamin_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_am57xx-pxm3.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_am57xx-pxm3.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_dcu2.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_dcu2.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_siemens_imx6_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_imx6_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_toshiba_tegra_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: toshiba_tegra_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -arm_toshiba_zynq_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: toshiba_zynq_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_plathome_obsvx1.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: plathome_obsvx1.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_siemens_iot2000.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_iot2000.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_siemens_server_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_server_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -x86_toshiba_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: toshiba_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -# RT build configurations -rt_x86_siemens_i386-rt.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_i386-rt.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -# Extra build configurations -arm_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: shmobile_defconfig - CONFIG_LOC: intree - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm r8a77470-iwg23s-sbc - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb r8a77470-iwg23s-sbc.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -# Testing -run_tests: - 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 +include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/trees/linux-4.4.y-cip.yml
Signature · 1 line
2.17.1
Pavel Machek
AppliedPATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
In reply to Chris PatersonQuoted 1 line · Chris Paterson
Signed-off-by Chris Paterson <[email protected]>
Thanks, applied.
Best regards,
Pavel
Signature · 9 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://lists.cip-project.org/pipermail/cip-dev/attachments/20191122/f03c455d/attachment.sig>
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
In reply to Chris PatersonQuoted 218 lines · Chris Paterson
Signed-off-by Chris Paterson <[email protected]>--- .gitlab-ci.yml | 217 +------------------------------------------------ 1 file changed, 3 insertions(+), 214 deletions(-).gitlab-ci.yml +0
-207@@ -1,214 +1,3 @@ -variables: - GIT_STRATEGY: clone - GIT_DEPTH: 10 - DOCKER_DRIVER: overlay2 - DOCKER_IMAGE_TAG: v2 - -############################### -# Standard CIP configurations # -############################### -build:arm_hitachi_cyclonev_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_cyclonev_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_hitachi_omap_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: hitachi_omap_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_moxa_mxc_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: moxa_mxc_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_renesas_shmobile_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: renesas_shmobile_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm - DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -test:arm_renesas_shmobile_defconfig: - stage: test - needs: ["build:arm_renesas_shmobile_defconfig"] - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG - variables: - GIT_STRATEGY: none - script: - - /opt/submit_tests.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm_siemens_imx6.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm - CONFIG: siemens_imx6.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm64_moxa_eds_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: moxa_eds_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:arm64_renesas_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: arm64 - CONFIG: renesas_defconfig - CONFIG_LOC: cip-kernel-config - DEVICES: r8a774c0-ek874 r8a774a1-hihope-rzg2m-ex - DTBS: r8a774c0-ek874.dtb r8a774a1-hihope-rzg2m-ex.dtb - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -test:arm64_renesas_defconfig: - stage: test - needs: ["build:arm64_renesas_defconfig"] - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:test-$DOCKER_IMAGE_TAG - variables: - GIT_STRATEGY: none - script: - - /opt/submit_tests.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_plathome_obsvx2.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: plathome_obsvx2.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_siemens_iot2000.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_iot2000.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_siemens_server_defconfig: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: siemens_server_defconfig - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true" - script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output - -build:x86_toshiba_atom_baytrail_cip.config: - stage: build - image: registry.gitlab.com/cip-project/cip-testing/linux-cip-ci:build-$DOCKER_IMAGE_TAG - variables: - BUILD_ARCH: x86 - CONFIG: toshiba_atom_baytrail_cip.config - CONFIG_LOC: cip-kernel-config - BUILD_ONLY: "true"
.gitlab-ci.yml line 3
Quoted 10 lines
.gitlab-ci.yml +3
-7- script: - - /opt/build_kernel.sh - artifacts: - name: "$CI_JOB_NAME" - when: always - paths: - - output +include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml + - https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/trees/linux-4.19.y-cip.yml
This causes an interesting error scenario for gitlabs on private networks:
"This GitLab CI configuration is invalid: Resolving config took longer than expected"
The reason is that gitlab tries to process any found .gitlab-ci.yml file, in our case by fetching the includes. But when the gitlab instance is isolated from public networks, the above will happen, and the user will receive a notice about a failed pipeline on each update.
The user can likely work around this by setting an invalid CI file for such projects (we are validating this ATM), but I wonder if we should rather set our .gitlab-ci.yml to a non-standard name. Or are there sufficient scenarios where a user != us can make use of the CI file?
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
PATCH 1/1 gitlab-ci: Use external linux-cip-pipelines repository to define CI
Hello Jan,
Quoted 6 lines
From: Jan Kiszka <[email protected]>
Sent: 31 January 2020 13:02Quoted 2 lines · Chris Paterson
Signed-off-by Chris Paterson <[email protected]>---
[...]
Quoted 9 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+include: + - https://gitlab.com/cip-project/cip-testing/linux-cip-
pipelines/raw/master/linux-cip-pipeline.ymlQuoted 1 line
pipelines/raw/master/trees/linux-4.19.y-cip.ymlQuoted 1 line
This causes an interesting error scenario for gitlabs on private networks:
Quoted 7 lines
"This GitLab CI configuration is invalid: Resolving config took longer than expected"
The reason is that gitlab tries to process any found .gitlab-ci.yml file, in our case by fetching the includes. But when the gitlab instance is isolated from public networks, the above will happen, and the user will receive a notice about a failed pipeline on each update.
Hmmm this is a good point. TBH, I didn't even consider it when making the above changes.
Quoted 4 lines
The user can likely work around this by setting an invalid CI file for such projects (we are validating this ATM), but I wonder if we should rather set our .gitlab-ci.yml to a non-standard name.
Moving .gitlab-ci.yml to another filename could be one approach to avoid failed CI jobs in local/offline GitLab instances. It wouldn't have much impact on CIP, we'd just have to change the CI settings to look for the new filename. Does anyone have any other opinions/ideas?
For an offline machine though you'd have to add a gitlab-ci file to point to an internal clone/fork of linux-cip-pipelines. You'd also have to store the Docker containers from linux-cip-ci somewhere local and update the links etc.
Quoted 2 lines
Or are there
sufficient scenarios where a user != us can make use of the CI file?
Others could use our current approach (assuming they have the relevant variables set up in the GitLab CI/CD settings). They may want to use different Kernel configurations with their builds, which they can do by updating the .gitlab-ci.yml with their options. For example, replacing the include to the 'tree' yml file with something else:
include:
- https://gitlab.com/cip-project/cip-testing/linux-cip-pipelines/raw/master/linux-cip-pipeline.yml
build:arm_renesas_shmobile-rt_defconfig:
extends: .build
variables:
BUILD_ARCH: arm
CONFIG: renesas_shmobile-rt_defconfig
CONFIG_LOC: url
CONFIG_URL: https://gitlab.com/patersonc/cip-kernel-config/raw/chris/add_renesas_rt_configs/4.4.y-cip-rt/arm/
test:arm_renesas_shmobile-rt_defconfig:
extends: .test
needs: ["build:arm_renesas_shmobile-rt_defconfig"] variables:
BUILD_ARCH: arm
CONFIG: renesas_shmobile-rt_defconfig
DEVICES: r8a7743-iwg20d-q7 r8a7745-iwg22d-sodimm r8a77470-iwg23s-sbc
DTBS: r8a7743-iwg20d-q7-dbcm-ca.dtb r8a7745-iwg22d-sodimm-dbhd-ca.dtb r8a77470-iwg23s-sbc.dtb
TESTS: boot smcKind regards, Chris
Quoted 6 lines
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux