Merge pull request #3242 from theopenlab/containerd_openlab_ci
Add OpenLab CI configuration for ARM64 build
This commit is contained in:
commit
f80d285079
14
.zuul.yaml
Normal file
14
.zuul.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
- project:
|
||||||
|
name: containerd/containerd
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- containerd-build-arm64
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: containerd-build-arm64
|
||||||
|
parent: init-test
|
||||||
|
description: |
|
||||||
|
Containerd build in openlab cluster.
|
||||||
|
run: .zuul/playbooks/containerd-build/run.yaml
|
||||||
|
nodeset: ubuntu-xenial-arm64
|
||||||
|
voting: false
|
20
.zuul/playbooks/containerd-build/run.yaml
Normal file
20
.zuul/playbooks/containerd-build/run.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
- 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 }}'
|
Loading…
Reference in New Issue
Block a user