On 8/24/20 1:30 PM, Jan Kiszka wrote:
On 24.08.20 13:25, Q. Gylstorff wrote:
From: Quirin Gylstorff <[email protected]>
Add the configration to run the ci builds on gitlab.com or on-premise setups
with
gitlab artifacts enabled. Each completed pipeline creates around 1.5 GB
aritfacts.
Are those artifacts pushed around, to/from the gitlab instance? Our
on-premise won't support that, others may not like it either.
The build uses the artifacts command to push them to the gitlab instance.
It is possible to use .gitlab-ci-no-artifacts.yml to avoid pushing
around the artifacts. This is the behaviour for our on-premise builds.
If most people don't want to use the artifacts I can switch the default
to the old behavior.
Quirin
Jan
An active pipeline can be seen at
https://gitlab.com/Quirin.Gy/xenomai-images-test/pipelines.
Changes V2:
- Rename siemens-ci.yml to .gitlab-no-artifacts.yml
- Rename .ci to ci
- Rename ci/gitlab-com.yml to ci/artifacts.yml
- Renamae ci/siemens-ci.yml to ci/no-artifacts.yml
Quirin Gylstorff (4):
ci: Build and test from gitlab.com
ci: Add option to compress ext4-images.
test/README: Update
scripts/run-lava-tests: Add LAVA_MASTER_URL
.gitlab-ci-no-artifacts.yml | 12 ++
.gitlab-ci.yml | 145 +---------------
ci/artifacts.yml | 26 +++
ci/gitlab-ci-base.yml | 156 ++++++++++++++++++
ci/no-artifacts.yml | 22 +++
.../0001-classes-ext4.img-Compress.patch | 31 ++++
opt-ext4-gz.yml | 24 +++
scripts/deploy_for_testing.sh | 4 +-
scripts/get-build-id.sh | 29 ++++
scripts/install-lavacli.sh | 5 +-
scripts/run-lava-tests.sh | 10 +-
tests/README.md | 60 +++++--
...bone.yml => xenomai-beagle-bone-black.yml} | 4 +-
tests/jobs/xenomai-hikey.yml | 4 +-
tests/jobs/xenomai-ipc227e.yml | 6 +-
tests/jobs/xenomai-minnow.yml | 6 +-
tests/jobs/xenomai-qemu-amd64.yml | 6 +-
tests/jobs/xenomai-qemu-arm64.yml | 6 +-
tests/jobs/xenomai-qemu-armhf.yml | 6 +-
...omai-x86-64.yml => xenomai-x86-64-efi.yml} | 6 +-
20 files changed, 381 insertions(+), 187 deletions(-)
create mode 100644 .gitlab-ci-no-artifacts.yml
create mode 100644 ci/artifacts.yml
create mode 100644 ci/gitlab-ci-base.yml
create mode 100644 ci/no-artifacts.yml
create mode 100644 isar-patches/0001-classes-ext4.img-Compress.patch
create mode 100644 opt-ext4-gz.yml
create mode 100755 scripts/get-build-id.sh
rename tests/jobs/{xenomai-beaglebone.yml => xenomai-beagle-bone-black.yml}
(91%)
rename tests/jobs/{xenomai-x86-64.yml => xenomai-x86-64-efi.yml} (86%)