* [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI
@ 2019-11-21 16:00 Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.19.y-cip-rt] " Chris Paterson
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Chris Paterson @ 2019-11-21 16:00 UTC (permalink / raw)
To: cip-dev
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
.gitlab-ci.yml | 217 +------------------------------------------------
1 file changed, 3 insertions(+), 214 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e6d493bbc89..9630992fe864 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.19.y-cip-rt] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2019-11-21 16:00 [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI Chris Paterson
@ 2019-11-21 16:00 ` Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip] " Chris Paterson
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Chris Paterson @ 2019-11-21 16:00 UTC (permalink / raw)
To: cip-dev
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
.gitlab-ci.yml | 271 +------------------------------------------------
1 file changed, 3 insertions(+), 268 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52f084fe37b5..9630992fe864 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.4.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2019-11-21 16:00 [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.19.y-cip-rt] " Chris Paterson
@ 2019-11-21 16:00 ` Chris Paterson
2019-11-22 10:51 ` Pavel Machek
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip-rt] " Chris Paterson
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Chris Paterson @ 2019-11-21 16:00 UTC (permalink / raw)
To: cip-dev
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
.gitlab-ci.yml | 283 +------------------------------------------------
1 file changed, 3 insertions(+), 280 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bbcb22168e7a..6f8a0028d2a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.4.y-cip-rt] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2019-11-21 16:00 [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.19.y-cip-rt] " Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip] " Chris Paterson
@ 2019-11-21 16:00 ` Chris Paterson
2019-11-22 9:18 ` [cip-dev] [PATCH linux-4.19.y-cip] " Pavel Machek
2020-01-31 13:02 ` Jan Kiszka
4 siblings, 0 replies; 8+ messages in thread
From: Chris Paterson @ 2019-11-21 16:00 UTC (permalink / raw)
To: cip-dev
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---
.gitlab-ci.yml | 317 +------------------------------------------------
1 file changed, 3 insertions(+), 314 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 59323dd06c6a..6f8a0028d2a3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2019-11-21 16:00 [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI Chris Paterson
` (2 preceding siblings ...)
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip-rt] " Chris Paterson
@ 2019-11-22 9:18 ` Pavel Machek
2020-01-31 13:02 ` Jan Kiszka
4 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2019-11-22 9:18 UTC (permalink / raw)
To: cip-dev
On Thu 2019-11-21 16:00:05, Chris Paterson wrote:
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Thanks, applied.
Best regards,
Pavel
--
(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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.4.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip] " Chris Paterson
@ 2019-11-22 10:51 ` Pavel Machek
0 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2019-11-22 10:51 UTC (permalink / raw)
To: cip-dev
Hi!
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> .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
> +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
--
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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2019-11-21 16:00 [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI Chris Paterson
` (3 preceding siblings ...)
2019-11-22 9:18 ` [cip-dev] [PATCH linux-4.19.y-cip] " Pavel Machek
@ 2020-01-31 13:02 ` Jan Kiszka
2020-02-03 8:51 ` Chris Paterson
4 siblings, 1 reply; 8+ messages in thread
From: Jan Kiszka @ 2020-01-31 13:02 UTC (permalink / raw)
To: cip-dev
On 21.11.19 17:00, Chris Paterson wrote:
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> ---
> .gitlab-ci.yml | 217 +------------------------------------------------
> 1 file changed, 3 insertions(+), 214 deletions(-)
>
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 3e6d493bbc89..9630992fe864 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -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
>
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
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 8+ messages in thread
* [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI
2020-01-31 13:02 ` Jan Kiszka
@ 2020-02-03 8:51 ` Chris Paterson
0 siblings, 0 replies; 8+ messages in thread
From: Chris Paterson @ 2020-02-03 8:51 UTC (permalink / raw)
To: cip-dev
Hello Jan,
> From: Jan Kiszka <jan.kiszka@siemens.com>
> Sent: 31 January 2020 13:02
>
> On 21.11.19 17:00, Chris Paterson wrote:
> > Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> > ---
[...]
> > +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.
Hmmm this is a good point. TBH, I didn't even consider it when making the above changes.
>
> 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.
> 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 smc
Kind regards, Chris
>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT RDA IOT SES-DE
> Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-02-03 8:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21 16:00 [cip-dev] [PATCH linux-4.19.y-cip] gitlab-ci: Use external linux-cip-pipelines repository to define CI Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.19.y-cip-rt] " Chris Paterson
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip] " Chris Paterson
2019-11-22 10:51 ` Pavel Machek
2019-11-21 16:00 ` [cip-dev] [PATCH linux-4.4.y-cip-rt] " Chris Paterson
2019-11-22 9:18 ` [cip-dev] [PATCH linux-4.19.y-cip] " Pavel Machek
2020-01-31 13:02 ` Jan Kiszka
2020-02-03 8:51 ` Chris Paterson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.