file: '/templates/ci-fairy.yml'
stages:
+ - sanity check # CI/commit checks
- prep # prep work like rebuilding the container images if there is a change
- build # for actually building and testing things in a container
- VM # for running the test suite in a VM
#################################################################
# #
-# prep stage #
+# sanity check stage #
# #
#################################################################
check-ci-script:
extends:
- .fdo.ci-fairy
- stage: prep
+ stage: sanity check
script:
- ci-fairy generate-template --verify && exit 0 || true
- echo "Committed gitlab-ci.yml differs from generated gitlab-ci.yml. Please verify"
check-commit:
extends:
- .fdo.ci-fairy
- stage: prep
+ stage: sanity check
script:
- ci-fairy check-commits --signed-off-by --junit-xml=results.xml
except:
reports:
junit: results.xml
-#
-# Verify that the merge request has the allow-collaboration checkbox ticked
-#
-
-check-merge-request:
- extends:
- - .fdo.ci-fairy
- stage: deploy
- script:
- - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
- artifacts:
- when: on_failure
- reports:
- junit: results.xml
- allow_failure: true
+#################################################################
+# #
+# prep stage #
+# #
+#################################################################
#
# Note: images are rebuilt weekly with a scheduled pipeline with FDO_FORCE_REBUILD set
# #
#################################################################
+#
+# Verify that the merge request has the allow-collaboration checkbox ticked
+#
+
+check-merge-request:
+ extends:
+ - .fdo.ci-fairy
+ stage: deploy
+ script:
+ - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
+ artifacts:
+ when: on_failure
+ reports:
+ junit: results.xml
+ allow_failure: true
+
build rpm:
extends:
- .fdo.distribution-image@fedora
file: '/templates/ci-fairy.yml'
stages:
+ - sanity check # CI/commit checks
- prep # prep work like rebuilding the container images if there is a change
- build # for actually building and testing things in a container
- VM # for running the test suite in a VM
#################################################################
# #
-# prep stage #
+# sanity check stage #
# #
#################################################################
check-ci-script:
extends:
- .fdo.ci-fairy
- stage: prep
+ stage: sanity check
script:
- ci-fairy generate-template --verify && exit 0 || true
- echo "Committed gitlab-ci.yml differs from generated gitlab-ci.yml. Please verify"
check-commit:
extends:
- .fdo.ci-fairy
- stage: prep
+ stage: sanity check
script:
- ci-fairy check-commits --signed-off-by --junit-xml=results.xml
except:
reports:
junit: results.xml
-#
-# Verify that the merge request has the allow-collaboration checkbox ticked
-#
-
-check-merge-request:
- extends:
- - .fdo.ci-fairy
- stage: deploy
- script:
- - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
- artifacts:
- when: on_failure
- reports:
- junit: results.xml
- allow_failure: true
+#################################################################
+# #
+# prep stage #
+# #
+#################################################################
#
# Note: images are rebuilt weekly with a scheduled pipeline with FDO_FORCE_REBUILD set
# #
#################################################################
+#
+# Verify that the merge request has the allow-collaboration checkbox ticked
+#
+
+check-merge-request:
+ extends:
+ - .fdo.ci-fairy
+ stage: deploy
+ script:
+ - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
+ artifacts:
+ when: on_failure
+ reports:
+ junit: results.xml
+ allow_failure: true
+
build rpm:
extends:
- .fdo.distribution-image@fedora