Skip to content

Commit 870313d

Browse files
author
Oleg Plakida
committed
Add gitlab CI
1 parent a1e3fd9 commit 870313d

30 files changed

+33
-10032
lines changed

.gitlab-ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
stages:
2+
- test
3+
- build
4+
5+
variables:
6+
CI_IMAGE: "docker.io/paritytech/ci-unified:latest"
7+
BUILDAH_IMAGE: "quay.io/buildah/stable:v1.29"
8+
BUILDAH_COMMAND: "buildah --storage-driver overlay2"
9+
VAULT_ADDR: "https://vault.parity-mgmt-vault.parity.io"
10+
VAULT_AUTH_PATH: "gitlab-parity-io-jwt"
11+
VAULT_AUTH_ROLE: "gitlab_${CI_PROJECT_NAME}"
12+
HELM_SECRETS_DRIVER: vals
13+
14+
default:
15+
image: $CI_IMAGE
16+
tags:
17+
- linux-docker-vm-c2
18+
19+
test-unit:
20+
stage: test
21+
script:
22+
- echo "Test..."
23+
build:
24+
stage: build
25+
script:
26+
- apt update && apt install apt-transport-https curl gnupg -y;
27+
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg;
28+
mv bazel-archive-keyring.gpg /usr/share/keyrings;
29+
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
30+
- apt update && apt install bazel -y
31+
- bazel build //cli --action_env=PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --remote_cache=https://storage.googleapis.com/bazel-cache-parity-build --google_default_credentials
32+
33+

libp2p-quic/CHANGELOG.md

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)