diff options
author | philwo <philwo@google.com> | 2018-01-08 02:59:57 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-08 03:01:34 -0800 |
commit | 1fa84f1ad22189e16aedb3572cc2304ea18f0747 (patch) | |
tree | add633c1ad65db4cc3e0bbecb3585163b773e6aa /scripts | |
parent | 76bf766b5d558b5ae4a0e6981c67511cdf592ec5 (diff) |
Automated rollback of commit 55f1e58a7a3e77027dd23cf58564424d76ab6dc0.
*** Reason for rollback ***
FreeBSD should work again, so re-enable it.
*** Original change description ***
Remove FreeBSD from our CI temporarily.
RELNOTES: None.
PiperOrigin-RevId: 181140165
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/ci/bazel-slow-tests.json | 2 | ||||
-rw-r--r-- | scripts/ci/bazel-tests.json | 26 | ||||
-rw-r--r-- | scripts/ci/bootstrap.json | 34 |
3 files changed, 62 insertions, 0 deletions
diff --git a/scripts/ci/bazel-slow-tests.json b/scripts/ci/bazel-slow-tests.json index b603a6c8a4..43f6a469a1 100644 --- a/scripts/ci/bazel-slow-tests.json +++ b/scripts/ci/bazel-slow-tests.json @@ -25,6 +25,8 @@ {"node": "linux-x86_64"}, {"node": "ubuntu_16.04-x86_64"}, {"node": "darwin-x86_64"} + // TODO(aehlig): {"node": "freebsd-11"}, + // TODO(aehlig): {"node": "freebsd-12"}, // TODO(pcloudy): {"node": "windows-x86_64"}, ], "parameters": { diff --git a/scripts/ci/bazel-tests.json b/scripts/ci/bazel-tests.json index 796d059180..62af16f2da 100644 --- a/scripts/ci/bazel-tests.json +++ b/scripts/ci/bazel-tests.json @@ -30,6 +30,32 @@ "targets": [] } }, { + "configurations": [ + {"node": "freebsd-11"} //, + // TODO(aehlig): Fix bazelbuild/continuous-integration#149 and reactivate. + // {"node": "freebsd-12"} + ], + "parameters": { + // As configure step, we redo the USES=shebangfix of the devel/bazel + // port. In other words, we replace every #!-line calling bash by a + // line containing the correct path to bash on our test machines. + "configure": [ + "find -E . -type f -iregex '.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)' \\", + "-exec sed -i '' \\", + "-e '1s|^\\#![[:space:]]*/bin/bash\\([[:space:]]\\)|\\#!/usr/local/bin/bash\\1|' \\", + "-e '1s|^\\#![[:space:]]*/bin/bash$|\\#!/usr/local/bin/bash|' \\", + "-e '1s|^\\#![[:space:]]*/usr/bin/env bash\\([[:space:]]\\)|\\#!/usr/local/bin/bash\\1|' \\", + "-e '1s|^\\#![[:space:]]*/usr/bin/env bash$|\\#!/usr/local/bin/bash|' \\", + "{} +" + ], + "tests": [ + "//src/test/shell/integration/...", + "let bazel=\"//src/test/shell/bazel/...\" in $bazel - filter(\"all_tests\", $bazel) - filter(\"jdk\", $bazel) - filter(\"maven\", $bazel) - filter(\"android\", $bazel) - filter(\"java\", $bazel) - filter(\"workspace\", $bazel) - filter(\"external\", $bazel) - filter(\"example\", $bazel) - filter(\"skylark_repository\", $bazel) - filter(\"repository_cache\", $bazel)" + ], + "test_tag_filters": ["-slow"], + "targets": [] + } + }, { "node": "darwin-x86_64", "parameters": { "configure": [ diff --git a/scripts/ci/bootstrap.json b/scripts/ci/bootstrap.json index 9d4244a171..bdaa497367 100644 --- a/scripts/ci/bootstrap.json +++ b/scripts/ci/bootstrap.json @@ -27,6 +27,40 @@ { "node": "ubuntu_16.04-x86_64", "variation": "" }, { "variation": "", + "node": "freebsd-11", + "parameters": { + "configure": [ + "find -E . -type f -iregex '.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)' \\", + "-exec sed -i '' \\", + "-e '1s|^\\#![[:space:]]*/bin/bash\\([[:space:]]\\)|\\#!/usr/local/bin/bash\\1|' \\", + "-e '1s|^\\#![[:space:]]*/bin/bash$|\\#!/usr/local/bin/bash|' \\", + "-e '1s|^\\#![[:space:]]*/usr/bin/env bash\\([[:space:]]\\)|\\#!/usr/local/bin/bash\\1|' \\", + "-e '1s|^\\#![[:space:]]*/usr/bin/env bash$|\\#!/usr/local/bin/bash|' \\", + "{} +" + ], + "archive": {"bazel-bin/src/bazel": "bazel"} + }, + "opts": ["-c opt"] + }, + { + "variation": "", + "node": "freebsd-12", + "parameters": { + "configure": [ + "find -E . -type f -iregex '.*(sh|txt|_stub|stub_.*|bazel|get_workspace_status|protobuf_support|_so)' \\", + "-exec sed -i '' \\", + "-e '1s|^\\#![[:space:]]*/bin/bash\\([[:space:]]\\)|\\#!/usr/local/bin/bash\\1|' \\", + "-e '1s|^\\#![[:space:]]*/bin/bash$|\\#!/usr/local/bin/bash|' \\", + "-e '1s|^\\#![[:space:]]*/usr/bin/env bash\\([[:space:]]\\)|\\#!/usr/local/bin/bash\\1|' \\", + "-e '1s|^\\#![[:space:]]*/usr/bin/env bash$|\\#!/usr/local/bin/bash|' \\", + "{} +" + ], + "archive": {"bazel-bin/src/bazel": "bazel"} + }, + "opts": ["-c opt"] + }, + { + "variation": "", "node": "darwin-x86_64", "parameters": { "archive": { |