Update gitlab-ci

update deploy
This commit is contained in:
Denis S. Soldatov aka General-Beck 2016-09-21 20:48:01 +07:00 committed by GitHub
parent 5d0491f9af
commit e0afb8cd53

View File

@ -93,7 +93,7 @@ linux-centos:
name: "centos-x86_64-unknown-linux-gnu_parity" name: "centos-x86_64-unknown-linux-gnu_parity"
linux-armv7: linux-armv7:
stage: build stage: build
image: ethcore/rust-arm:latest image: ethcore/rust-armv7:latest
only: only:
- master - master
- beta - beta
@ -147,7 +147,7 @@ linux-arm:
allow_failure: true allow_failure: true
linux-armv6: linux-armv6:
stage: build stage: build
image: ethcore/rust-arm:latest image: ethcore/rust-armv6:latest
only: only:
- master - master
- beta - beta
@ -174,7 +174,7 @@ linux-armv6:
allow_failure: true allow_failure: true
linux-aarch64: linux-aarch64:
stage: build stage: build
image: ethcore/rust-arm:latest image: ethcore/rust-aarch64:latest
only: only:
- master - master
- beta - beta
@ -208,13 +208,14 @@ darwin:
- stable - stable
script: script:
- cargo build --release --verbose - cargo build --release --verbose
- mkdir -p x86_64-apple-darwin - aws configure set aws_access_key_id $s3_key
- cp target/release/parity x86_64-apple-darwin/parity - aws configure set aws_secret_access_key $s3_secret
- aws s3api put-object --bucket builds-parity --key master/aarch64-unknown-linux-gnu/parity --body target/release/parity
tags: tags:
- osx - osx
artifacts: artifacts:
paths: paths:
- x86_64-apple-darwin/parity - target/release/parity
name: "x86_64-apple-darwin_parity" name: "x86_64-apple-darwin_parity"
windows: windows:
stage: build stage: build
@ -229,6 +230,9 @@ windows:
- set RUST_BACKTRACE=1 - set RUST_BACKTRACE=1
- rustup default stable-x86_64-pc-windows-msvc - rustup default stable-x86_64-pc-windows-msvc
- cargo build --release --verbose - cargo build --release --verbose
- aws configure set aws_access_key_id $s3_key
- aws configure set aws_secret_access_key $s3_secret
- aws s3api put-object --bucket builds-parity --key master/aarch64-unknown-linux-gnu/parity --body target/release/parity.exe
tags: tags:
- rust-windows - rust-windows
artifacts: artifacts:
@ -246,12 +250,12 @@ test-linux:
- rust-test - rust-test
dependencies: dependencies:
- linux-stable - linux-stable
deploy-binaries: #deploy-binaries:
stage: deploy # stage: deploy
only: # only:
- master # - master
- beta # - beta
- tags # - tags
- stable # - stable
script: # script:
- scripts/deploy.sh # - scripts/deploy.sh