Skip to content

Commit

Permalink
[ci] Use a tag to figure out what we might want to release (SeleniumH…
Browse files Browse the repository at this point in the history
…Q#14378)

Co-authored-by: Diego Molina <[email protected]>
  • Loading branch information
shs96c and diemol authored Aug 21, 2024
1 parent a93c89b commit e4258ea
Show file tree
Hide file tree
Showing 25 changed files with 85 additions and 6 deletions.
6 changes: 6 additions & 0 deletions dotnet/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ pkg_zip(
"//dotnet/src/support:support-strongnamed-pack",
"//dotnet/src/webdriver:webdriver-strongnamed-pack",
],
tags = [
"release-artifact",
],
)

pkg_zip(
Expand All @@ -19,4 +22,7 @@ pkg_zip(
"//dotnet/src/support:support-pack",
"//dotnet/src/webdriver:webdriver-pack",
],
tags = [
"release-artifact",
],
)
6 changes: 6 additions & 0 deletions java/src/org/openqa/selenium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = ":template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
deps = [
":manifest",
Expand All @@ -41,6 +44,9 @@ java_export(
name = "client-combined",
maven_coordinates = "org.seleniumhq.selenium:selenium-java:" + SE_VERSION,
pom_template = ":template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/chrome/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-chrome-driver:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
exports = [
"//java/src/org/openqa/selenium/chromium",
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/chromium/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-chromium-driver:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/devtools/v125/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/devtools/v126/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/devtools/v127/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/devtools/v85/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/edge/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-edge-driver:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/firefox/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-firefox-driver:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
deps = [
"//java:auto-service",
Expand Down
6 changes: 6 additions & 0 deletions java/src/org/openqa/selenium/grid/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ maven_bom(
"//java/src/org/openqa/selenium:core",
] + CDP_DEPS,
maven_coordinates = "org.seleniumhq.selenium:selenium-bom:%s" % SE_VERSION,
tags = [
"release-artifact",
],
)

java_export(
Expand All @@ -130,6 +133,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
uses = [
"org.openqa.selenium.WebDriverInfo",
"org.openqa.selenium.cli.CliCommand",
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/grid/sessionmap/jdbc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-session-map-jdbc:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-session-map-redis:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/ie/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-ie-driver:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
deps = [
"//java:auto-service",
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/json/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-json:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/manager/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ java_export(
":manager-macos",
":manager-windows",
],
tags = [
"release-artifact",
],
visibility = [
"//visibility:public",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/os/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-os:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
deps = [
"//java/src/org/openqa/selenium:core",
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/remote/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
uses = [
"org.openqa.selenium.devtools.CdpInfo",
"org.openqa.selenium.remote.AugmenterProvider",
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/remote/http/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ java_export(
srcs = glob(["**/*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-http:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
uses = [
"org.openqa.selenium.remote.http.HttpClient$Factory",
],
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/safari/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ java_export(
srcs = glob(["*.java"]),
maven_coordinates = "org.seleniumhq.selenium:selenium-safari-driver:%s" % SE_VERSION,
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
deps = [
"//java:auto-service",
Expand Down
3 changes: 3 additions & 0 deletions java/src/org/openqa/selenium/support/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ java_export(
"org.seleniumhq.selenium.json",
],
pom_template = "//java/src/org/openqa/selenium:template-pom",
tags = [
"release-artifact",
],
visibility = ["//visibility:public"],
exports = [
":page-factory",
Expand Down
3 changes: 3 additions & 0 deletions javascript/node/selenium-webdriver/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ npm_package(
"//javascript/node/selenium-webdriver/lib/atoms:mutation-listener",
],
package = "selenium-webdriver",
tags = [
"release-artifact",
],
version = VERSION,
visibility = ["//visibility:public"],
)
Expand Down
3 changes: 3 additions & 0 deletions py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,9 @@ py_wheel(
"py/",
],
summary = "Official Python bindings for Selenium WebDriver",
tags = [
"release-artifact",
],
version = SE_VERSION,
visibility = ["//visibility:public"],
deps = [
Expand Down
6 changes: 6 additions & 0 deletions rb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ rb_gem_build(
":notice",
],
gemspec = "selenium-webdriver.gemspec",
tags = [
"release-artifact",
],
deps = [
"//rb/lib:selenium-webdriver",
"//rb/lib/selenium:server",
Expand Down Expand Up @@ -105,6 +108,9 @@ rb_gem_build(
":notice",
],
gemspec = "selenium-devtools.gemspec",
tags = [
"release-artifact",
],
deps = ["//rb/lib/selenium:devtools"],
)

Expand Down
7 changes: 1 addition & 6 deletions scripts/github-actions/ci-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,4 @@ bazel test --config=remote-ci --build_tests_only \
//... -- $(cat .skipped-tests | tr '\n' ' ')

# Build the packages we want to ship to users
bazel build --config=remote-ci \
//dotnet:all \
//java/src/... \
//javascript/node/selenium-webdriver:selenium-webdriver \
//py:selenium-wheel \
//rb:selenium-devtools //rb:selenium-webdriver
bazel build --config=remote-ci --build_tag_filters=release-artifact //...

0 comments on commit e4258ea

Please sign in to comment.