summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatoli Babenia <anatoli@rainforce.org>2019-09-08 21:45:44 +0300
committerAnatoli Babenia <anatoli@rainforce.org>2019-09-23 03:29:27 +0300
commit9fc6abf2a80dd97f956463e44ea0ff5e3f0b15ae (patch)
treeba79a2cecf6b6eba4a07d1a1c3d1da266f730ad1
parentc0eff1a81c2718498aa8e75f7e45bfb688c91482 (diff)
downloadpodman-9fc6abf2a80dd97f956463e44ea0ff5e3f0b15ae.tar.gz
podman-9fc6abf2a80dd97f956463e44ea0ff5e3f0b15ae.tar.bz2
podman-9fc6abf2a80dd97f956463e44ea0ff5e3f0b15ae.zip
Cirrus: Push snap continuously
Signed-off-by: Anatoli Babenia <anatoli@rainforce.org>
-rw-r--r--.cirrus.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 95092a900..a65b41bfd 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -627,6 +627,25 @@ verify_test_built_images_task:
<<: *standardlogs
+upload_snap_task:
+
+ depends_on:
+ - "test_building_snap"
+
+ container:
+ image: yakshaveinc/snapcraft:core18
+
+ env:
+ SNAPCRAFT_LOGIN: ENCRYPTED[...FILLME...]
+ snapcraft_login_file:
+ path: /root/.snapcraft/login.cfg
+ variable_name: SNAPCRAFT_LOGIN
+ snapcraft_script:
+ - 'apt-get -y update'
+ - 'snapcraft login --with "/root/.snapcraft/login.cfg"'
+ - 'cd contrib/snapcraft && snapcraft && snapcraft push *.snap --release edge'
+
+
# Post message to IRC if everything passed PR testing
success_task: