diff --git a/deploy/kubernetes/build-operator.sh b/deploy/kubernetes/build-operator.sh new file mode 100755 index 0000000000..ebccd1cb9d --- /dev/null +++ b/deploy/kubernetes/build-operator.sh @@ -0,0 +1,20 @@ +#!/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. +# + +echo "Build kubernetes operator..." diff --git a/deploy/kubernetes/docker/.gitkeep b/deploy/kubernetes/docker/.gitkeep new file mode 100644 index 0000000000..ecb1860df8 --- /dev/null +++ b/deploy/kubernetes/docker/.gitkeep @@ -0,0 +1,16 @@ +# +# 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. +# \ No newline at end of file diff --git a/deploy/kubernetes/integration-test/.gitkeep b/deploy/kubernetes/integration-test/.gitkeep new file mode 100644 index 0000000000..ecb1860df8 --- /dev/null +++ b/deploy/kubernetes/integration-test/.gitkeep @@ -0,0 +1,16 @@ +# +# 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. +# \ No newline at end of file diff --git a/deploy/kubernetes/operator/.gitkeep b/deploy/kubernetes/operator/.gitkeep new file mode 100644 index 0000000000..ecb1860df8 --- /dev/null +++ b/deploy/kubernetes/operator/.gitkeep @@ -0,0 +1,16 @@ +# +# 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. +# \ No newline at end of file diff --git a/deploy/kubernetes/pom.xml b/deploy/kubernetes/pom.xml new file mode 100644 index 0000000000..80744cccaa --- /dev/null +++ b/deploy/kubernetes/pom.xml @@ -0,0 +1,62 @@ + + + + + 4.0.0 + + org.apache.uniffle + uniffle-parent + 0.6.0-snapshot + ../../pom.xml + + + rss-kubernetes + jar + Apache Uniffle Kubernetes + + + + + exec-maven-plugin + org.codehaus.mojo + + + Build Kubernetes operator + compile + + exec + + + ${basedir}/build-operator.sh + + + + Test Kubernetes Operator + test + + exec + + + ${basedir}/test-operator.sh + + + + + + + diff --git a/deploy/kubernetes/test-operator.sh b/deploy/kubernetes/test-operator.sh new file mode 100755 index 0000000000..83a020cb79 --- /dev/null +++ b/deploy/kubernetes/test-operator.sh @@ -0,0 +1,20 @@ +#!/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. +# + +echo "Test Kubernetes Operator.." diff --git a/pom.xml b/pom.xml index 943990c2a3..e0ecfdffa4 100644 --- a/pom.xml +++ b/pom.xml @@ -1374,6 +1374,11 @@ + + kubernetes + + deploy/kubernetes + + -