ci: replace ':' with '-' in gitlab targets

This commit is contained in:
5chdn 2018-08-24 16:11:51 -04:00
parent c943b8261a
commit 13594c5483
No known key found for this signature in database
GPG Key ID: 1A40871B597F5F80

View File

@ -48,7 +48,7 @@ cache:
#### stage: test #### stage: test
test:rust:stable: &test test-rust-stable: &test
stage: test stage: test
script: script:
- scripts/gitlab/test.sh stable - scripts/gitlab/test.sh stable
@ -61,27 +61,27 @@ test:rust:stable: &test
only: only:
- master - master
test:rust:beta: test-rust-beta:
<<: *optional_test <<: *optional_test
script: script:
- scripts/gitlab/test.sh beta - scripts/gitlab/test.sh beta
test:rust:nightly: test-rust-nightly:
<<: *optional_test <<: *optional_test
script: script:
- scripts/gitlab/test.sh nightly - scripts/gitlab/test.sh nightly
#test:rustfmt: test-lint-rustfmt:
# <<: *optional_test <<: *optional_test
# script: script:
# - scripts/gitlab/rustfmt.sh - scripts/gitlab/rustfmt.sh
#test:clippy: test-lint-clippy:
# <<: *optional_test <<: *optional_test
# script: script:
# - scripts/gitlab/clippy.sh - scripts/gitlab/clippy.sh
test:coverage: test-coverage-kcov:
stage: test stage: test
only: only:
- master - master
@ -94,7 +94,7 @@ test:coverage:
#### stage: build #### stage: build
build:linux:ubuntu:amd64: &build build-linux-ubuntu-amd64: &build
stage: build stage: build
only: *releaseable_branches only: *releaseable_branches
variables: variables:
@ -106,31 +106,31 @@ build:linux:ubuntu:amd64: &build
- rust-stable - rust-stable
allow_failure: true allow_failure: true
build:linux:ubuntu:i386: build-linux-ubuntu-i386:
<<: *build <<: *build
image: parity/rust-i686:gitlab-ci image: parity/rust-i686:gitlab-ci
variables: variables:
CARGO_TARGET: i686-unknown-linux-gnu CARGO_TARGET: i686-unknown-linux-gnu
build:linux:ubuntu:arm64: build-linux-ubuntu-arm64:
<<: *build <<: *build
image: parity/rust-arm64:gitlab-ci image: parity/rust-arm64:gitlab-ci
variables: variables:
CARGO_TARGET: aarch64-unknown-linux-gnu CARGO_TARGET: aarch64-unknown-linux-gnu
build:linux:ubuntu:armhf: build-linux-ubuntu-armhf:
<<: *build <<: *build
image: parity/rust-armv7:gitlab-ci image: parity/rust-armv7:gitlab-ci
variables: variables:
CARGO_TARGET: armv7-unknown-linux-gnueabihf CARGO_TARGET: armv7-unknown-linux-gnueabihf
build:linux:android:armhf: build-linux-android-armhf:
<<: *build <<: *build
image: parity/rust-android:gitlab-ci image: parity/rust-android:gitlab-ci
variables: variables:
CARGO_TARGET: armv7-linux-androideabi CARGO_TARGET: armv7-linux-androideabi
build:darwin:macos:x86_64: build-darwin-macos-x86_64:
<<: *build <<: *build
variables: variables:
CARGO_TARGET: x86_64-apple-darwin CARGO_TARGET: x86_64-apple-darwin
@ -140,7 +140,7 @@ build:darwin:macos:x86_64:
- osx - osx
<<: *collect_artifacts <<: *collect_artifacts
build:windows:msvc:x86_64: build-windows-msvc-x86_64:
stage: build stage: build
only: *releaseable_branches only: *releaseable_branches
cache: cache:
@ -160,7 +160,7 @@ build:windows:msvc:x86_64:
#### stage: package #### stage: package
package:linux:snap:amd64: &package_snap package-linux-snap-amd64: &package_snap
stage: package stage: package
only: *releaseable_branches only: *releaseable_branches
cache: {} cache: {}
@ -169,41 +169,41 @@ package:linux:snap:amd64: &package_snap
variables: variables:
CARGO_TARGET: x86_64-unknown-linux-gnu CARGO_TARGET: x86_64-unknown-linux-gnu
dependencies: dependencies:
- build:linux:ubuntu:amd64 - build-linux-ubuntu-amd64
script: script:
- scripts/gitlab/package-snap.sh - scripts/gitlab/package-snap.sh
tags: tags:
- rust-stable - rust-stable
<<: *collect_artifacts <<: *collect_artifacts
package:linux:snap:i386: package-linux-snap-i386:
<<: *package_snap <<: *package_snap
variables: variables:
BUILD_ARCH: i386 BUILD_ARCH: i386
CARGO_TARGET: i686-unknown-linux-gnu CARGO_TARGET: i686-unknown-linux-gnu
dependencies: dependencies:
- build:linux:ubuntu:i386 - build-linux-ubuntu-i386
package:linux:snap:arm64: package-linux-snap-arm64:
<<: *package_snap <<: *package_snap
variables: variables:
BUILD_ARCH: arm64 BUILD_ARCH: arm64
CARGO_TARGET: aarch64-unknown-linux-gnu CARGO_TARGET: aarch64-unknown-linux-gnu
dependencies: dependencies:
- build:linux:ubuntu:arm64 - build-linux-ubuntu-arm64
package:linux:snap:armhf: package-linux-snap-armhf:
<<: *package_snap <<: *package_snap
variables: variables:
BUILD_ARCH: armhf BUILD_ARCH: armhf
CARGO_TARGET: armv7-unknown-linux-gnueabihf CARGO_TARGET: armv7-unknown-linux-gnueabihf
dependencies: dependencies:
- build:linux:ubuntu:armhf - build-linux-ubuntu-armhf
#### stage: publish #### stage: publish
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: snapcore/snapcraft:stable
@ -213,67 +213,67 @@ publish:linux:snap:amd64: &publish_snap
variables: variables:
BUILD_ARCH: amd64 BUILD_ARCH: amd64
dependencies: dependencies:
- package:linux:snap:amd64 - package-linux-snap-amd64
script: script:
- scripts/gitlab/publish-snap.sh - scripts/gitlab/publish-snap.sh
tags: tags:
- rust-stable - rust-stable
publish:linux:snap:i386: publish-linux-snap-i386:
<<: *publish_snap <<: *publish_snap
before_script: before_script:
- *determine_version - *determine_version
variables: variables:
BUILD_ARCH: i386 BUILD_ARCH: i386
dependencies: dependencies:
- package:linux:snap:i386 - package-linux-snap-i386
publish:linux:snap:arm64: publish-linux-snap-arm64:
<<: *publish_snap <<: *publish_snap
before_script: before_script:
- *determine_version - *determine_version
variables: variables:
BUILD_ARCH: arm64 BUILD_ARCH: arm64
dependencies: dependencies:
- package:linux:snap:arm64 - package-linux-snap-arm64
publish:linux:snap:armhf: publish-linux-snap-armhf:
<<: *publish_snap <<: *publish_snap
before_script: before_script:
- *determine_version - *determine_version
variables: variables:
BUILD_ARCH: armhf BUILD_ARCH: armhf
dependencies: dependencies:
- package:linux:snap:armhf - package-linux-snap-armhf
publish:docker:parity:amd64: &publish_docker publish-docker-parity-amd64: &publish_docker
stage: publish stage: publish
only: *publishable_branches only: *publishable_branches
cache: {} cache: {}
dependencies: dependencies:
- build:linux:ubuntu:amd64 - build-linux-ubuntu-amd64
tags: tags:
- shell - shell
allow_failure: true allow_failure: true
script: script:
- scripts/gitlab/publish-docker.sh parity - scripts/gitlab/publish-docker.sh parity
publish:docker:parity-evm:amd64: publish-docker-parityevm-amd64:
<<: *publish_docker <<: *publish_docker
script: script:
- scripts/gitlab/publish-docker.sh parity-evm - scripts/gitlab/publish-docker.sh parity-evm
publish:github:and:s3: publish-github-and-s3:
stage: publish stage: publish
only: *publishable_branches only: *publishable_branches
cache: {} cache: {}
dependencies: dependencies:
- build:linux:ubuntu:amd64 - build-linux-ubuntu-amd64
- build:linux:ubuntu:i386 - build-linux-ubuntu-i386
- build:linux:ubuntu:armhf - build-linux-ubuntu-armhf
- build:linux:ubuntu:arm64 - build-linux-ubuntu-arm64
- build:macos:x86_64 - build-darwin-macos-x86_64
- build-windows-x86_64 - build-windows-msvc-x86_64
before_script: before_script:
- *determine_version - *determine_version
script: script:
@ -285,7 +285,7 @@ publish:github:and:s3:
####stage: docs ####stage: docs
json:rpc:docs: docs-rpc-json:
stage: docs stage: docs
only: only:
- tags - tags