summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-11 15:15:18 +0200
committerGitHub <noreply@github.com>2020-05-11 15:15:18 +0200
commitd473e6e35120ad254a62301a89be26e5ad589752 (patch)
tree99f35e8d868502febe889de3713f37fad58e3fcb /.cirrus.yml
parent01f747fdc3b601492d496536ced1386172c4e3d8 (diff)
parentc21258b70ed91ab5ff8b1d345123fed1011a49c9 (diff)
downloadpodman-d473e6e35120ad254a62301a89be26e5ad589752.tar.gz
podman-d473e6e35120ad254a62301a89be26e5ad589752.tar.bz2
podman-d473e6e35120ad254a62301a89be26e5ad589752.zip
Merge pull request #5566 from openSUSE/static-binary
Add podman static build
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 10e78404a..e53788c6c 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -820,6 +820,7 @@ success_task:
- "test_build_cache_images"
- "verify_test_built_images"
- "docs"
+ - "static_build"
# FIXME remove when all v2 tests pass
- "integration_test_temporary"
@@ -835,3 +836,18 @@ success_task:
memory: 1
success_script: '/usr/local/bin/entrypoint.sh ./$SCRIPT_BASE/success.sh |& ${TIMESTAMP}'
+
+static_build_task:
+ container:
+ image: quay.io/podman/nix-podman:1.0.0
+ cpu: 8
+ memory: 12
+ timeout_in: 20m
+ depends_on:
+ - "gating"
+ build_script:
+ - nix build -f nix
+ binaries_artifacts:
+ path: "result-bin/bin/podman"
+ on_failure:
+ failed_branch_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_branch_failure.sh |& ${TIMESTAMP}'