Update gitlab-ci
add deploy to S3
This commit is contained in:
parent
0688716af6
commit
5d0491f9af
@ -20,14 +20,15 @@ linux-stable:
|
|||||||
script:
|
script:
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose
|
||||||
- strip target/release/parity
|
- strip target/release/parity
|
||||||
- mkdir -p x86_64-unknown-linux-gnu/stable
|
- aws configure set aws_access_key_id $s3_key
|
||||||
- cp target/release/parity x86_64-unknown-linux-gnu/stable/parity
|
- aws configure set aws_secret_access_key $s3_secret
|
||||||
|
- aws s3api put-object --bucket builds-parity --key master/x86_64-unknown-linux-gnu/parity --body target/release/parity
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-stable
|
- rust-stable
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- x86_64-unknown-linux-gnu/stable/parity
|
- target/release/parity
|
||||||
name: "stable-x86_64-unknown-linux-gnu_parity"
|
name: "stable-x86_64-unknown-linux-gnu_parity"
|
||||||
linux-beta:
|
linux-beta:
|
||||||
stage: build
|
stage: build
|
||||||
@ -40,14 +41,12 @@ linux-beta:
|
|||||||
script:
|
script:
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose
|
||||||
- strip target/release/parity
|
- strip target/release/parity
|
||||||
- mkdir -p x86_64-unknown-linux-gnu/beta
|
|
||||||
- cp target/release/parity x86_64-unknown-linux-gnu/beta/parity
|
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-beta
|
- rust-beta
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- x86_64-unknown-linux-gnu/beta/parity
|
- target/release/parity
|
||||||
name: "beta-x86_64-unknown-linux-gnu_parity"
|
name: "beta-x86_64-unknown-linux-gnu_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
linux-nightly:
|
linux-nightly:
|
||||||
@ -61,14 +60,12 @@ linux-nightly:
|
|||||||
script:
|
script:
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose
|
||||||
- strip target/release/parity
|
- strip target/release/parity
|
||||||
- mkdir -p x86_64-unknown-linux-gnu/nightly
|
|
||||||
- cp target/release/parity x86_64-unknown-linux-gnu/nigthly/parity
|
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-nightly
|
- rust-nightly
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- x86_64-unknown-linux-gnu/nigthly/parity
|
- target/release/parity
|
||||||
name: "nigthly-x86_64-unknown-linux-gnu_parity"
|
name: "nigthly-x86_64-unknown-linux-gnu_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
linux-centos:
|
linux-centos:
|
||||||
@ -84,14 +81,15 @@ linux-centos:
|
|||||||
- export CC="gcc"
|
- export CC="gcc"
|
||||||
- cargo build --release --verbose
|
- cargo build --release --verbose
|
||||||
- strip target/release/parity
|
- strip target/release/parity
|
||||||
- mkdir -p x86_64-unknown-linux-gnu/centos
|
- aws configure set aws_access_key_id $s3_key
|
||||||
- cp target/release/parity x86_64-unknown-linux-gnu/centos/parity
|
- aws configure set aws_secret_access_key $s3_secret
|
||||||
|
- aws s3api put-object --bucket builds-parity --key master/x86_64-centos-linux-gnu/parity --body target/release/parity
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-centos
|
- rust-centos
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- x86_64-unknown-linux-gnu/centos/parity
|
- target/release/parity
|
||||||
name: "centos-x86_64-unknown-linux-gnu_parity"
|
name: "centos-x86_64-unknown-linux-gnu_parity"
|
||||||
linux-armv7:
|
linux-armv7:
|
||||||
stage: build
|
stage: build
|
||||||
@ -109,14 +107,15 @@ linux-armv7:
|
|||||||
- cat .cargo/config
|
- cat .cargo/config
|
||||||
- cargo build --target armv7-unknown-linux-gnueabihf --release --verbose
|
- cargo build --target armv7-unknown-linux-gnueabihf --release --verbose
|
||||||
- arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/parity
|
- arm-linux-gnueabihf-strip target/armv7-unknown-linux-gnueabihf/release/parity
|
||||||
- mkdir -p armv7_unknown_linux_gnueabihf
|
- aws configure set aws_access_key_id $s3_key
|
||||||
- cp target/release/party armv7_unknown_linux_gnueabihf/parity
|
- aws configure set aws_secret_access_key $s3_secret
|
||||||
|
- aws s3api put-object --bucket builds-parity --key master/armv7-unknown-linux-gnueabihf/parity --body target/release/parity
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-arm
|
- rust-arm
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- armv7-unknown-linux-gnueabihf/parity
|
- target/release/parity
|
||||||
name: "armv7_unknown_linux_gnueabihf_parity"
|
name: "armv7_unknown_linux_gnueabihf_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
linux-arm:
|
linux-arm:
|
||||||
@ -135,14 +134,15 @@ linux-arm:
|
|||||||
- cat .cargo/config
|
- cat .cargo/config
|
||||||
- cargo build --target arm-unknown-linux-gnueabihf --release --verbose
|
- cargo build --target arm-unknown-linux-gnueabihf --release --verbose
|
||||||
- arm-linux-gnueabihf-strip target/arm-unknown-linux-gnueabihf/release/parity
|
- arm-linux-gnueabihf-strip target/arm-unknown-linux-gnueabihf/release/parity
|
||||||
- mkdir -p arm-unknown-linux-gnueabihf
|
- aws configure set aws_access_key_id $s3_key
|
||||||
- cp target/release/parity arm-unknown-linux-gnueabihf/parity
|
- aws configure set aws_secret_access_key $s3_secret
|
||||||
|
- aws s3api put-object --bucket builds-parity --key master/arm-unknown-linux-gnueabihf/parity --body target/release/parity
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-arm
|
- rust-arm
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- arm-unknown-linux-gnueabihf/parity
|
- target/release/parity
|
||||||
name: "arm-unknown-linux-gnueabihf_parity"
|
name: "arm-unknown-linux-gnueabihf_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
linux-armv6:
|
linux-armv6:
|
||||||
@ -161,14 +161,15 @@ linux-armv6:
|
|||||||
- cat .cargo/config
|
- cat .cargo/config
|
||||||
- cargo build --target arm-unknown-linux-gnueabi --release --verbose
|
- cargo build --target arm-unknown-linux-gnueabi --release --verbose
|
||||||
- arm-linux-gnueabi-strip target/arm-unknown-linux-gnueabi/release/parity
|
- arm-linux-gnueabi-strip target/arm-unknown-linux-gnueabi/release/parity
|
||||||
- mkdir -p arm-unknown-linux-gnueabi
|
- aws configure set aws_access_key_id $s3_key
|
||||||
- cp target/release/parity arm-unknown-linux-gnueabi/parity
|
- aws configure set aws_secret_access_key $s3_secret
|
||||||
|
- aws s3api put-object --bucket builds-parity --key master/arm-unknown-linux-gnueabi/parity --body target/release/parity
|
||||||
tags:
|
tags:
|
||||||
- rust
|
- rust
|
||||||
- rust-arm
|
- rust-arm
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- arm-unknown-linux-gnueabi/parity
|
- target/release/parity
|
||||||
name: "arm-unknown-linux-gnueabi_parity"
|
name: "arm-unknown-linux-gnueabi_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
linux-aarch64:
|
linux-aarch64:
|
||||||
@ -187,14 +188,15 @@ linux-aarch64:
|
|||||||
- cat .cargo/config
|
- cat .cargo/config
|
||||||
- cargo build --target aarch64-unknown-linux-gnu --release --verbose
|
- cargo build --target aarch64-unknown-linux-gnu --release --verbose
|
||||||
- aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/parity
|
- aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/parity
|
||||||
- mkdir -p aarch64-unknown-linux-gnu
|
- aws configure set aws_access_key_id $s3_key
|
||||||
- cp target/release/parity aarch64-unknown-linux-gnu/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:
|
||||||
- rust
|
- rust
|
||||||
- rust-arm
|
- rust-arm
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- aarch64-unknown-linux-gnu/parity
|
- target/release/parity
|
||||||
name: "aarch64-unknown-linux-gnu_parity"
|
name: "aarch64-unknown-linux-gnu_parity"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
darwin:
|
darwin:
|
||||||
|
Loading…
Reference in New Issue
Block a user