Skip to content

Commit 1dc5f64

Browse files
Yikunlizan
authored andcommitted
Add OpenLab CI configuration (envoyproxy#6981)
This patch adds the OpenLab CI configuration to enable the support for Envoy arm64 build in OpenLab. After this, each pull request in envoy will trigger the envoy-arm64-build job which verified the arm build on OpenLab ARM cluster. Related: envoyproxy#1861 Signed-off-by: Yikun Jiang <[email protected]>
1 parent 49277ce commit 1dc5f64

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.zuul.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- project:
2+
name: envoyproxy/envoy
3+
check:
4+
jobs:
5+
- envoy-build-arm64
6+
7+
- job:
8+
name: envoy-build-arm64
9+
parent: init-test
10+
description: |
11+
Envoy build in openlab cluster.
12+
run: .zuul/playbooks/envoy-build/run.yaml
13+
nodeset: ubuntu-xenial-arm64
14+
voting: false

.zuul/playbooks/envoy-build/run.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
- hosts: all
2+
become: yes
3+
roles:
4+
- role: config-gcc
5+
gcc_version: 7
6+
tasks:
7+
- name: Build envoy
8+
shell:
9+
cmd: |
10+
apt update
11+
apt-get update
12+
apt-get install -y \
13+
libtool \
14+
cmake \
15+
automake \
16+
autoconf \
17+
make \
18+
ninja-build \
19+
curl \
20+
unzip \
21+
virtualenv
22+
23+
bazel build //source/exe:envoy-static | tee $LOGS_PATH//bazel.txt
24+
25+
cp -r ./bazel-bin $RESULTS_PATH
26+
chdir: '{{ zuul.project.src_dir }}'
27+
executable: /bin/bash
28+
environment: '{{ global_env }}'

0 commit comments

Comments
 (0)