Skip to content
Snippets Groups Projects
Commit 825b7aa1 authored by Major Hayden's avatar Major Hayden Committed by Jeremy Cline
Browse files

gitlab: Add CI job for packaging scripts


Message-id: <20190920180802.27752-1-major@redhat.com>
Patchwork-id: 272742
O-Subject: [ARK INTERNAL PATCH] [redhat] gitlab: Add CI job for packaging scripts
Bugzilla:
RH-Acked-by: default avatarLaura Abbott <labbott@redhat.com>

This job runs each time the `internal` branch is updated. It gathers
the packaging-related files from the repo and artifacts them inside
GitLab. This allows CI jobs to quickly download packaging scripts to
use with other upstream repositories.

Signed-off-by: default avatarMajor Hayden <major@redhat.com>
---
 .gitignore     |  3 +++
 .gitlab-ci.yml | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 .gitlab-ci.yml

Signed-off-by: default avatarJeremy Cline <jcline@redhat.com>
parent 0ab0f85b
No related branches found
No related tags found
Loading
......@@ -152,3 +152,6 @@ x509.genkey
#
configs/*.config
localversion
# GitLab CI configuration
!.gitlab-ci.yml
# 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/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment