Skip to content

Commit f80d285

Browse files
Merge pull request #3242 from theopenlab/containerd_openlab_ci
Add OpenLab CI configuration for ARM64 build
2 parents 57fbb16 + bdd7dce commit f80d285

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.zuul.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- project:
2+
name: containerd/containerd
3+
check:
4+
jobs:
5+
- containerd-build-arm64
6+
7+
- job:
8+
name: containerd-build-arm64
9+
parent: init-test
10+
description: |
11+
Containerd build in openlab cluster.
12+
run: .zuul/playbooks/containerd-build/run.yaml
13+
nodeset: ubuntu-xenial-arm64
14+
voting: false
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
- hosts: all
2+
become: yes
3+
roles:
4+
- role: config-golang
5+
arch: arm64
6+
tasks:
7+
- name: Build containerd
8+
shell:
9+
cmd: |
10+
set -xe
11+
apt-get update
12+
apt-get install -y btrfs-tools libseccomp-dev git pkg-config
13+
14+
make | tee $LOGS_PATH/make.txt
15+
make test | tee $LOGS_PATH/make_test.txt
16+
17+
cp -r ./bin $RESULTS_PATH
18+
chdir: '{{ zuul.project.src_dir }}'
19+
executable: /bin/bash
20+
environment: '{{ global_env }}'

0 commit comments

Comments
 (0)