From 0d54ff31312a421d11ab82cd81ac9c25872a5364 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Tue, 27 Aug 2019 11:48:58 +0300 Subject: Test build snap with Cirrus CI Signed-off-by: Anatoli Babenia --- .cirrus.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index f034a5b37..acf5ab499 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -525,6 +525,19 @@ special_testing_endpoint_task: always: <<: *standardlogs + +test_building_snap_task: + + depends_on: + - "gating" + + allow_failures: true + + container: + image: snapcore/snapcraft:stable + snapcraft_script: 'cd contrib/snapcraft && snapcraft' + + # Test building of new cache-images for future PR testing, in this PR. test_build_cache_images_task: -- cgit v1.2.3-54-g00ecf From 0bc41f1a45d9a6e526817b91b174842e4ba9e881 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Tue, 27 Aug 2019 15:14:15 +0300 Subject: Use snapcraft on Ubuntu 18.04 for libostree-dev Signed-off-by: Anatoli Babenia --- .cirrus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index acf5ab499..d58b1dabf 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -534,7 +534,7 @@ test_building_snap_task: allow_failures: true container: - image: snapcore/snapcraft:stable + image: yakshaveinc/snapcraft:core18 snapcraft_script: 'cd contrib/snapcraft && snapcraft' -- cgit v1.2.3-54-g00ecf From bac1f3e6448b5a87ab4d6f1cbed2a339983c35c0 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Tue, 27 Aug 2019 18:52:19 +0300 Subject: Run `apt-get update` to avoid missing package while building Signed-off-by: Anatoli Babenia --- .cirrus.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index d58b1dabf..fba77b281 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -535,7 +535,9 @@ test_building_snap_task: container: image: yakshaveinc/snapcraft:core18 - snapcraft_script: 'cd contrib/snapcraft && snapcraft' + snapcraft_script: + - 'apt-get -y update' + - 'cd contrib/snapcraft && snapcraft' # Test building of new cache-images for future PR testing, in this PR. -- cgit v1.2.3-54-g00ecf From 6e3ee630915e16b22449c843d879c470c0b1618e Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Wed, 28 Aug 2019 09:38:28 +0300 Subject: Add snap build test to success and release check Signed-off-by: Anatoli Babenia --- .cirrus.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index fba77b281..9f718477f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -531,8 +531,6 @@ test_building_snap_task: depends_on: - "gating" - allow_failures: true - container: image: yakshaveinc/snapcraft:core18 snapcraft_script: @@ -648,6 +646,7 @@ success_task: - "special_testing_cross" - "special_testing_endpoint" - "test_build_cache_images" + - "test_building_snap" - "verify_test_built_images" env: @@ -689,6 +688,7 @@ release_task: - "special_testing_cross" - "special_testing_endpoint" - "test_build_cache_images" + - "test_building_snap" - "verify_test_built_images" - "success" -- cgit v1.2.3-54-g00ecf