bump Docker container tags to 2019-11-25

This commit is contained in:
TSC21
2019-11-29 09:58:52 +00:00
committed by Nuno Marques
parent 0cb1b250e9
commit d447f15ac6
9 changed files with 55 additions and 52 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ pipeline {
stage('Build') { stage('Build') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros-melodic:2019-11-22' image 'px4io/px4-dev-ros-melodic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
} }
} }
@@ -130,7 +130,7 @@ def createTestNode(Map test_def) {
return { return {
node { node {
cleanWs() cleanWs()
docker.image("px4io/px4-dev-ros-melodic:2019-11-22").inside('-e HOME=${WORKSPACE}') { docker.image("px4io/px4-dev-ros-melodic:2019-11-25").inside('-e HOME=${WORKSPACE}') {
stage(test_def.name) { stage(test_def.name) {
def run_script = test_def.get('run_script', 'rostest_px4_run.sh') def run_script = test_def.get('run_script', 'rostest_px4_run.sh')
def test_ok = true def test_ok = true
+2 -2
View File
@@ -8,7 +8,7 @@ pipeline {
stage('Build') { stage('Build') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros-melodic:2019-11-22' image 'px4io/px4-dev-ros-melodic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
} }
} }
@@ -131,7 +131,7 @@ def createTestNode(Map test_def) {
return { return {
node { node {
cleanWs() cleanWs()
docker.image("px4io/px4-dev-ros-melodic:2019-11-22").inside('-e HOME=${WORKSPACE}') { docker.image("px4io/px4-dev-ros-melodic:2019-11-25").inside('-e HOME=${WORKSPACE}') {
stage(test_def.name) { stage(test_def.name) {
def run_script = test_def.get('run_script', 'rostest_px4_run.sh') def run_script = test_def.get('run_script', 'rostest_px4_run.sh')
def test_ok = true def test_ok = true
+3 -3
View File
@@ -79,7 +79,7 @@ pipeline {
stage('code coverage (python)') { stage('code coverage (python)') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-base-bionic:2019-11-22' image 'px4io/px4-dev-base-bionic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -99,7 +99,7 @@ pipeline {
stage('unit tests') { stage('unit tests') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-base-bionic:2019-11-22' image 'px4io/px4-dev-base-bionic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -137,7 +137,7 @@ def createTestNode(Map test_def) {
return { return {
node { node {
cleanWs() cleanWs()
docker.image("px4io/px4-dev-ros-melodic:2019-11-22").inside('-e HOME=${WORKSPACE}') { docker.image("px4io/px4-dev-ros-melodic:2019-11-25").inside('-e HOME=${WORKSPACE}') {
stage(test_def.name) { stage(test_def.name) {
def test_ok = true def test_ok = true
sh('export') sh('export')
+4 -4
View File
@@ -9,9 +9,9 @@ pipeline {
script { script {
def build_nodes = [:] def build_nodes = [:]
def docker_images = [ def docker_images = [
armhf: "px4io/px4-dev-armhf:2019-11-22", armhf: "px4io/px4-dev-armhf:2019-11-25",
base: "px4io/px4-dev-base-bionic:2019-11-22", base: "px4io/px4-dev-base-bionic:2019-11-25",
nuttx: "px4io/px4-dev-nuttx:2019-11-22", nuttx: "px4io/px4-dev-nuttx:2019-11-25",
snapdragon: "lorenzmeier/px4-dev-snapdragon:2018-09-12" snapdragon: "lorenzmeier/px4-dev-snapdragon:2018-09-12"
] ]
@@ -70,7 +70,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-bionic:2019-11-22' } // docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
// } // }
// options { // options {
// skipDefaultCheckout() // skipDefaultCheckout()
+9 -9
View File
@@ -12,7 +12,7 @@ pipeline {
stage("build px4_fmu-v2_test") { stage("build px4_fmu-v2_test") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -76,7 +76,7 @@ pipeline {
stage("build px4_fmu-v3_default") { stage("build px4_fmu-v3_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -149,7 +149,7 @@ pipeline {
stage("build px4_fmu-v4_default") { stage("build px4_fmu-v4_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -222,7 +222,7 @@ pipeline {
stage("build px4_fmu-v4pro_default") { stage("build px4_fmu-v4pro_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -295,7 +295,7 @@ pipeline {
stage("build px4_fmu-v5_default") { stage("build px4_fmu-v5_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -385,7 +385,7 @@ pipeline {
stage("build px4_fmu-v5x_default") { stage("build px4_fmu-v5x_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -545,7 +545,7 @@ pipeline {
stage("build holybro_durandal-v1_default") { stage("build holybro_durandal-v1_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -619,7 +619,7 @@ pipeline {
stage("build holybro_durandal-v1_stackcheck") { stage("build holybro_durandal-v1_stackcheck") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -706,7 +706,7 @@ pipeline {
stage("build nxp_fmuk66-v3_default") { stage("build nxp_fmuk66-v3_default") {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
+1 -1
View File
@@ -2,7 +2,7 @@ version: 2
jobs: jobs:
build: build:
docker: docker:
- image: px4io/px4-dev-nuttx:2019-11-22 - image: px4io/px4-dev-nuttx:2019-11-25
steps: steps:
- checkout - checkout
- run: - run:
+1 -1
View File
@@ -5,7 +5,7 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: px4io/px4-dev-base-bionic:2019-11-22 container: px4io/px4-dev-base-bionic:2019-11-25
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:
Vendored
+25 -25
View File
@@ -11,7 +11,7 @@ pipeline {
stage('Catkin build on ROS workspace') { stage('Catkin build on ROS workspace') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros-melodic:2019-11-22' image 'px4io/px4-dev-ros-melodic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
} }
} }
@@ -51,7 +51,7 @@ pipeline {
stage('Colcon build on ROS2 workspace') { stage('Colcon build on ROS2 workspace') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-ros2-dashing:2019-11-22' image 'px4io/px4-dev-ros2-dashing:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw -e HOME=$WORKSPACE'
} }
} }
@@ -82,7 +82,7 @@ pipeline {
stage('Style check') { stage('Style check') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh 'make check_format' sh 'make check_format'
@@ -129,7 +129,7 @@ pipeline {
stage('px4_fmu-v2 (bloaty)') { stage('px4_fmu-v2 (bloaty)') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -161,7 +161,7 @@ pipeline {
stage('px4_fmu-v5 (bloaty)') { stage('px4_fmu-v5 (bloaty)') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -193,7 +193,7 @@ pipeline {
stage('px4_sitl (bloaty)') { stage('px4_sitl (bloaty)') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -225,7 +225,7 @@ pipeline {
stage('px4_fmu-v5 (no ninja)') { stage('px4_fmu-v5 (no ninja)') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -251,7 +251,7 @@ pipeline {
stage('px4_sitl (no ninja)') { stage('px4_sitl (no ninja)') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -277,7 +277,7 @@ pipeline {
stage('SITL unit tests') { stage('SITL unit tests') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-base-bionic:2019-11-22' image 'px4io/px4-dev-base-bionic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -317,7 +317,7 @@ pipeline {
stage('Clang analyzer') { stage('Clang analyzer') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-clang:2019-11-22' image 'px4io/px4-dev-clang:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -355,7 +355,7 @@ pipeline {
stage('Clang tidy') { stage('Clang tidy') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-clang:2019-11-22' image 'px4io/px4-dev-clang:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -377,7 +377,7 @@ pipeline {
stage('Cppcheck') { stage('Cppcheck') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-base-bionic:2019-11-22' image 'px4io/px4-dev-base-bionic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -415,7 +415,7 @@ pipeline {
stage('Check stack') { stage('Check stack') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -435,7 +435,7 @@ pipeline {
stage('ShellCheck') { stage('ShellCheck') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -454,7 +454,7 @@ pipeline {
stage('Module config validation') { stage('Module config validation') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-base-bionic:2019-11-22' image 'px4io/px4-dev-base-bionic:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -479,7 +479,7 @@ pipeline {
stage('Airframe') { stage('Airframe') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh 'make distclean' sh 'make distclean'
@@ -498,7 +498,7 @@ pipeline {
stage('Parameter') { stage('Parameter') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh 'make distclean' sh 'make distclean'
@@ -517,7 +517,7 @@ pipeline {
stage('Module') { stage('Module') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh 'make distclean' sh 'make distclean'
@@ -537,7 +537,7 @@ pipeline {
stage('uORB graphs') { stage('uORB graphs') {
agent { agent {
docker { docker {
image 'px4io/px4-dev-nuttx:2019-11-22' image 'px4io/px4-dev-nuttx:2019-11-25'
args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw' args '-e CCACHE_BASEDIR=$WORKSPACE -v ${CCACHE_DIR}:${CCACHE_DIR}:rw'
} }
} }
@@ -566,7 +566,7 @@ pipeline {
stage('Devguide') { stage('Devguide') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh('export') sh('export')
@@ -596,7 +596,7 @@ pipeline {
stage('Userguide') { stage('Userguide') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh('export') sh('export')
@@ -624,7 +624,7 @@ pipeline {
stage('QGroundControl') { stage('QGroundControl') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh('export') sh('export')
@@ -652,7 +652,7 @@ pipeline {
stage('PX4 ROS msgs') { stage('PX4 ROS msgs') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh('export') sh('export')
@@ -681,7 +681,7 @@ pipeline {
stage('PX4 ROS2 bridge') { stage('PX4 ROS2 bridge') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh('export') sh('export')
@@ -722,7 +722,7 @@ pipeline {
stage('S3') { stage('S3') {
agent { agent {
docker { image 'px4io/px4-dev-base-bionic:2019-11-22' } docker { image 'px4io/px4-dev-base-bionic:2019-11-25' }
} }
steps { steps {
sh('export') sh('export')
+8 -5
View File
@@ -4,19 +4,22 @@ 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:2019-11-22" PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2019-11-25"
elif [[ $@ =~ .*ocpoc.* ]] || [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*beaglebone.* ]]; then elif [[ $@ =~ .*ocpoc.* ]] || [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*beaglebone.* ]]; then
# aerotenna_ocpoc_default, beaglebone_blue_default, emlid_navio2_default, px4_raspberrypi_default # aerotenna_ocpoc_default, beaglebone_blue_default, emlid_navio2_default, px4_raspberrypi_default
PX4_DOCKER_REPO="px4io/px4-dev-armhf:2019-11-22" PX4_DOCKER_REPO="px4io/px4-dev-armhf:2019-11-25"
elif [[ $@ =~ .*eagle.* ]] || [[ $@ =~ .*excelsior.* ]]; then elif [[ $@ =~ .*eagle.* ]] || [[ $@ =~ .*excelsior.* ]]; then
# eagle, excelsior # eagle, excelsior
PX4_DOCKER_REPO="lorenzmeier/px4-dev-snapdragon:2018-09-12" PX4_DOCKER_REPO="lorenzmeier/px4-dev-snapdragon:2018-09-12"
elif [[ $@ =~ .*ocpoc.* ]] || [[ $@ =~ .*navio2.* ]] || [[ $@ =~ .*raspberry.* ]] || [[ $@ =~ .*bebop.* ]]; then
# aerotenna_ocpoc_default, posix_rpi_cross, posix_bebop_default
PX4_DOCKER_REPO="px4io/px4-dev-armhf:2019-11-25"
elif [[ $@ =~ .*clang.* ]] || [[ $@ =~ .*scan-build.* ]]; then elif [[ $@ =~ .*clang.* ]] || [[ $@ =~ .*scan-build.* ]]; then
# clang tools # clang tools
PX4_DOCKER_REPO="px4io/px4-dev-clang:2019-11-22" PX4_DOCKER_REPO="px4io/px4-dev-clang:2019-11-25"
elif [[ $@ =~ .*tests* ]]; then elif [[ $@ =~ .*tests* ]]; then
# run all tests with simulation # run all tests with simulation
PX4_DOCKER_REPO="px4io/px4-dev-simulation-bionic:2019-11-22" PX4_DOCKER_REPO="px4io/px4-dev-simulation-bionic:2019-11-25"
fi fi
else else
echo "PX4_DOCKER_REPO is set to '$PX4_DOCKER_REPO'"; echo "PX4_DOCKER_REPO is set to '$PX4_DOCKER_REPO'";
@@ -24,7 +27,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:2019-11-22" PX4_DOCKER_REPO="px4io/px4-dev-nuttx:2019-11-25"
fi fi
# docker hygiene # docker hygiene