Add rules_k8s and rules_docker to our CI
Also remove the rules_apple and create a generic empty configuration
file so we can start by adding project and adapt the configuration file
depending on the project using PRs to the project.
Change-Id: Ia62c37bf058d3be197745fa2e4216a3dd82b8469
diff --git a/jenkins/jobs/BUILD b/jenkins/jobs/BUILD
index 97d07bf..08efc1a 100644
--- a/jenkins/jobs/BUILD
+++ b/jenkins/jobs/BUILD
@@ -134,7 +134,6 @@
name = n,
config = ":configs/%s.json" % n,
) for n in [
- "rules_apple",
"rules_scala",
"rules_rust",
"rules_dotnet",
@@ -158,6 +157,13 @@
"migration-tooling",
]]
+# Jobs from the bazelbuild org using a dummy configuration
+[bazel_github_job(name = n, config = ":configs/empty.json") for n in [
+ "rules_apple",
+ "rules_k8s",
+ "rules_python",
+]]
+
# Jobs from the google org
bazel_github_job(
name = "re2",
diff --git a/jenkins/jobs/configs/empty.json b/jenkins/jobs/configs/empty.json
new file mode 100644
index 0000000..f04086a
--- /dev/null
+++ b/jenkins/jobs/configs/empty.json
@@ -0,0 +1,3 @@
+// This configuration file is for new project so that they can setup the configuration
+// on the repository side. It build nothing, just create an empty project.
+[]
diff --git a/jenkins/jobs/configs/rules_apple.json b/jenkins/jobs/configs/rules_apple.json
deleted file mode 100644
index 0301af4..0000000
--- a/jenkins/jobs/configs/rules_apple.json
+++ /dev/null
@@ -1,16 +0,0 @@
-[
- {
- "variation": "",
- "node": "darwin-x86_64",
- "parameters": {
- // No target until the job is debugged
- "targets": [],
- "tests": [],
- "build_opts": ["--experimental_objc_crosstool=all"],
- "test_opts": [
- "--spawn_strategy=standalone",
- "--strategy=TestRunner=standalone"
- ]
- }
- }
-]
diff --git a/jenkins/jobs/jobs.bzl b/jenkins/jobs/jobs.bzl
index d876ae1..cf35dae 100644
--- a/jenkins/jobs/jobs.bzl
+++ b/jenkins/jobs/jobs.bzl
@@ -8,7 +8,7 @@
# Exclude Benchmark jobs
is_not_benchmark = "-Benchmark" not in job
# Gold jobs are some bazel job that we include for testing
- is_gold = job in ["TensorFlow", "Tutorial"]
+ is_gold = job in ["TensorFlow", "Tutorial", "rules_k8s", "rules_python"]
return (is_gold or is_gerrit_or_not_bazel) and is_not_benchmark