You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2021/09/16 20:38:44 UTC

[trafficserver-ci] branch main updated: add --network=host to all pipeline docker args

This is an automated email from the ASF dual-hosted git repository.

bnolsen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 4eeaece  add --network=host to all pipeline docker args
     new 440711d  Merge pull request #49 from traeak/networkhost
4eeaece is described below

commit 4eeaecec3602ca609d9a3435254f77cc1e40db9c
Author: Brian Olsen <bn...@gmail.com>
AuthorDate: Thu Sep 16 13:38:12 2021 -0700

    add --network=host to all pipeline docker args
---
 jenkins/branch/clang_analyzer.pipeline | 2 +-
 jenkins/branch/clang_format.pipeline   | 2 +-
 jenkins/branch/in_tree.pipeline        | 2 +-
 jenkins/branch/out_of_tree.pipeline    | 2 +-
 jenkins/branch/rat.pipeline            | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/jenkins/branch/clang_analyzer.pipeline b/jenkins/branch/clang_analyzer.pipeline
index 4090348..49dc5fa 100644
--- a/jenkins/branch/clang_analyzer.pipeline
+++ b/jenkins/branch/clang_analyzer.pipeline
@@ -3,7 +3,7 @@ pipeline {
 		docker {
 			registryUrl 'https://controller.trafficserver.org/'
 			image 'controller.trafficserver.org/ats/ubuntu:20.04'
-			args '-v /home/jenkins/clang-analyzer:/tmp/clang-analyzer:rw'
+			args '-v /home/jenkins/clang-analyzer:/tmp/clang-analyzer:rw --network=host'
 			label 'branch'
 		}			
 	}			
diff --git a/jenkins/branch/clang_format.pipeline b/jenkins/branch/clang_format.pipeline
index ab79dfa..475173b 100644
--- a/jenkins/branch/clang_format.pipeline
+++ b/jenkins/branch/clang_format.pipeline
@@ -4,7 +4,7 @@ pipeline {
 			registryUrl 'https://controller.trafficserver.org/'
 			image 'controller.trafficserver.org/ats/centos:8'
 			label 'branch'
-			args '--network host'
+			args '--network=host'
 		}
 	}
 	stages {
diff --git a/jenkins/branch/in_tree.pipeline b/jenkins/branch/in_tree.pipeline
index a93068b..1faad49 100644
--- a/jenkins/branch/in_tree.pipeline
+++ b/jenkins/branch/in_tree.pipeline
@@ -3,7 +3,7 @@ pipeline {
 		docker {
 			registryUrl 'https://controller.trafficserver.org/'
 			image 'controller.trafficserver.org/ats/centos:8'
-			args '-v "${HOME}"/ccache:/tmp/ccache:rw'
+			args '--network-host -v "${HOME}"/ccache:/tmp/ccache:rw'
 			label 'branch'
 		}
 	}
diff --git a/jenkins/branch/out_of_tree.pipeline b/jenkins/branch/out_of_tree.pipeline
index 53f5123..554a727 100644
--- a/jenkins/branch/out_of_tree.pipeline
+++ b/jenkins/branch/out_of_tree.pipeline
@@ -3,7 +3,7 @@ pipeline {
 		docker {
 			registryUrl 'https://controller.trafficserver.org/'
 			image 'controller.trafficserver.org/ats/centos:8'
-			args '-v "${HOME}"/ccache:/tmp/ccache:rw'
+			args '--network-host -v "${HOME}"/ccache:/tmp/ccache:rw'
 			label 'branch'
 		}
 	}
diff --git a/jenkins/branch/rat.pipeline b/jenkins/branch/rat.pipeline
index b79f563..20586cd 100644
--- a/jenkins/branch/rat.pipeline
+++ b/jenkins/branch/rat.pipeline
@@ -5,7 +5,7 @@ pipeline {
 			image 'controller.trafficserver.org/ats/centos:8'
 			label 'branch'
 			// We need host networking for clang-format to download
-			args '--network host'
+			args '--network=host'
 		}
 	}