[ci] pipeline chores (#4775)

* [ci] WIP: pipeline chores

* fix vault

* fix secrets
This commit is contained in:
Alexander Samusev
2022-01-24 18:18:53 +01:00
committed by GitHub
parent 0269532fa8
commit 6b7e40cd6c
+1 -17
View File
@@ -110,12 +110,6 @@ default:
AWS_SECRET_ACCESS_KEY: AWS_SECRET_ACCESS_KEY:
vault: cicd/gitlab/$CI_PROJECT_PATH/AWS_SECRET_ACCESS_KEY@kv vault: cicd/gitlab/$CI_PROJECT_PATH/AWS_SECRET_ACCESS_KEY@kv
file: false file: false
DOCKER_HUB_USER:
vault: cicd/gitlab/parity/DOCKER_HUB_USER@kv
file: false
DOCKER_HUB_PASS:
vault: cicd/gitlab/parity/DOCKER_HUB_PASS@kv
file: false
GITHUB_PR_TOKEN: GITHUB_PR_TOKEN:
vault: cicd/gitlab/parity/GITHUB_PR_TOKEN@kv vault: cicd/gitlab/parity/GITHUB_PR_TOKEN@kv
file: false file: false
@@ -149,9 +143,7 @@ default:
REL_MAN_ROOM_ID: REL_MAN_ROOM_ID:
vault: cicd/gitlab/$CI_PROJECT_PATH/REL_MAN_ROOM_ID@kv vault: cicd/gitlab/$CI_PROJECT_PATH/REL_MAN_ROOM_ID@kv
file: false file: false
SSH_PRIVATE_KEY:
vault: cicd/gitlab/$CI_PROJECT_PATH/SSH_PRIVATE_KEY@kv
file: false
#### stage: test #### stage: test
@@ -160,7 +152,6 @@ check-runtime:
image: paritytech/tools:latest image: paritytech/tools:latest
<<: *kubernetes-env <<: *kubernetes-env
<<: *test-refs <<: *test-refs
<<: *vault-secrets
variables: variables:
GITLAB_API: "https://gitlab.parity.io/api/v4" GITLAB_API: "https://gitlab.parity.io/api/v4"
GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api" GITHUB_API_PROJECT: "parity%2Finfrastructure%2Fgithub-api"
@@ -182,7 +173,6 @@ test-deterministic-wasm:
<<: *test-refs <<: *test-refs
<<: *docker-env <<: *docker-env
<<: *compiler-info <<: *compiler-info
<<: *vault-secrets
script: script:
- ./scripts/gitlab/test_deterministic_wasm.sh - ./scripts/gitlab/test_deterministic_wasm.sh
@@ -191,7 +181,6 @@ test-build-linux-stable:
<<: *docker-env <<: *docker-env
<<: *compiler-info <<: *compiler-info
<<: *collect-artifacts <<: *collect-artifacts
<<: *vault-secrets
variables: variables:
RUST_TOOLCHAIN: stable RUST_TOOLCHAIN: stable
# Enable debug assertions since we are running optimized builds for testing # Enable debug assertions since we are running optimized builds for testing
@@ -228,7 +217,6 @@ check-runtime-benchmarks:
<<: *test-refs <<: *test-refs
<<: *docker-env <<: *docker-env
<<: *compiler-info <<: *compiler-info
<<: *vault-secrets
script: script:
# Check that everything compiles with `runtime-benchmarks` feature flag. # Check that everything compiles with `runtime-benchmarks` feature flag.
- cargo check --features runtime-benchmarks --all - cargo check --features runtime-benchmarks --all
@@ -239,7 +227,6 @@ check-try-runtime:
<<: *test-refs <<: *test-refs
<<: *docker-env <<: *docker-env
<<: *compiler-info <<: *compiler-info
<<: *vault-secrets
script: script:
# Check that everything compiles with `try-runtime` feature flag. # Check that everything compiles with `try-runtime` feature flag.
- cargo check --features try-runtime --all - cargo check --features try-runtime --all
@@ -250,7 +237,6 @@ check-no-default-features:
<<: *test-refs <<: *test-refs
<<: *docker-env <<: *docker-env
<<: *compiler-info <<: *compiler-info
<<: *vault-secrets
script: script:
# Check that polkadot-cli will compile no default features. # Check that polkadot-cli will compile no default features.
- pushd node/service && cargo check --no-default-features && popd - pushd node/service && cargo check --no-default-features && popd
@@ -311,7 +297,6 @@ build-malus:
stage: build stage: build
<<: *docker-env <<: *docker-env
<<: *test-pr-refs <<: *test-pr-refs
<<: *vault-secrets
script: script:
- git clone - git clone
--depth=1 --depth=1
@@ -335,7 +320,6 @@ check-transaction-versions:
stage: build stage: build
<<: *test-refs <<: *test-refs
<<: *docker-env <<: *docker-env
<<: *vault-secrets
image: node:15 image: node:15
needs: needs:
- job: test-build-linux-stable - job: test-build-linux-stable