Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docker/istio_builders/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
* 0.5.4: update golang to 1.10.1
* 0.5.5: adds helm 2.7.2
* 0.5.6: adds ninja and updates bazel to 0.15.2
* 0.5.7: update clang to 6.0
2 changes: 1 addition & 1 deletion docker/istio_builders/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJECT = istio-testing
VERSION = 0.5.6
VERSION = 0.5.7

# Note: The build directory is the root of the istio/test-infra repository, not ./
image:
Expand Down
2 changes: 1 addition & 1 deletion docker/prowbazel/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJECT = istio-testing
VERSION = 0.4.10
VERSION = 0.4.11

# Note: The build directory is the root of the istio/test-infra repository, not ./
image:
Expand Down
1 change: 1 addition & 0 deletions docker/prowbazel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ Our dependency on this script is because it appropariately writes test job resul
* 0.4.8: update golang to 1.10.1
* 0.4.9: adds helm 2.7.2
* 0.4.10: adds ninja and updates bazel to 0.15.2
* 0.4.11: update clang to 6.0
2 changes: 1 addition & 1 deletion prow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ presubmits:
- master
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.1.2
- image: gcr.io/istio-testing/prowbazel:0.4.11
# ...

# in plugins.yaml
Expand Down
12 changes: 6 additions & 6 deletions prow/cluster/jobs/all-periodics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ periodics:
preset-istio-kubeconfig: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/istio/test-infra=master"
- "--clean"
Expand All @@ -28,7 +28,7 @@ periodics:
preset-daily-kubeconfig: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/istio/test-infra=master"
- "--clean"
Expand All @@ -46,7 +46,7 @@ periodics:
preset-service-account: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/istio/test-infra=master"
- "--clean"
Expand All @@ -64,7 +64,7 @@ periodics:
preset-service-account: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/istio/test-infra=master"
- "--clean"
Expand Down Expand Up @@ -103,7 +103,7 @@ periodics:
- --repo=green-build
- --clean
- --timeout=120
image: gcr.io/istio-testing/prow-builder:0.5.5
image: gcr.io/istio-testing/prow-builder:0.5.7
securityContext:
privileged: true
env:
Expand Down Expand Up @@ -137,7 +137,7 @@ periodics:
preset-service-account: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/istio/test-infra=master"
- "--clean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
2 changes: 1 addition & 1 deletion prow/cluster/jobs/istio/api/istio.api.master.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
2 changes: 1 addition & 1 deletion prow/cluster/jobs/istio/api/istio.api.release-0.8.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_spec: &common_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
2 changes: 1 addition & 1 deletion prow/cluster/jobs/istio/istio/istio.istio.master.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_spec: &common_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
4 changes: 2 additions & 2 deletions prow/cluster/jobs/istio/istio/istio.istio.release-0.8.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down Expand Up @@ -33,7 +33,7 @@ presubmits:
preset-istio-kubeconfig: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
4 changes: 2 additions & 2 deletions prow/cluster/jobs/istio/istio/istio.istio.release-1.0.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

common_e2e_spec: &common_e2e_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down Expand Up @@ -33,7 +33,7 @@ presubmits:
preset-istio-kubeconfig: "true"
spec:
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
2 changes: 1 addition & 1 deletion prow/cluster/jobs/istio/proxy/istio.proxy.master.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

bazel_spec: &bazel_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.10
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

bazel_spec: &bazel_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.10
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
2 changes: 1 addition & 1 deletion prow/cluster/jobs/istio/proxy/istio.proxy.sds_api.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

bazel_spec: &bazel_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.9
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

bazel_spec: &bazel_spec
containers:
- image: gcr.io/istio-testing/prowbazel:0.4.10
- image: gcr.io/istio-testing/prowbazel:0.4.11
args:
- "--repo=github.com/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)"
- "--clean"
Expand Down
10 changes: 5 additions & 5 deletions scripts/tools/linux-install-clang
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ fi
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
. ${DIR}/all-utilities || { echo "Cannot load Bash utilities" ; exit 1 ; }

LLVM_VERSION=5.0
LLVM_VERSION=6.0

# Ubuntu 16-04
REPO='xenial'
LLVM_REPO='xenial'

function install_clang() {
echo 'Installing clang'
curl https://apt.llvm.org/llvm-snapshot.gpg.key | ${SUDO} apt-key add - \
&& clear_apt \
&& ${SUDO} apt-get -qqy install "clang-${LLVM_VERSION}" \
&& ${SUDO} apt-get -qqy install "clang-${LLVM_VERSION}" "clang-format-${LLVM_VERSION}" \
&& return 0
return 1
}

function update_llvm_apt() {
echo 'Adding repo for llvm'
echo "deb http://apt.llvm.org/xenial/${REPO} llvm-toolchain-${REPO}-${LLVM_VERSION} main" \
echo "deb http://apt.llvm.org/${LLVM_REPO}/ llvm-toolchain-${LLVM_REPO}-${LLVM_VERSION} main" \
| ${SUDO} tee /etc/apt/sources.list.d/llvm.list
}

function update_clang() {
if [[ ! -x "$(command -v clang-${LLVM_VERSION})" ]]; then
update_llvm
update_llvm_apt
retry install_clang || error_exit 'Cannot install clang.'
fi
echo 'clang is up to date.'
Expand Down