Files
containerd/.zuul/playbooks/containerd-build/run.yaml
Yikun Jiang bdd7dce31f Add OpenLab CI configuration
This patch adds the OpenLab CI configuration to enable
the support for arm build in OpenLab.

After this, each pull request in containerd will trigger the
containerd-arm64-build job which verified the arm build
on OpenLab ARM cluster.

Related: https://github.com/containerd/containerd/issues/2901

Signed-off-by: Yikun Jiang <yikunkero@gmail.com>
2019-05-08 17:21:41 +08:00

21 lines
502 B
YAML

- hosts: all
become: yes
roles:
- role: config-golang
arch: arm64
tasks:
- name: Build containerd
shell:
cmd: |
set -xe
apt-get update
apt-get install -y btrfs-tools libseccomp-dev git pkg-config
make | tee $LOGS_PATH/make.txt
make test | tee $LOGS_PATH/make_test.txt
cp -r ./bin $RESULTS_PATH
chdir: '{{ zuul.project.src_dir }}'
executable: /bin/bash
environment: '{{ global_env }}'