Browse Source

Merge branch 'mlimonci/less-ci' into 'main'

Disable deb and rpm CI other than at release

See merge request kernel-firmware/linux-firmware!42
main
Josh Boyer 1 year ago
parent
commit
80703e05c6
  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