Some checks are pending
Build and Run Tests by Bazel / bazel-compile (ubuntu-latest) (push) Waiting to run
CodeQL Analysis / CodeQL-Build (push) Waiting to run
Coverage / calculate-coverage (push) Waiting to run
Run Integration Tests / maven-compile (ubuntu-latest, JDK-8) (push) Waiting to run
Build and Run Tests by Maven / maven-compile (macos-latest, JDK-8) (push) Waiting to run
Build and Run Tests by Maven / maven-compile (ubuntu-latest, JDK-8) (push) Waiting to run
Build and Run Tests by Maven / maven-compile (windows-latest, JDK-8) (push) Waiting to run
Misspell Check / misspell-check (push) Waiting to run
PUSH-CI / Build dist tar (push) Waiting to run
PUSH-CI / Docker images (ubuntu, 8) (push) Blocked by required conditions
PUSH-CI / List version (push) Blocked by required conditions
PUSH-CI / Deploy RocketMQ For E2E (push) Blocked by required conditions
PUSH-CI / Deploy RocketMQ For Benchmarking (push) Blocked by required conditions
PUSH-CI / Test E2E grpc java (push) Blocked by required conditions
PUSH-CI / Test E2E golang (push) Blocked by required conditions
PUSH-CI / Test E2E remoting java (push) Blocked by required conditions
PUSH-CI / Performance benchmark test (push) Blocked by required conditions
PUSH-CI / Clean E2E (push) Blocked by required conditions
PUSH-CI / Clean Benchmarking (push) Blocked by required conditions
50 lines
2.1 KiB
Python
50 lines
2.1 KiB
Python
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
# this work for additional information regarding copyright ownership.
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
# (the "License"); you may not use this file except in compliance with
|
|
# the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
load("@bazel_toolchains//rules/exec_properties:exec_properties.bzl", "create_rbe_exec_properties_dict")
|
|
|
|
platform(
|
|
name = "custom_platform",
|
|
# Inherit from the platform target generated by 'rbe_configs_gen' assuming the generated configs
|
|
# were imported as a Bazel external repository named 'rbe_default'. If you extracted the
|
|
# generated configs elsewhere in your source repository, replace the following with the label
|
|
# to the 'platform' target in the generated configs.
|
|
parents = ["@rbe_default//config:platform"],
|
|
# Example custom execution property instructing RBE to use e2-standard-2 GCE VMs.
|
|
exec_properties = create_rbe_exec_properties_dict(
|
|
container_image = "ubuntu:latest",
|
|
),
|
|
)
|
|
|
|
java_library(
|
|
name = "test_deps",
|
|
visibility = ["//visibility:public"],
|
|
exports = [
|
|
"@maven//:junit_junit",
|
|
"@maven//:org_assertj_assertj_core",
|
|
"@maven//:org_hamcrest_hamcrest_library",
|
|
"@maven//:org_mockito_mockito_core",
|
|
"@maven//:org_powermock_powermock_module_junit4",
|
|
"@maven//:org_powermock_powermock_api_mockito2",
|
|
"@maven//:org_hamcrest_hamcrest_core",
|
|
"@maven//:ch_qos_logback_logback_classic",
|
|
"@maven//:org_awaitility_awaitility",
|
|
"@maven//:org_openjdk_jmh_jmh_core",
|
|
"@maven//:org_openjdk_jmh_jmh_generator_annprocess",
|
|
"@maven//:org_mockito_mockito_junit_jupiter",
|
|
],
|
|
)
|