Compare commits
No commits in common. "focal" and "master" have entirely different histories.
13
Dockerfile
13
Dockerfile
@ -1,13 +0,0 @@
|
|||||||
FROM ubuntu:focal AS build-env
|
|
||||||
RUN dpkg --add-architecture i386
|
|
||||||
RUN apt-get update && DEBIAN_FRONTEND="noninteractive" \
|
|
||||||
apt-get --yes --no-install-recommends install \
|
|
||||||
gawk wget git diffstat unzip texinfo gcc build-essential \
|
|
||||||
chrpath socat cpio python3 python3-pip python3-pexpect \
|
|
||||||
xz-utils debianutils iputils-ping python3-git \
|
|
||||||
python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 \
|
|
||||||
xterm python3-subunit mesa-common-dev zstd liblz4-tool file locales locales-all \
|
|
||||||
curl unzip libc6:i386 zlib1g:i386 zlib1g
|
|
||||||
ENV LC_ALL en_US.UTF-8
|
|
||||||
ENV LANG en_US.UTF-8
|
|
||||||
ENV LANGUAGE en_US.UTF-8
|
|
35
Jenkinsfile
vendored
35
Jenkinsfile
vendored
@ -1,35 +0,0 @@
|
|||||||
pipeline{
|
|
||||||
agent { node{ label'workstation' }}
|
|
||||||
options {
|
|
||||||
// Limit build history with buildDiscarder option:
|
|
||||||
// daysToKeepStr: history is only kept up to this many days.
|
|
||||||
// numToKeepStr: only this many build logs are kept.
|
|
||||||
// artifactDaysToKeepStr: artifacts are only kept up to this many days.
|
|
||||||
// artifactNumToKeepStr: only this many builds have their artifacts kept.
|
|
||||||
buildDiscarder(logRotator(numToKeepStr: "1"))
|
|
||||||
// Enable timestamps in build log console
|
|
||||||
timestamps()
|
|
||||||
// Maximum time to run the whole pipeline before canceling it
|
|
||||||
timeout(time: 1, unit: 'HOURS')
|
|
||||||
// Use Jenkins ANSI Color Plugin for log console
|
|
||||||
ansiColor('xterm')
|
|
||||||
// Limit build concurrency to 1 per branch
|
|
||||||
disableConcurrentBuilds()
|
|
||||||
}
|
|
||||||
stages
|
|
||||||
{
|
|
||||||
stage('Build') {
|
|
||||||
steps {
|
|
||||||
sh'''
|
|
||||||
cd $WORKSPACE
|
|
||||||
docker buildx build \
|
|
||||||
--platform amd64 \
|
|
||||||
--output "type=docker,push=false,name=xsangle/ci-yocto:focal" \
|
|
||||||
.
|
|
||||||
docker tag xsangle/ci-yocto:focal workstation:5000/xsangle/ci-yocto:focal
|
|
||||||
docker push workstation:5000/xsangle/ci-yocto:focal
|
|
||||||
'''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user