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: Laura 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: Major Hayden <major@redhat.com> Signed-off-by: Jeremy Cline <jcline@redhat.com>
This commit is contained in:
parent
c961b9779e
commit
a073db41be
|
@ -162,6 +162,9 @@ x509.genkey
|
|||
configs/*.config
|
||||
localversion
|
||||
|
||||
# GitLab CI configuration
|
||||
!.gitlab-ci.yml
|
||||
|
||||
# Clang's compilation database file
|
||||
/compile_commands.json
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue