Browse Source

Disable deb and rpm CI other than at release

They're just burning a lot of CI minutes and not useful for 99% of
the time.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
main
Mario Limonciello 1 year ago
parent
commit
b22703ca8c
  1. 20
      .gitlab-ci.yml

20
.gitlab-ci.yml

@ -25,26 +25,6 @@ pre-commit: @@ -25,26 +25,6 @@ pre-commit:
script:
- pre-commit run --all-files

rpm:
stage: test
image: fedora
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- *rpmcommon

deb:
stage: test
image: debian
rules:
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- *debcommon

deb-release:
stage: deploy
image: debian

Loading…
Cancel
Save