Skip to content

Commit ed5acdd

Browse files
committed
fsdf
1 parent ae2fa7b commit ed5acdd

32 files changed

+6870
-28
lines changed

.appveyor.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
version: '0.12.0.{build}'
21+
22+
shallow_clone: true
23+
24+
branches:
25+
except:
26+
- /dependabot/
27+
28+
platform:
29+
- x64
30+
31+
build: Script
32+
33+
os:
34+
- Visual Studio 2019
35+
36+
environment:
37+
APPVEYOR_SAVE_CACHE_ON_ERROR: True
38+
39+
cache:
40+
- '%USERPROFILE%/.m2'
41+
42+
build_script:
43+
- cmd: set JAVA_HOME=C:\Program Files\Java\jdk11
44+
- cmd: >-
45+
./mvnw.cmd clean package -DskipTests ^
46+
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.shade.mojo.ShadeMojo=warn ^
47+
-Dorg.slf4j.simpleLogger.log.com.googlecode.download.maven.plugin.internal.WGet=warn ^
48+
-Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.dependency.fromDependencies.CopyDependenciesMojo=warn ^
49+
--no-transfer-progress

.asf.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
# https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
19+
20+
github:
21+
description: "Web-based notebook that enables data-driven, interactive data analytics and collaborative documents with SQL, Scala and more."
22+
homepage: https://zeppelin.apache.org/
23+
labels:
24+
- spark
25+
- flink
26+
- database
27+
- nosql
28+
- scala
29+
- java
30+
- big-data
31+
- zeppelin
32+
- javascript
33+
enabled_merge_buttons:
34+
merge: false
35+
squash: true
36+
rebase: false
37+
protected_branches:
38+
master:
39+
required_pull_request_reviews:
40+
dismiss_stale_reviews: true
41+
required_approving_review_count: 1
42+
autolink_jira:
43+
- ZEPPELIN
44+
45+
notifications:
46+
commits: commits@zeppelin.apache.org
47+
issues: reviews@zeppelin.apache.org
48+
pullrequests: reviews@zeppelin.apache.org
49+
jira_options: link label

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.js text eol=lf
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one
3+
# or more contributor license agreements. See the NOTICE file
4+
# distributed with this work for additional information
5+
# regarding copyright ownership. The ASF licenses this file
6+
# to you under the Apache License, Version 2.0 (the
7+
# "License"); you may not use this file except in compliance
8+
# with the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
#
19+
20+
name: Tune Runner VM performance
21+
description: tunes the GitHub Runner VM operation system
22+
runs:
23+
using: composite
24+
steps:
25+
- run: |
26+
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
27+
# Ensure that reverse lookups for current hostname are handled properly
28+
# Add the current IP address, long hostname and short hostname record to /etc/hosts file
29+
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
30+
fi
31+
shell: bash
Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,32 @@
1-
name: test-conda-env
1+
# Apache Zeppelin 에러 조치 테스트용
2+
# name: test-conda-env
23

3-
on:
4-
workflow_dispatch:
4+
# on:
5+
# workflow_dispatch:
56

6-
jobs:
7-
setup-conda:
8-
runs-on: ubuntu-24.04
9-
steps:
10-
- name: Checkout repository
11-
uses: actions/checkout@v4
7+
# jobs:
8+
# setup-conda:
9+
# runs-on: ubuntu-24.04
10+
# steps:
11+
# - name: Checkout repository
12+
# uses: actions/checkout@v4
1213

13-
# channel-priority: true → flexible (기본값)
14-
# channel-priority: strict → 엄격히 우선순위 적용 (권장)
15-
# channel-priority: false → 전혀 우선순위 적용 안 함
16-
- name: Setup conda environment with python 3.9 and R
17-
uses: conda-incubator/setup-miniconda@v3
18-
with:
19-
activate-environment: python_3_with_R_and_tensorflow
20-
environment-file: testing/env_python_3_with_R_and_tensorflow.yml
21-
python-version: 3.9
22-
channels: conda-forge,defaults
23-
channel-priority: strict
24-
auto-activate-base: false
25-
use-mamba: true
14+
# # channel-priority: true → flexible (기본값)
15+
# # channel-priority: strict → 엄격히 우선순위 적용 (권장)
16+
# # channel-priority: false → 전혀 우선순위 적용 안 함
17+
# - name: Setup conda environment with python 3.9 and R
18+
# uses: conda-incubator/setup-miniconda@v3
19+
# with:
20+
# activate-environment: python_3_with_R_and_tensorflow
21+
# environment-file: testing/env_python_3_with_R_and_tensorflow.yml
22+
# python-version: 3.9
23+
# channels: conda-forge,defaults
24+
# channel-priority: strict
25+
# auto-activate-base: false
26+
# use-mamba: true
2627

27-
- name: Verify environment is activated
28-
run: |
29-
which python
30-
python --version
31-
conda info --envs
28+
# - name: Verify environment is activated
29+
# run: |
30+
# which python
31+
# python --version
32+
# conda info --envs
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Apache Zeppelin 에러 조치 테스트용
2+
name: test-frontend
3+
4+
on:
5+
workflow_dispatch:
6+
7+
env:
8+
MAVEN_OPTS: >-
9+
-Xms1024M -Xmx2048M -XX:MaxMetaspaceSize=1024m -XX:-UseGCOverheadLimit
10+
-Dhttp.keepAlive=false
11+
-Dmaven.wagon.http.pool=false
12+
-Dmaven.wagon.http.retryHandler.count=3
13+
MAVEN_ARGS: >-
14+
-B --no-transfer-progress
15+
ZEPPELIN_HELIUM_REGISTRY: helium
16+
SPARK_PRINT_LAUNCH_COMMAND: "true"
17+
SPARK_LOCAL_IP: 127.0.0.1
18+
ZEPPELIN_LOCAL_IP: 127.0.0.1
19+
INTERPRETERS: '!hbase,!jdbc,!file,!flink,!cassandra,!elasticsearch,!bigquery,!alluxio,!livy,!groovy,!java,!neo4j,!sparql,!mongodb'
20+
21+
permissions:
22+
contents: read # to fetch code (actions/checkout)
23+
24+
jobs:
25+
test-selenium-with-spark-module-for-spark-3-4:
26+
runs-on: ubuntu-24.04
27+
defaults:
28+
run:
29+
shell: bash -l {0}
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
34+
- name: Tune Runner VM
35+
uses: ./.github/actions/tune-runner-vm
36+
37+
- name: Set up JDK 11
38+
uses: actions/setup-java@v4
39+
with:
40+
distribution: 'temurin'
41+
java-version: 11
42+
43+
- name: Cache local Maven repository
44+
uses: actions/cache@v4
45+
with:
46+
path: |
47+
~/.m2/repository
48+
!~/.m2/repository/org/apache/zeppelin/
49+
~/.spark-dist
50+
~/.cache
51+
key: ${{ runner.os }}-zeppelin-${{ hashFiles('**/pom.xml') }}
52+
restore-keys: |
53+
${{ runner.os }}-zeppelin-
54+
55+
- name: Setup conda environment with python 3.9 and R
56+
uses: conda-incubator/setup-miniconda@v3
57+
with:
58+
activate-environment: python_3_with_R
59+
environment-file: testing/env_python_3_with_R.yml
60+
python-version: 3.9
61+
channels: conda-forge,defaults
62+
channel-priority: strict
63+
auto-activate-base: false
64+
use-mamba: true
65+
66+
- name: Make IRkernel available to Jupyter
67+
run: |
68+
R -e "IRkernel::installspec()"
69+
70+
- name: Install Environment
71+
run: |
72+
./mvnw clean install -DskipTests -am -pl zeppelin-integration -Pweb-classic -Pintegration -Pspark-scala-2.12 -Pspark-3.4 -Pweb-dist ${MAVEN_ARGS}
73+
74+
- name: run tests
75+
run: |
76+
xvfb-run --auto-servernum --server-args="-screen 0 1600x1024x16" ./mvnw verify -DfailIfNoTests=false -pl zeppelin-integration -Pweb-classic -Pintegration -Pspark-scala-2.12 -Pspark-3.4 -Pweb-dist -Pusing-source-tree ${MAVEN_ARGS}
77+
78+
- name: Print zeppelin logs
79+
if: always()
80+
run: if [ -d "logs" ]; then cat logs/*; fi

0 commit comments

Comments
 (0)