diff --git a/.gitignore b/.gitignore index 369119c3cf46..a484969f62ca 100644 --- a/.gitignore +++ b/.gitignore @@ -162,6 +162,9 @@ x509.genkey configs/*.config localversion +# GitLab CI configuration +!.gitlab-ci.yml + # Clang's compilation database file /compile_commands.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d61779295d5c..6b26a3d13b9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,5 @@ +# GitLab CI configuration file + image: registry.gitlab.com/cki-project/experimental/containers/builder-fedora30 stages: @@ -9,3 +11,19 @@ variables: test_rh_configs: stage: test script: make rh-configs + +# This job exports the packaging-related scripts and files for use with other +# upstream kernel trees. +redhat_export: + stage: test + script: + - git log -1 --pretty=format:%H + only: + refs: + - internal + artifacts: + when: always + paths: + - makefile + - Makefile.rhelver + - redhat/