This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-graalvm-distro.git
The following commit(s) were added to refs/heads/main by this push:
new da5f72b Fix missing Apache 2.0 license headers in benchmark files
da5f72b is described below
commit da5f72b1ff94d29dc8446cea743219284d05af59
Author: Wu Sheng <[email protected]>
AuthorDate: Sun Mar 15 08:05:42 2026 +0800
Fix missing Apache 2.0 license headers in benchmark files
---
benchmark/benchmark.sh | 17 +++++++++++++++++
benchmark/cases/graalvm-resource-usage/run.sh | 17 +++++++++++++++++
benchmark/docker-compose-graalvm.yml | 17 +++++++++++++++++
benchmark/docker-compose-jvm.yml | 17 +++++++++++++++++
.../envs-setup/istio-cluster_graalvm-banyandb/kind.yaml | 17 +++++++++++++++++
.../envs-setup/istio-cluster_graalvm-banyandb/setup.sh | 17 +++++++++++++++++
.../istio-cluster_graalvm-banyandb/traffic-gen.yaml | 17 +++++++++++++++++
.../istio-cluster_graalvm-banyandb/values.yaml | 17 +++++++++++++++++
.../envs-setup/istio-cluster_oap-banyandb/kind.yaml | 17 +++++++++++++++++
.../envs-setup/istio-cluster_oap-banyandb/setup.sh | 17 +++++++++++++++++
.../istio-cluster_oap-banyandb/traffic-gen.yaml | 17 +++++++++++++++++
.../envs-setup/istio-cluster_oap-banyandb/values.yaml | 17 +++++++++++++++++
benchmark/run.sh | 17 +++++++++++++++++
13 files changed, 221 insertions(+)
diff --git a/benchmark/benchmark.sh b/benchmark/benchmark.sh
index d20f664..0521100 100755
--- a/benchmark/benchmark.sh
+++ b/benchmark/benchmark.sh
@@ -1,4 +1,21 @@
#!/bin/bash
+# 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.
+
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
diff --git a/benchmark/cases/graalvm-resource-usage/run.sh
b/benchmark/cases/graalvm-resource-usage/run.sh
index a850700..8565984 100755
--- a/benchmark/cases/graalvm-resource-usage/run.sh
+++ b/benchmark/cases/graalvm-resource-usage/run.sh
@@ -1,4 +1,21 @@
#!/usr/bin/env bash
+# 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.
+
# Benchmark case: Resource usage comparison (CPU & memory).
#
# Collects CPU and memory usage from OAP pods at regular intervals
diff --git a/benchmark/docker-compose-graalvm.yml
b/benchmark/docker-compose-graalvm.yml
index dac7365..d139398 100644
--- a/benchmark/docker-compose-graalvm.yml
+++ b/benchmark/docker-compose-graalvm.yml
@@ -1,3 +1,20 @@
+# 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.
+
version: '3.8'
services:
diff --git a/benchmark/docker-compose-jvm.yml b/benchmark/docker-compose-jvm.yml
index 4d4e6e4..5777a11 100644
--- a/benchmark/docker-compose-jvm.yml
+++ b/benchmark/docker-compose-jvm.yml
@@ -1,3 +1,20 @@
+# 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.
+
version: '3.8'
services:
diff --git a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/kind.yaml
b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/kind.yaml
index 9776927..1cdc8f0 100644
--- a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/kind.yaml
+++ b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/kind.yaml
@@ -1,3 +1,20 @@
+# 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.
+
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
diff --git a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/setup.sh
b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/setup.sh
index 37caa10..6cf5e51 100755
--- a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/setup.sh
+++ b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/setup.sh
@@ -1,4 +1,21 @@
#!/usr/bin/env bash
+# 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.
+
# Environment setup: OAP (GraalVM native) + BanyanDB + Istio ALS on Kind.
#
# Same as the JVM variant but uses the GraalVM native image distro.
diff --git
a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/traffic-gen.yaml
b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/traffic-gen.yaml
index 2af8dcd..a43e142 100644
--- a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/traffic-gen.yaml
+++ b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/traffic-gen.yaml
@@ -1,3 +1,20 @@
+# 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.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/values.yaml
b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/values.yaml
index 6fc2fe7..4b5bdd6 100644
--- a/benchmark/envs-setup/istio-cluster_graalvm-banyandb/values.yaml
+++ b/benchmark/envs-setup/istio-cluster_graalvm-banyandb/values.yaml
@@ -1,3 +1,20 @@
+# 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.
+
oap:
config:
# Map Istio service labels to SkyWalking service/instance names.
diff --git a/benchmark/envs-setup/istio-cluster_oap-banyandb/kind.yaml
b/benchmark/envs-setup/istio-cluster_oap-banyandb/kind.yaml
index 9776927..1cdc8f0 100644
--- a/benchmark/envs-setup/istio-cluster_oap-banyandb/kind.yaml
+++ b/benchmark/envs-setup/istio-cluster_oap-banyandb/kind.yaml
@@ -1,3 +1,20 @@
+# 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.
+
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
diff --git a/benchmark/envs-setup/istio-cluster_oap-banyandb/setup.sh
b/benchmark/envs-setup/istio-cluster_oap-banyandb/setup.sh
index 93b4a8c..ac4a055 100755
--- a/benchmark/envs-setup/istio-cluster_oap-banyandb/setup.sh
+++ b/benchmark/envs-setup/istio-cluster_oap-banyandb/setup.sh
@@ -1,4 +1,21 @@
#!/usr/bin/env bash
+# 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.
+
# Environment setup: OAP (JVM) cluster + BanyanDB + Istio ALS on Kind.
#
# Deploys Istio with Access Log Service (ALS) enabled, SkyWalking OAP
diff --git a/benchmark/envs-setup/istio-cluster_oap-banyandb/traffic-gen.yaml
b/benchmark/envs-setup/istio-cluster_oap-banyandb/traffic-gen.yaml
index 2af8dcd..a43e142 100644
--- a/benchmark/envs-setup/istio-cluster_oap-banyandb/traffic-gen.yaml
+++ b/benchmark/envs-setup/istio-cluster_oap-banyandb/traffic-gen.yaml
@@ -1,3 +1,20 @@
+# 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.
+
apiVersion: apps/v1
kind: Deployment
metadata:
diff --git a/benchmark/envs-setup/istio-cluster_oap-banyandb/values.yaml
b/benchmark/envs-setup/istio-cluster_oap-banyandb/values.yaml
index 6fc2fe7..4b5bdd6 100644
--- a/benchmark/envs-setup/istio-cluster_oap-banyandb/values.yaml
+++ b/benchmark/envs-setup/istio-cluster_oap-banyandb/values.yaml
@@ -1,3 +1,20 @@
+# 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.
+
oap:
config:
# Map Istio service labels to SkyWalking service/instance names.
diff --git a/benchmark/run.sh b/benchmark/run.sh
index 4180e67..f0658ca 100755
--- a/benchmark/run.sh
+++ b/benchmark/run.sh
@@ -1,4 +1,21 @@
#!/usr/bin/env bash
+# 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.
+
# Benchmark runner — single entry point with two modes.
#
# Mode 1: Setup environment only