ci: Persist build logs
Aimee OS/container-images/pipeline/head This commit looks good
Details
Aimee OS/container-images/pipeline/head This commit looks good
Details
parent
f99176abf3
commit
20916b48c6
|
@ -53,5 +53,14 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
failure {
|
||||||
|
dir('tmp/portage') {
|
||||||
|
archiveArtifacts '*/*/temp/*.log'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,11 @@ buildah_run_script() {
|
||||||
shift
|
shift
|
||||||
script=$(readlink -f "$1")
|
script=$(readlink -f "$1")
|
||||||
shift
|
shift
|
||||||
mkdir -p binpkgs
|
mkdir -p binpkgs tmp
|
||||||
buildah run \
|
buildah run \
|
||||||
--mount type=cache,target=/var/db/repos/gentoo \
|
--mount type=cache,target=/var/db/repos/gentoo \
|
||||||
--mount type=cache,target=/var/cache \
|
--mount type=cache,target=/var/cache \
|
||||||
|
--mount type=bind,src="${PWD}"/tmp,target=/var/tmp,rw,z \
|
||||||
--mount type=bind,src="${PWD}"/binpkgs,target=/var/cache/binpkgs,rw,z \
|
--mount type=bind,src="${PWD}"/binpkgs,target=/var/cache/binpkgs,rw,z \
|
||||||
--mount type=bind,src="${script}",target=/run/script,ro,z \
|
--mount type=bind,src="${script}",target=/run/script,ro,z \
|
||||||
--tty=false \
|
--tty=false \
|
||||||
|
|
Reference in New Issue