summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2020-04-15 12:01:23 -0400
committerChris Evich <cevich@redhat.com>2020-04-24 08:22:50 -0400
commit97ecd21b59fd6cd3b45cf1742f60eff6d32eef3d (patch)
tree54c7d6fc02cbcd71d1de8e215780fa6aee68a58a /.cirrus.yml
parent2c457a632c73cad3acfd5946633e67ef26211b34 (diff)
downloadpodman-97ecd21b59fd6cd3b45cf1742f60eff6d32eef3d.tar.gz
podman-97ecd21b59fd6cd3b45cf1742f60eff6d32eef3d.tar.bz2
podman-97ecd21b59fd6cd3b45cf1742f60eff6d32eef3d.zip
Cirrus: Unify package installation
Also, test-build critical container images depended upon for CI-purposes. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 8ae1bb2f2..66d9c71d1 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -156,6 +156,32 @@ gating_task:
failed_branch_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_branch_failure.sh'
+# Ensure these container images can build
+container_image_build_task:
+ alias: 'container_image_build'
+ depends_on:
+ - "gating"
+
+ # Only run for PRs, quay.io will automatically build after bramch-push
+ only_if: $CIRRUS_BRANCH != $DEST_BRANCH
+
+ matrix:
+ - name: "build in_podman image ${FEDORA_NAME} "
+ container:
+ dockerfile: Dockerfile
+ - name: "build in_podman image ${UBUNTU_NAME}"
+ container:
+ dockerfile: Dockerfile.ubuntu
+ - name: "build gate image $DEST_BRANCH branch"
+ container:
+ dockerfile: contrib/gate/Dockerfile
+
+ container:
+ dockerfile: Dockerfile
+
+ script: make install.remote
+
+
# This task checks to make sure that we can still build an rpm from the
# source code using contrib/rpm/podman.spec.in
rpmbuild_task:
@@ -389,6 +415,7 @@ testing_task:
- "varlink_api"
- "build_each_commit"
- "build_without_cgo"
+ - "container_image_build"
allow_failures: $CI == 'true'
@@ -681,6 +708,7 @@ test_build_cache_images_task:
depends_on:
- "gating"
+ - 'container_image_build'
# VMs created by packer are not cleaned up by cirrus, must allow task to complete
auto_cancellation: $CI != "true"
@@ -782,6 +810,7 @@ success_task:
- "varlink_api"
- "build_each_commit"
- "build_without_cgo"
+ - "container_image_build"
- "meta"
- "image_prune"
- "testing"