From 363ad10906b6f332bc48e8c3cfa8944afd70c309 Mon Sep 17 00:00:00 2001 From: "Denis S. Soldatov aka General-Beck" Date: Tue, 18 Sep 2018 16:32:05 +0300 Subject: [PATCH] add snapcraft package image (#9583) * add snapcraft package image * Update .gitlab-ci.yml * remove snapcraft clean --- .gitlab-ci.yml | 3 ++- scripts/gitlab/package-snap.sh | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c1e4c6bb2..3f3f8936b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -176,6 +176,7 @@ build-windows-msvc-x86_64: package-linux-snap-amd64: &package_snap stage: package only: *releaseable_branches + image: parity/snapcraft:gitlab-ci cache: {} before_script: *determine_version variables: @@ -218,7 +219,7 @@ package-linux-snap-armhf: publish-linux-snap-amd64: &publish_snap stage: publish only: *publishable_branches - image: snapcore/snapcraft:stable + image: parity/snapcraft:gitlab-ci cache: {} before_script: *determine_version variables: diff --git a/scripts/gitlab/package-snap.sh b/scripts/gitlab/package-snap.sh index 30c7f71b1..1dbb77d79 100755 --- a/scripts/gitlab/package-snap.sh +++ b/scripts/gitlab/package-snap.sh @@ -11,7 +11,6 @@ esac SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap" echo "__________Create snap package__________" echo "Release channel :" $GRADE " Branch/tag: " $CI_COMMIT_REF_NAME -snapcraft clean echo $VERSION:$GRADE:$BUILD_ARCH cat scripts/gitlab/templates/snapcraft.template.yaml | envsubst '$VERSION:$GRADE:$BUILD_ARCH:$CARGO_TARGET' > snapcraft.yaml cat snapcraft.yaml