diff mbox series

[v2,4.4.y-cip] Add gitlab-ci.yaml

Message ID 20190702105133.23765-1-chris.paterson2@renesas.com (mailing list archive)
State Superseded
Headers show
Series [v2,4.4.y-cip] Add gitlab-ci.yaml | expand

Commit Message

Chris Paterson July 2, 2019, 10:51 a.m. UTC
This is configured to build and test for the following configurations:

1.
ARCH: arm
CONFIGS: shmobile_defconfig
BOARDS: r8a7743-iwg20d, r8a7745-iwg22d

Over time support will be added for all CIP supported architectures and
configurations.

At the moment only simple boot tests are run. Real tests will be added in
the future.

Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
---

v1->v2: Updated to use latest linux-cip-ci version: 9d56f41a

I still prefer to have these .gitlab-ci.yml files in the main cip repo,
rather then split them off into their own repo and trigger them with
hooks. Any opinions Kernel maintainers?

 .gitlab-ci.yml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 .gitlab-ci.yml

Comments

Chris Paterson July 4, 2019, 9:23 a.m. UTC | #1
Hello all,

It was decided in the weekly meeting today by the maintainers that we will add the .gitlab-ci.yml files (i.e. this patch) to the main kernel.org repository.

However, I've been busy this week and already have more changes to make.

So please drop this patch and I'll submit a V3 in the next few days.

I'll mark it accordingly in patchwork.

Kind regards, Chris

> From: Chris Paterson <chris.paterson2@renesas.com>
> Sent: 02 July 2019 11:52
> 
> This is configured to build and test for the following configurations:
> 
> 1.
> ARCH: arm
> CONFIGS: shmobile_defconfig
> BOARDS: r8a7743-iwg20d, r8a7745-iwg22d
> 
> Over time support will be added for all CIP supported architectures and
> configurations.
> 
> At the moment only simple boot tests are run. Real tests will be added in
> the future.
> 
> Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
> ---
> 
> v1->v2: Updated to use latest linux-cip-ci version: 9d56f41a
> 
> I still prefer to have these .gitlab-ci.yml files in the main cip repo,
> rather then split them off into their own repo and trigger them with
> hooks. Any opinions Kernel maintainers?
> 
>  .gitlab-ci.yml | 23 +++++++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 .gitlab-ci.yml
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> new file mode 100644
> index 000000000000..aec787a353bc
> --- /dev/null
> +++ b/.gitlab-ci.yml
> @@ -0,0 +1,23 @@
> +variables:
> +  GIT_STRATEGY: clone
> +  GIT_DEPTH: "10"
> +  DOCKER_DRIVER: overlay2
> +
> +build_arm_shmobile_defconfig:
> +  stage: build
> +  image: registry.gitlab.com/cip-playground/linux-cip-ci:build-latest
> +  script:
> +    - /opt/build_kernel.sh arm shmobile_defconfig
> +  artifacts:
> +    name: "$CI_JOB_NAME"
> +    when: on_success
> +    paths:
> +      - output
> +
> +run_tests:
> +  stage: test
> +  image: registry.gitlab.com/cip-playground/linux-cip-ci:test-latest
> +  when: always
> +  before_script: []
> +  script:
> +    - /opt/submit_tests.sh
> --
> 2.17.1
diff mbox series

Patch

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 000000000000..aec787a353bc
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,23 @@ 
+variables:
+  GIT_STRATEGY: clone
+  GIT_DEPTH: "10"
+  DOCKER_DRIVER: overlay2
+
+build_arm_shmobile_defconfig:
+  stage: build
+  image: registry.gitlab.com/cip-playground/linux-cip-ci:build-latest
+  script:
+    - /opt/build_kernel.sh arm shmobile_defconfig
+  artifacts:
+    name: "$CI_JOB_NAME"
+    when: on_success
+    paths:
+      - output
+
+run_tests:
+  stage: test
+  image: registry.gitlab.com/cip-playground/linux-cip-ci:test-latest
+  when: always
+  before_script: []
+  script:
+    - /opt/submit_tests.sh