add snapcraft package image (#9583)
* add snapcraft package image * Update .gitlab-ci.yml * remove snapcraft clean
This commit is contained in:
parent
d147700046
commit
363ad10906
@ -176,6 +176,7 @@ build-windows-msvc-x86_64:
|
|||||||
package-linux-snap-amd64: &package_snap
|
package-linux-snap-amd64: &package_snap
|
||||||
stage: package
|
stage: package
|
||||||
only: *releaseable_branches
|
only: *releaseable_branches
|
||||||
|
image: parity/snapcraft:gitlab-ci
|
||||||
cache: {}
|
cache: {}
|
||||||
before_script: *determine_version
|
before_script: *determine_version
|
||||||
variables:
|
variables:
|
||||||
@ -218,7 +219,7 @@ package-linux-snap-armhf:
|
|||||||
publish-linux-snap-amd64: &publish_snap
|
publish-linux-snap-amd64: &publish_snap
|
||||||
stage: publish
|
stage: publish
|
||||||
only: *publishable_branches
|
only: *publishable_branches
|
||||||
image: snapcore/snapcraft:stable
|
image: parity/snapcraft:gitlab-ci
|
||||||
cache: {}
|
cache: {}
|
||||||
before_script: *determine_version
|
before_script: *determine_version
|
||||||
variables:
|
variables:
|
||||||
|
@ -11,7 +11,6 @@ esac
|
|||||||
SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap"
|
SNAP_PACKAGE="parity_"$VERSION"_"$BUILD_ARCH".snap"
|
||||||
echo "__________Create snap package__________"
|
echo "__________Create snap package__________"
|
||||||
echo "Release channel :" $GRADE " Branch/tag: " $CI_COMMIT_REF_NAME
|
echo "Release channel :" $GRADE " Branch/tag: " $CI_COMMIT_REF_NAME
|
||||||
snapcraft clean
|
|
||||||
echo $VERSION:$GRADE:$BUILD_ARCH
|
echo $VERSION:$GRADE:$BUILD_ARCH
|
||||||
cat scripts/gitlab/templates/snapcraft.template.yaml | envsubst '$VERSION:$GRADE:$BUILD_ARCH:$CARGO_TARGET' > snapcraft.yaml
|
cat scripts/gitlab/templates/snapcraft.template.yaml | envsubst '$VERSION:$GRADE:$BUILD_ARCH:$CARGO_TARGET' > snapcraft.yaml
|
||||||
cat snapcraft.yaml
|
cat snapcraft.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user