From 67b60bf48ca8f13679a3d58394765f4bf6f7b723 Mon Sep 17 00:00:00 2001 From: zeroflag Date: Wed, 8 Sep 2021 12:36:41 +0200 Subject: [PATCH 1/6] KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80c79a0deb..a0295952a2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,10 @@ language: minimal matrix: fast_finish: true include: - - env: IMAGE=maven:3-jdk-8 - - env: IMAGE=maven:3-jdk-11 + - env: IMAGE=maven:3-jdk-8-slim + - env: IMAGE=maven:3-jdk-11-slim - name: Linux ARM64 - env: IMAGE=maven:3-jdk-11 + env: IMAGE=maven:3-jdk-11-slim arch: arm64-graviton2 virt: lxd group: edge From 33cdf55bbfabba69d163f3072165503697e3c5f0 Mon Sep 17 00:00:00 2001 From: zeroflag Date: Wed, 8 Sep 2021 14:43:14 +0200 Subject: [PATCH 2/6] KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a0295952a2..ddabe14a95 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,10 @@ language: minimal matrix: fast_finish: true include: - - env: IMAGE=maven:3-jdk-8-slim - - env: IMAGE=maven:3-jdk-11-slim + - env: IMAGE=maven:3-jdk-8-slim-buster + - env: IMAGE=maven:3-jdk-11-slim-buster - name: Linux ARM64 - env: IMAGE=maven:3-jdk-11-slim + env: IMAGE=maven:3-jdk-11-slim-buster arch: arm64-graviton2 virt: lxd group: edge From 6ca1b2b34702acc5d356c46a06a3fb71688bdc76 Mon Sep 17 00:00:00 2001 From: zeroflag Date: Wed, 8 Sep 2021 17:43:31 +0200 Subject: [PATCH 3/6] KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ddabe14a95..840fc7a4e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,10 @@ language: minimal matrix: fast_finish: true include: - - env: IMAGE=maven:3-jdk-8-slim-buster - - env: IMAGE=maven:3-jdk-11-slim-buster + - env: IMAGE=csanchez/maven:3-openjdk-8 + - env: IMAGE=csanchez/maven:3-openjdk-11 - name: Linux ARM64 - env: IMAGE=maven:3-jdk-11-slim-buster + env: IMAGE=csanchez/maven:3-openjdk-11 arch: arm64-graviton2 virt: lxd group: edge From 48e03b5a53d8fa9a2485beaf01119f5fb8408285 Mon Sep 17 00:00:00 2001 From: zeroflag Date: Thu, 9 Sep 2021 10:07:36 +0200 Subject: [PATCH 4/6] KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted --- .travis.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 840fc7a4e8..3666ebf96b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,10 +20,10 @@ language: minimal matrix: fast_finish: true include: - - env: IMAGE=csanchez/maven:3-openjdk-8 - - env: IMAGE=csanchez/maven:3-openjdk-11 + - env: IMAGE=maven:3-jdk-8 + - env: IMAGE=maven:3-jdk-11 - name: Linux ARM64 - env: IMAGE=csanchez/maven:3-openjdk-11 + env: IMAGE=maven:3-jdk-11 arch: arm64-graviton2 virt: lxd group: edge @@ -36,6 +36,11 @@ env: services: - docker before_install: + - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - + - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + - sudo apt-get update + - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce + - docker --version - lscpu - docker pull $IMAGE script: From d6ea19207cbe61a3d5fef1f0e8252a4af6e107b4 Mon Sep 17 00:00:00 2001 From: zeroflag Date: Thu, 9 Sep 2021 16:16:28 +0200 Subject: [PATCH 5/6] KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3666ebf96b..20164f919c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,18 +29,17 @@ matrix: group: edge os: linux dist: focal - + +addons: + apt: + packages: + - docker-ce env: global: - DOCKERRUN="docker run --rm -v $PWD:/src -v $HOME/.m2:/root/.m2 -v /var/run/docker.sock:/var/run/docker.sock -w /src" services: - docker before_install: - - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - - - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" - - sudo apt-get update - - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce - - docker --version - lscpu - docker pull $IMAGE script: From d9522a5f70f43730c09a7ec5ffc345b7b1894f3f Mon Sep 17 00:00:00 2001 From: zeroflag Date: Thu, 9 Sep 2021 19:04:08 +0200 Subject: [PATCH 6/6] KNOX-2659 - Travis build failure: '/usr/bin/mvn': Operation not permitted --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 20164f919c..6cb9d08cf8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,16 +30,18 @@ matrix: os: linux dist: focal -addons: - apt: - packages: - - docker-ce env: global: - DOCKERRUN="docker run --rm -v $PWD:/src -v $HOME/.m2:/root/.m2 -v /var/run/docker.sock:/var/run/docker.sock -w /src" services: - docker before_install: + - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - + - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + - sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" + - sudo apt-get update + - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce + - docker --version - lscpu - docker pull $IMAGE script: