Compare commits
No commits in common. "af550857843f25321203d46570b63c6571a4d742" and "3884b2986954bf1248b9206ad375691fe7f76c4d" have entirely different histories.
af55085784
...
3884b29869
3
Makefile
3
Makefile
|
@ -14,9 +14,6 @@ $(O)/.config:
|
||||||
O=$(O) \
|
O=$(O) \
|
||||||
$(DEFCONFIG)
|
$(DEFCONFIG)
|
||||||
|
|
||||||
.PHONY: update-config
|
|
||||||
update-config:
|
|
||||||
$(MAKE) -C $(O) $(DEFCONFIG)
|
|
||||||
|
|
||||||
%:
|
%:
|
||||||
$(MAKE) -C $(O) $@
|
$(MAKE) -C $(O) $@
|
||||||
|
|
|
@ -1,68 +0,0 @@
|
||||||
pipeline {
|
|
||||||
parameters {
|
|
||||||
booleanParam 'CLEAN_BUILD'
|
|
||||||
}
|
|
||||||
|
|
||||||
options {
|
|
||||||
disableConcurrentBuilds()
|
|
||||||
}
|
|
||||||
|
|
||||||
agent {
|
|
||||||
kubernetes {
|
|
||||||
yamlFile 'ci/podTemplate.yaml'
|
|
||||||
yamlMergeStrategy merge()
|
|
||||||
workspaceVolume persistentVolumeClaimWorkspaceVolume(
|
|
||||||
claimName: 'buildroot-airplaypi'
|
|
||||||
)
|
|
||||||
defaultContainer 'build'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
environment {
|
|
||||||
BR2_CCACHE_DIR = "${env.JENKINS_AGENT_WORKDIR}/br2-ccache"
|
|
||||||
}
|
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Clean') {
|
|
||||||
when {
|
|
||||||
expression {
|
|
||||||
return params.CLEAN_BUILD
|
|
||||||
}
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh 'git clean -fdx'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Prepare') {
|
|
||||||
steps {
|
|
||||||
container('jnlp') {
|
|
||||||
sh 'git submodule update --remote aimee-os'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Build') {
|
|
||||||
steps {
|
|
||||||
sh 'make config && make update-config'
|
|
||||||
sh 'make all'
|
|
||||||
}
|
|
||||||
post {
|
|
||||||
success {
|
|
||||||
dir('_build') {
|
|
||||||
archiveArtifacts('.config')
|
|
||||||
}
|
|
||||||
dir('_build/images') {
|
|
||||||
sh 'zstd -f firmware.img'
|
|
||||||
sh 'zstd -f sdcard.img'
|
|
||||||
archiveArtifacts([
|
|
||||||
'firmware.img.zst',
|
|
||||||
'rootfs.squashfs',
|
|
||||||
'sdcard.img.zst',
|
|
||||||
].join(','))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,19 +0,0 @@
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: build
|
|
||||||
image: git.pyrocufflink.net/containerimages/buildroot
|
|
||||||
resources:
|
|
||||||
limits: &resources
|
|
||||||
cpu: 6
|
|
||||||
memory: 12Gi
|
|
||||||
requests: *resources
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /etc/ssh/ssh_known_hosts
|
|
||||||
name: ssh-known-hosts
|
|
||||||
subPath: ssh_known_hosts
|
|
||||||
securityContext:
|
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
|
||||||
volumes:
|
|
||||||
- name: ssh-known-hosts
|
|
||||||
configMap:
|
|
||||||
name: ssh-known-hosts
|
|
Loading…
Reference in New Issue