add xenomai 3.1.x to pipeline
cover add xenomai 3.1.x to pipeline
From: Quirin Gylstorff <[email protected]>
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Add parent_child pipelines[1] to have a better overview of the builds.
[1]: https://docs.gitlab.com/ee/ci/parent_child_pipelines.html
You can see an example build at:
https://gitlab.com/Quirin.Gy/xenomai-images-test/-/pipelines/231763266
Quirin Gylstorff (2):
ci: add xenomai 3.1 stable
ci: Introduce parent-child pipelines
.gitlab-ci-artifacts.yml | 6 +-
.gitlab-ci.yml | 3 +-
ci/artifacts.yml | 22 -----
ci/child_pipelines.yml | 34 +++++++
ci/default-builds.yml | 76 ---------------
ci/gitlab-ci-base.yml | 93 ++++++++++++++++++-
...uilds.yml => kernel_4_19_xenomai_next.yml} | 42 ++++-----
...builds.yml => kernel_5_4_xenomai_next.yml} | 16 ++--
ci/no-artifacts.yml | 21 -----
ci/xenomai_3_0_x.yml | 16 ++--
ci/xenomai_3_1_x.yml | 91 ++++++++++++++++++
ci/xenomai_next.yml | 14 +++
opt-xenomai-3.1.x.yml | 17 ++++
.../xenomai/xenomai_stable-3.1.x.bb | 21 +++++
14 files changed, 304 insertions(+), 168 deletions(-)
delete mode 100644 ci/artifacts.yml
create mode 100644 ci/child_pipelines.yml
delete mode 100644 ci/default-builds.yml
rename ci/{4_19_builds.yml => kernel_4_19_xenomai_next.yml} (55%)
rename ci/{5_4_builds.yml => kernel_5_4_xenomai_next.yml} (64%)
delete mode 100644 ci/no-artifacts.yml
create mode 100644 ci/xenomai_3_1_x.yml
create mode 100644 ci/xenomai_next.yml
create mode 100644 opt-xenomai-3.1.x.yml
create mode 100644 recipes-xenomai/xenomai/xenomai_stable-3.1.x.bbSignature · 1 line
2.20.1
PATCH 1/2 ci: add xenomai 3.1 stable
From: Quirin Gylstorff <[email protected]>
--- ci/gitlab-ci-base.yml | 1 + ci/xenomai_3_1_x.yml | 94 +++++++++++++++++++ opt-xenomai-3.1.x.yml | 17 ++++ .../xenomai/xenomai_stable-3.1.x.bb | 21 +++++ 4 files changed, 133 insertions(+) create mode 100644 ci/xenomai_3_1_x.yml create mode 100644 opt-xenomai-3.1.x.yml create mode 100644 recipes-xenomai/xenomai/xenomai_stable-3.1.x.bb
ci/gitlab-ci-base.yml +1 -0
@@ -53,3 +53,4 @@ include: - local: '/ci/4_19_builds.yml' - local: '/ci/5_4_builds.yml' - local: '/ci/xenomai_3_0_x.yml' + - local: '/ci/xenomai_3_1_x.yml'
ci/xenomai_3_1_x.yml new file +94 -0
94 lines not on this page · raw message
opt-xenomai-3.1.x.yml new file +17 -0
@@ -0,0 +1,17 @@ +# +# Xenomai Real-Time System +# +# Copyright (c) Siemens AG, 2020 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: MIT +# + +header: + version: 8 + +local_conf_header: + xenomai-3-1-x: | + PREFERRED_VERSION_xenomai = "stable-3.1.x"
recipes-xenomai/xenomai/xenomai_stable-3.1.x.bb new file +21 -0
@@ -0,0 +1,21 @@ +# +# Xenomai Real-Time System +# +# Copyright (c) Siemens AG, 2020 +# +# Authors: +# Quirin Gylstorff <[email protected]> +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: MIT +# + +require xenomai.inc + +CHANGELOG_V = "3.1.x-head" + +SRC_URI = " \ + git://github.com/xenomai-ci/xenomai.git;protocol=https;branch=stable/v3.1.x" +SRCREV = "${AUTOREV}" + +S = "${WORKDIR}/git"
Signature · 1 line
2.20.1
PATCH 2/2 ci: Introduce parent-child pipelines
In reply to Q. GylstorffFrom: Quirin Gylstorff <[email protected]>
After adding the necessary builds for xenomai-3.1, we have 16 jobs in each stage. This many jobs decrease the clarity of the ci pipeline. This commit splits the pipeline into the following child pipelines[1]:
- xenomai 3.0.x with kernel 4.4
- xenomai 3.1.x with kernel 4.19
- xenomai next with kernel 4.19 and kernel 5.4
[1]: https://docs.gitlab.com/ee/ci/parent_child_pipelines.html
---
.gitlab-ci-artifacts.yml | 6 +-
.gitlab-ci.yml | 3 +-
ci/artifacts.yml | 22 -----
ci/child_pipelines.yml | 34 +++++++
ci/default-builds.yml | 76 ---------------
ci/gitlab-ci-base.yml | 94 +++++++++++++++++--
...uilds.yml => kernel_4_19_xenomai_next.yml} | 42 ++++-----
...builds.yml => kernel_5_4_xenomai_next.yml} | 16 ++--
ci/no-artifacts.yml | 21 -----
ci/xenomai_3_0_x.yml | 16 ++--
ci/xenomai_3_1_x.yml | 45 +++++----
ci/xenomai_next.yml | 14 +++
12 files changed, 196 insertions(+), 193 deletions(-)
delete mode 100644 ci/artifacts.yml
create mode 100644 ci/child_pipelines.yml
delete mode 100644 ci/default-builds.yml
rename ci/{4_19_builds.yml => kernel_4_19_xenomai_next.yml} (55%)
rename ci/{5_4_builds.yml => kernel_5_4_xenomai_next.yml} (64%)
delete mode 100644 ci/no-artifacts.yml
create mode 100644 ci/xenomai_next.yml.gitlab-ci-artifacts.yml +5 -1
@@ -8,5 +8,9 @@ # # SPDX-License-Identifier: MIT # + +variables: + USE_GITLAB_ARTIFACTS: "true" + include: - - local: '/ci/artifacts.yml' + - local: '/ci/child_pipelines.yml'
.gitlab-ci.yml +2 -1
@@ -8,5 +8,6 @@ # # SPDX-License-Identifier: MIT # + include: - - local: '/ci/no-artifacts.yml' + - local: '/ci/child_pipelines.yml'
ci/artifacts.yml deleted +0 -22
@@ -1,22 +0,0 @@ -# -# Xenomai Real-Time System -# -# Copyright (c) Siemens AG, 2019 - 2020 -# -# Authors: -# Quirin Gylstorff <[email protected]> -# -# SPDX-License-Identifier: MIT -# -.build: - extends: .add-lava-ssh-config - stage: build - script: - - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS} - artifacts: - paths: - - build/tmp/deploy/images/${TARGET}/ - expire_in: 1 week - -include: - - local: '/ci/gitlab-ci-base.yml'
ci/child_pipelines.yml new file +34 -0
@@ -0,0 +1,34 @@ +# +# Xenomai Real-Time System +# +# Copyright (c) Siemens AG, 2019 - 2020 +# +# Authors: +# Quirin Gylstorff <[email protected]> +# +# SPDX-License-Identifier: MIT +# +stages: + - parent + +xenomai next: + stage: parent + trigger: + include: + - local: '/ci/xenomai_next.yml' + strategy: depend + +xenomai 3.0.x: + stage: parent + trigger: + include: + - local: '/ci/xenomai_3_0_x.yml' + strategy: depend + +xenomai 3.1.x: + stage: parent + trigger: + include: + - local: '/ci/xenomai_3_1_x.yml' + strategy: depend +
ci/default-builds.yml deleted +0 -76
76 lines not on this page · raw message
ci/gitlab-ci-base.yml +88 -6
97 lines not on this page · raw message
ci/kernel_4_19_xenomai_next.yml renamed from ci/4_19_builds.yml +18 -24
98 lines not on this page · raw message
ci/kernel_5_4_xenomai_next.yml renamed from ci/5_4_builds.yml +6 -10
@@ -9,32 +9,28 @@ # SPDX-License-Identifier: MIT # -build-5.4:board-qemu-amd64:xenomai-next: +build-5.4:board-qemu-amd64: extends: .build:board-qemu-amd64 variables: LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml" DEPLOY_DIR_EXTENSION: "5.4" -lava-test-5.4:qemu-amd64:xenomai-next: - needs: [ "build-5.4:board-qemu-amd64:xenomai-next" ] +lava-test-5.4:qemu-amd64: + needs: [ "build-5.4:board-qemu-amd64" ] extends: .lava-test:qemu-amd64 variables: DEPLOY_DIR_EXTENSION: "5.4" BUILD_IDENTIFIER: "5.4" - TARGET_EXTENSION: ":xenomai-next" - -build-5.4:board-x86-64-efi:xenomai-next: +build-5.4:board-x86-64-efi: extends: .build:board-x86-64-efi variables: LINUX_BUILD_OPTION: ":opt-linux-latest-5.4.yml" DEPLOY_DIR_EXTENSION: "5.4" - -lava-test-5.4:board-x86-64-efi:xenomai-next: - needs: [ "build-5.4:board-x86-64-efi:xenomai-next" ] +lava-test-5.4:board-x86-64-efi: + needs: [ "build-5.4:board-x86-64-efi" ] extends: .lava-test:board-x86-64-efi variables: DEPLOY_DIR_EXTENSION: "5.4" BUILD_IDENTIFIER: "5.4" - TARGET_EXTENSION: ":xenomai-next"
ci/no-artifacts.yml deleted +0 -21
@@ -1,21 +0,0 @@ -# -# Xenomai Real-Time System -# -# Copyright (c) Siemens AG, 2019 - 2020 -# -# Authors: -# Quirin Gylstorff <[email protected]> -# -# SPDX-License-Identifier: MIT -# -.build: - extends: .add-lava-ssh-config - stage: build - script: - - kas build kas.yml:board-${TARGET}.yml${XENOMAI_BUILD_OPTION}${LINUX_BUILD_OPTION}${BUILD_OPTIONS} - - scripts/deploy_for_testing.sh ${TARGET} - except: - variables: - - $USE_GITLAB_ARTIFACTS -include: - - local: '/ci/gitlab-ci-base.yml'
ci/xenomai_3_0_x.yml +8 -8
@@ -8,31 +8,31 @@ # # SPDX-License-Identifier: MIT # +include: + - local: '/ci/gitlab-ci-base.yml' -build-4.4:board-beagle-bone-black:xenomai-3.0.x: +build-4.4:board-beagle-bone-black: extends: .build:board-beagle-bone-black variables: XENOMAI_BUILD_OPTION: ":opt-xenomai-3.0.x.yml" DEPLOY_DIR_EXTENSION: "xenomai-3.0.x" -lava-test-4.4:board-beagle-bone-black:xenomai-3.0.x: - needs: [ "build-4.4:board-beagle-bone-black:xenomai-3.0.x" ] +lava-test-4.4:board-beagle-bone-black: + needs: [ "build-4.4:board-beagle-bone-black" ] extends: .lava-test:board-beagle-bone-black variables: DEPLOY_DIR_EXTENSION: "xenomai-3.0.x" BUILD_IDENTIFIER: "4.4" - TARGET_EXTENSION: ":xenomai-3.0.x" -build-4.4:board-x86-64-efi:xenomai-3.0.x: +build-4.4:board-x86-64-efi: extends: .build:board-x86-64-efi variables: XENOMAI_BUILD_OPTION: ":opt-xenomai-3.0.x.yml" DEPLOY_DIR_EXTENSION: "xenomai-3.0.x" -lava-test-4.4:board-x86-64-efi:xenomai-3.0.x: - needs: [ "build-4.4:board-x86-64-efi:xenomai-3.0.x" ] +lava-test-4.4:board-x86-64-efi: + needs: [ "build-4.4:board-x86-64-efi" ] extends: .lava-test:board-x86-64-efi variables: DEPLOY_DIR_EXTENSION: "xenomai-3.0.x" BUILD_IDENTIFIER: "4.4" - TARGET_EXTENSION: ":xenomai-3.0.x"
ci/xenomai_3_1_x.yml +21 -24
108 lines not on this page · raw message
ci/xenomai_next.yml new file +14 -0
@@ -0,0 +1,14 @@ +# +# Xenomai Real-Time System +# +# Copyright (c) Siemens AG, 2019 - 2020 +# +# Authors: +# Quirin Gylstorff <[email protected]> +# +# SPDX-License-Identifier: MIT +# +include: + - local: '/ci/gitlab-ci-base.yml' + - local: '/ci/kernel_4_19_xenomai_next.yml' + - local: '/ci/kernel_5_4_xenomai_next.yml'
Signature · 1 line
2.20.1
Dear "Q. Gylstorff via Xenomai",
Quoted 2 lines · In message <[email protected]> you wrote:
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Is there a specific reason why all the new files come under a MIT license, and not GPL ?
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] A bore is someone who persists in holding his own views after we have enlightened him with ours.
Quoted 9 lines · Wolfgang Denk
Dear "Q. Gylstorff via Xenomai",
Quoted 2 lines · In message <[email protected]> you wrote:
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Is there a specific reason why all the new files come under a MIT license, and not GPL ?
I think you mix the two repositories 'xenomai-images' with 'xenomai' up.
The code in 'xenomai-images' was from the beginning MIT. The source code in the 'xenomai' repository is still GPL.
Quoted 4 lines
Best regards,
Wolfgang Denk
Best regards,
Quirin
Dear Quirin,
Quoted 5 lines · In message <[email protected]> you wrote:
Quoted 3 lines
Is there a specific reason why all the new files come under a MIT license, and not GPL ?
I think you mix the two repositories 'xenomai-images' with 'xenomai' up.
Not really.
Quoted 2 lines
The code in 'xenomai-images' was from the beginning MIT. The source code in the 'xenomai' repository is still GPL.
This des not answer my question. I asked _why_ this is MIT licensed. I can see no good reason for not using GPL here, too ?
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] "Summit meetings tend to be like panda matings. The expectations are always high, and the results usually disappointing." - Robert Orben
Quoted 8 lines · Wolfgang Denk
Dear "Q. Gylstorff via Xenomai",
Quoted 2 lines · In message <[email protected]> you wrote:
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Is there a specific reason why all the new files come under a MIT license, and not GPL ?
Yes, these are bitbake recipes, derived from Isar recipes. We follow that practice in all related projects.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Dear Jan,
Quoted 8 lines · In message <[email protected]> you wrote:
Quoted 5 lines
Quoted 2 lines
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Is there a specific reason why all the new files come under a MIT license, and not GPL ?
Yes, these are bitbake recipes, derived from Isar recipes. We follow that practice in all related projects.
I wonder why I can't just get a clear answer?
I did not ask _what_ you do - that I see. I asked _why_ you are doing it? What is the rationale for chosing MIT instead of for example GPL?
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] Always try to do things in chronological order; it's less confusing that way.
Quoted 9 lines · Wolfgang Denk
Dear Jan,
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 5 lines
Quoted 2 lines
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Is there a specific reason why all the new files come under a MIT license, and not GPL ?
Quoted 8 lines
Quoted 2 lines
Yes, these are bitbake recipes, derived from Isar recipes. We follow that practice in all related projects.
I wonder why I can't just get a clear answer?
I did not ask _what_ you do - that I see. I asked _why_ you are doing it? What is the rationale for chosing MIT instead of for example GPL?
The decision to use MIT for recipes and layer had been made for the whole ecosystem in order to ease to adoption by any kind of integration project, may they be public or private. See also [1] when I relicensed jailhouse-images.
For Xenomai as well as any other similar GPL project, distributors of the GPL'ed core actually using or deriving from such integration layers will have more than sufficiently high motivation to redistribute the layers and recipes as OSS as well in order to fulfill term 3. So, no harm done to the valid choice of GPL for the core project itself.
Jan
[1]
https://github.com/siemens/jailhouse-images/commit/3350c450a8738648c59cfd7fa4ef7952093a74d6
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Jan Kiszka
AppliedQuoted 32 lines · Q. Gylstorff
From: Quirin Gylstorff <[email protected]>
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Add
parent_childpipelines[1] to have a better overview of the builds.[1]: https://docs.gitlab.com/ee/ci/parent_child_pipelines.html
You can see an example build at:
https://gitlab.com/Quirin.Gy/xenomai-images-test/-/pipelines/231763266Quirin Gylstorff (2):
ci: add xenomai 3.1 stable
ci: Introduce parent-child pipelines.gitlab-ci-artifacts.yml | 6 +- .gitlab-ci.yml | 3 +- ci/artifacts.yml | 22 ----- ci/child_pipelines.yml | 34 +++++++ ci/default-builds.yml | 76 --------------- ci/gitlab-ci-base.yml | 93 ++++++++++++++++++- ...uilds.yml => kernel_4_19_xenomai_next.yml} | 42 ++++----- ...builds.yml => kernel_5_4_xenomai_next.yml} | 16 ++-- ci/no-artifacts.yml | 21 ----- ci/xenomai_3_0_x.yml | 16 ++-- ci/xenomai_3_1_x.yml | 91 ++++++++++++++++++ ci/xenomai_next.yml | 14 +++ opt-xenomai-3.1.x.yml | 17 ++++ .../xenomai/xenomai_stable-3.1.x.bb | 21 +++++ 14 files changed, 304 insertions(+), 168 deletions(-) delete mode 100644 ci/artifacts.yml create mode 100644 ci/child_pipelines.yml
Quoted 9 lines
delete mode 100644 ci/default-builds.yml
rename ci/{4_19_builds.yml => kernel_4_19_xenomai_next.yml} (55%)
rename ci/{5_4_builds.yml => kernel_5_4_xenomai_next.yml} (64%)
delete mode 100644 ci/no-artifacts.yml
create mode 100644 ci/xenomai_3_1_x.yml
create mode 100644 ci/xenomai_next.yml
create mode 100644 opt-xenomai-3.1.x.yml
create mode 100644 recipes-xenomai/xenomai/xenomai_stable-3.1.x.bbThanks, applied. I just tuned the kas config version to 10.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Quoted 43 lines · Jan Kiszka via Xenomai
Quoted 32 lines · Q. Gylstorff
From: Quirin Gylstorff <[email protected]>
Add xenomai 3.1 to the build and test pipeline of xenomai-images.
Add
parent_childpipelines[1] to have a better overview of the builds.[1]: https://docs.gitlab.com/ee/ci/parent_child_pipelines.html
You can see an example build at:
https://gitlab.com/Quirin.Gy/xenomai-images-test/-/pipelines/231763266Quirin Gylstorff (2):
ci: add xenomai 3.1 stable
ci: Introduce parent-child pipelines.gitlab-ci-artifacts.yml | 6 +- .gitlab-ci.yml | 3 +- ci/artifacts.yml | 22 ----- ci/child_pipelines.yml | 34 +++++++ ci/default-builds.yml | 76 --------------- ci/gitlab-ci-base.yml | 93 ++++++++++++++++++- ...uilds.yml => kernel_4_19_xenomai_next.yml} | 42 ++++----- ...builds.yml => kernel_5_4_xenomai_next.yml} | 16 ++-- ci/no-artifacts.yml | 21 ----- ci/xenomai_3_0_x.yml | 16 ++-- ci/xenomai_3_1_x.yml | 91 ++++++++++++++++++ ci/xenomai_next.yml | 14 +++ opt-xenomai-3.1.x.yml | 17 ++++ .../xenomai/xenomai_stable-3.1.x.bb | 21 +++++ 14 files changed, 304 insertions(+), 168 deletions(-) delete mode 100644 ci/artifacts.yml create mode 100644 ci/child_pipelines.ymlQuoted 9 lines
delete mode 100644 ci/default-builds.yml rename ci/{4_19_builds.yml => kernel_4_19_xenomai_next.yml} (55%) rename ci/{5_4_builds.yml => kernel_5_4_xenomai_next.yml} (64%) delete mode 100644 ci/no-artifacts.yml create mode 100644 ci/xenomai_3_1_x.yml create mode 100644 ci/xenomai_next.yml create mode 100644 opt-xenomai-3.1.x.yml create mode 100644 recipes-xenomai/xenomai/xenomai_stable-3.1.x.bb
Quoted 2 lines
Thanks, applied. I just tuned the kas config version to 10.
Had to pull back patch 2 due to yaml errors (e.g. [1]). Maybe the gitlab version on denx.de is too old for that feature?
In any case, it should be updated "asap" [2], probably due to open security issues.
Jan
[1] https://gitlab.denx.de/Xenomai/xenomai-images/-/pipelines/5788
[2] https://gitlab.denx.de/help
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux