forked from Archive/PX4-Autopilot
Jenkins: fix new px4io/px4-dev-nuttx-focal container tag
This commit is contained in:
parent
514d4fd57b
commit
6e2343a485
|
@ -9,10 +9,10 @@ pipeline {
|
||||||
script {
|
script {
|
||||||
def build_nodes = [:]
|
def build_nodes = [:]
|
||||||
def docker_images = [
|
def docker_images = [
|
||||||
armhf: "px4io/px4-dev-armhf:2021-02-29",
|
armhf: "px4io/px4-dev-armhf:2021-04-29",
|
||||||
arm64: "px4io/px4-dev-aarch64:2021-02-29",
|
arm64: "px4io/px4-dev-aarch64:2021-04-29",
|
||||||
base: "px4io/px4-dev-base-bionic:2021-02-29",
|
base: "px4io/px4-dev-base-bionic:2021-04-29",
|
||||||
nuttx: "px4io/px4-dev-nuttx-focal:2021-02-29",
|
nuttx: "px4io/px4-dev-nuttx-focal:2021-04-29",
|
||||||
snapdragon: "lorenzmeier/px4-dev-snapdragon:2020-04-01"
|
snapdragon: "lorenzmeier/px4-dev-snapdragon:2020-04-01"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ pipeline {
|
||||||
// TODO: actually upload artifacts to S3
|
// TODO: actually upload artifacts to S3
|
||||||
// stage('S3 Upload') {
|
// stage('S3 Upload') {
|
||||||
// agent {
|
// agent {
|
||||||
// docker { image 'px4io/px4-dev-base-focal:2021-02-29' }
|
// docker { image 'px4io/px4-dev-base-focal:2021-04-29' }
|
||||||
// }
|
// }
|
||||||
// options {
|
// options {
|
||||||
// skipDefaultCheckout()
|
// skipDefaultCheckout()
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/cpp
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.134.0/containers/cpp
|
||||||
{
|
{
|
||||||
"name": "px4-dev-nuttx",
|
"name": "px4-dev-nuttx",
|
||||||
"image": "px4io/px4-dev-nuttx-focal:2021-02-04",
|
"image": "px4io/px4-dev-nuttx-focal:2021-04-29",
|
||||||
|
|
||||||
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
||||||
echo "guessing PX4_DOCKER_REPO based on input";
|
echo "guessing PX4_DOCKER_REPO based on input";
|
||||||
if [[ $@ =~ .*px4_fmu.* ]]; then
|
if [[ $@ =~ .*px4_fmu.* ]]; then
|
||||||
# nuttx-px4fmu-v{1,2,3,4,5}
|
# nuttx-px4fmu-v{1,2,3,4,5}
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-nuttx-focal:2021-02-04"
|
PX4_DOCKER_REPO="px4io/px4-dev-nuttx-focal:2021-04-29"
|
||||||
elif [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*beaglebone.* ]] || [[ $@ =~ .*pilotpi.default ]]; then
|
elif [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*beaglebone.* ]] || [[ $@ =~ .*pilotpi.default ]]; then
|
||||||
# beaglebone_blue_default, emlid_navio2_default, px4_raspberrypi_default, scumaker_pilotpi_default
|
# beaglebone_blue_default, emlid_navio2_default, px4_raspberrypi_default, scumaker_pilotpi_default
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-armhf:2021-02-04"
|
PX4_DOCKER_REPO="px4io/px4-dev-armhf:2021-02-04"
|
||||||
|
@ -30,7 +30,7 @@ fi
|
||||||
|
|
||||||
# otherwise default to nuttx
|
# otherwise default to nuttx
|
||||||
if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
if [ -z ${PX4_DOCKER_REPO+x} ]; then
|
||||||
PX4_DOCKER_REPO="px4io/px4-dev-nuttx-focal:2020-09-14"
|
PX4_DOCKER_REPO="px4io/px4-dev-nuttx-focal:2021-04-29"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# docker hygiene
|
# docker hygiene
|
||||||
|
|
Loading…
Reference in New Issue