Do not use template.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Signed-off-by: Yilin Sun <imi415@imi.moe>
This commit is contained in:
parent
e178bbd593
commit
8bd21e3d9c
62
.drone.yml
62
.drone.yml
|
@ -1,13 +1,55 @@
|
||||||
---
|
---
|
||||||
kind: template
|
kind: pipeline
|
||||||
load: build-image.yaml
|
type: vm
|
||||||
data:
|
name: Build for RPI2
|
||||||
name: "RaspberryPi 2"
|
|
||||||
defconfig: "rpi2_defconfig"
|
pool:
|
||||||
|
use: do-docker-20-04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: submodules
|
||||||
|
commands:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
|
- name: dependencies
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
|
||||||
|
|
||||||
|
- name: configure
|
||||||
|
commands:
|
||||||
|
- ./buildroot_make.sh rpi2_defconfig
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
commands:
|
||||||
|
- ./buildroot_make.sh -j4
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: template
|
kind: pipeline
|
||||||
load: build-image.yaml
|
type: vm
|
||||||
data:
|
name: Build for T113i
|
||||||
name: "TLT113i-miniEVM"
|
|
||||||
defconfig: "tlt113_minievm_defconfig"
|
pool:
|
||||||
|
use: do-docker-20-04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: submodules
|
||||||
|
commands:
|
||||||
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
|
- name: dependencies
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
|
||||||
|
|
||||||
|
- name: configure
|
||||||
|
commands:
|
||||||
|
- ./buildroot_make.sh tlt113_minievm_defconfig
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
commands:
|
||||||
|
- ./buildroot_make.sh -j4
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
This directory is only used to store the files as a reference, the actual templates are stored on Drone server.
|
|
|
@ -1,27 +0,0 @@
|
||||||
kind: pipeline
|
|
||||||
type: vm
|
|
||||||
name: Build Image for {{ .input.name }}
|
|
||||||
|
|
||||||
pool:
|
|
||||||
use: do-docker-20-04
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Submodules for {{ .input.name }}
|
|
||||||
commands:
|
|
||||||
- git submodule update --init --recursive
|
|
||||||
|
|
||||||
- name: Install dependencies for {{ .input.name }}
|
|
||||||
environment:
|
|
||||||
DEBIAN_FRONTEND: noninteractive
|
|
||||||
commands:
|
|
||||||
- apt-get update
|
|
||||||
- apt-get install -y sed make binutils build-essential diffutils gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc findutils wget
|
|
||||||
|
|
||||||
- name: Configure for {{ .input.name }}
|
|
||||||
commands:
|
|
||||||
- ./buildroot_make.sh {{ .input.defconfig }}
|
|
||||||
|
|
||||||
- name: Build image for {{ .input.name }}
|
|
||||||
commands:
|
|
||||||
- ./buildroot_make.sh -j4
|
|
||||||
|
|
Loading…
Reference in New Issue