Skip to content

Commit

Permalink
[Bug][scaleph-workspace-seatunnel] fix scaleph flink jar and seatunne…
Browse files Browse the repository at this point in the history
…l job error (#709)

* ci: fix paimon docker error and add reusable workflow

* fix: fix doris cluster status error

* fix: file-fetcher error

* fix: flink sql image error

* fix: flink job detail state error

* fix: seatunnel jdbc sink error

* fix: seatunnel jdbc sink error
  • Loading branch information
kalencaya authored May 1, 2024
1 parent b942b53 commit 92c93a6
Show file tree
Hide file tree
Showing 81 changed files with 248 additions and 191 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ on:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
pull_request:
paths-ignore: [ 'docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
schedule:
- cron: '0 20 * * *' # automatic test while every day on 04:00 am at UTC+10
workflow_dispatch:
workflow_call:

env:
HUB: ghcr.io/flowerfine/scaleph
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ on:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
push:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
schedule:
- cron: '0 20 * * *' # automatic test while every day on 04:00 am at UTC+10
workflow_dispatch:
workflow_call:

jobs:
build:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ on:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
push:
paths-ignore: ['docs/**', '**/*.md', '**/*.drawio', '**/*.svg' ]
schedule:
- cron: '0 20 * * *' # automatic test while every day on 04:00 am at UTC+10
workflow_dispatch:
workflow_call:

jobs:
build:
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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.

name: CI

on:
schedule:
- cron: '0 20 * * *' # automatic test while every day on 04:00 am at UTC+10
workflow_dispatch:

jobs:
## 调用公共和专用存储库中的可重用工作流。
## flowerfine/scaleph/.github/workflows/ci-maven.yml@dev
## 调用同一仓库的工作流
## ./.github/workflows/ci-npm.yml

build_maven:
uses: ./.github/workflows/ci-maven.yml

build_npm:
uses: ./.github/workflows/ci-npm.yml

build_docker:
uses: ./.github/workflows/ci-docker-build.yml
2 changes: 1 addition & 1 deletion .github/workflows/release-manual-docker-paimon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
with:
fetch-depth: 1
- name: Log in to the Container registry
uses: docker/login-action@3
uses: docker/login-action@v3
with:
registry: ${{ env.HUB }}
username: ${{ github.actor }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
package cn.sliew.scaleph.api.controller.ws;

import cn.sliew.scaleph.api.annotation.Logging;
import cn.sliew.scaleph.application.doris.doris.operator.DorisCluster;
import cn.sliew.scaleph.application.doris.doris.service.DorisClusterEndpointService;
import cn.sliew.scaleph.application.doris.doris.service.WsDorisOperatorInstanceService;
import cn.sliew.scaleph.application.doris.doris.service.dto.DorisClusterFeEndpoint;
import cn.sliew.scaleph.application.doris.doris.service.dto.WsDorisOperatorInstanceDTO;
import cn.sliew.scaleph.application.doris.doris.service.param.WsDorisOperatorInstanceAddParam;
import cn.sliew.scaleph.application.doris.doris.service.param.WsDorisOperatorInstanceListParam;
import cn.sliew.scaleph.application.doris.doris.service.param.WsDorisOperatorInstanceUpdateParam;
import cn.sliew.scaleph.application.doris.operator.DorisCluster;
import cn.sliew.scaleph.application.doris.service.DorisClusterEndpointService;
import cn.sliew.scaleph.application.doris.service.WsDorisOperatorInstanceService;
import cn.sliew.scaleph.application.doris.service.dto.DorisClusterFeEndpoint;
import cn.sliew.scaleph.application.doris.service.dto.WsDorisOperatorInstanceDTO;
import cn.sliew.scaleph.application.doris.service.param.WsDorisOperatorInstanceAddParam;
import cn.sliew.scaleph.application.doris.service.param.WsDorisOperatorInstanceListParam;
import cn.sliew.scaleph.application.doris.service.param.WsDorisOperatorInstanceUpdateParam;
import cn.sliew.scaleph.system.model.ResponseVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.fabric8.kubernetes.api.model.GenericKubernetesResource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
package cn.sliew.scaleph.api.controller.ws;

import cn.sliew.scaleph.api.annotation.Logging;
import cn.sliew.scaleph.application.doris.doris.service.WsDorisOperatorTemplateService;
import cn.sliew.scaleph.application.doris.doris.service.dto.WsDorisOperatorTemplateDTO;
import cn.sliew.scaleph.application.doris.doris.service.param.WsDorisOperatorTemplateAddParam;
import cn.sliew.scaleph.application.doris.doris.service.param.WsDorisOperatorTemplateListParam;
import cn.sliew.scaleph.application.doris.doris.service.param.WsDorisOperatorTemplateUpdateParam;
import cn.sliew.scaleph.application.doris.doris.service.resource.template.DorisTemplate;
import cn.sliew.scaleph.application.doris.service.WsDorisOperatorTemplateService;
import cn.sliew.scaleph.application.doris.service.dto.WsDorisOperatorTemplateDTO;
import cn.sliew.scaleph.application.doris.service.param.WsDorisOperatorTemplateAddParam;
import cn.sliew.scaleph.application.doris.service.param.WsDorisOperatorTemplateListParam;
import cn.sliew.scaleph.application.doris.service.param.WsDorisOperatorTemplateUpdateParam;
import cn.sliew.scaleph.application.doris.service.resource.template.DorisTemplate;
import cn.sliew.scaleph.system.model.ResponseVO;
import cn.sliew.scaleph.system.snowflake.exception.UidGenerateException;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.action;
package cn.sliew.scaleph.application.doris.action;

import cn.sliew.milky.common.filter.ActionListener;
import cn.sliew.milky.common.util.JacksonUtil;
import cn.sliew.scaleph.application.doris.doris.service.WsDorisOperatorInstanceService;
import cn.sliew.scaleph.application.doris.doris.operator.status.DorisClusterStatus;
import cn.sliew.scaleph.application.doris.service.WsDorisOperatorInstanceService;
import cn.sliew.scaleph.application.doris.operator.status.DorisClusterStatus;
import cn.sliew.scaleph.workflow.engine.action.ActionContext;
import cn.sliew.scaleph.workflow.engine.action.ActionResult;
import cn.sliew.scaleph.workflow.engine.workflow.AbstractWorkFlow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator;
package cn.sliew.scaleph.application.doris.operator;

import cn.sliew.scaleph.application.doris.doris.operator.spec.DorisClusterSpec;
import cn.sliew.scaleph.application.doris.operator.spec.DorisClusterSpec;
import cn.sliew.scaleph.application.doris.operator.status.DorisClusterStatus;
import cn.sliew.scaleph.config.kubernetes.resource.ResourceLabels;
import cn.sliew.scaleph.application.doris.doris.operator.status.DorisClusterStatus;
import io.fabric8.kubernetes.api.model.Namespaced;
import io.fabric8.kubernetes.client.CustomResource;
import io.fabric8.kubernetes.model.annotation.Group;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

public enum AutoScalerVersion {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.fabric8.kubernetes.api.model.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import cn.sliew.scaleph.common.dict.flink.ServiceExposedType;
import lombok.Data;

import javax.annotation.Nullable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

/**
* HPAScalingPolicyType is the type of the policy which could be used while making scaling decisions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import io.fabric8.kubernetes.api.model.LabelSelector;
import lombok.Data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

/**
* MetricSourceType indicates the type of metric.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import lombok.Data;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

package cn.sliew.scaleph.application.doris.doris.operator.spec;
package cn.sliew.scaleph.application.doris.operator.spec;

import io.fabric8.kubernetes.api.model.Quantity;
import lombok.Data;
Expand Down
Loading

0 comments on commit 92c93a6

Please sign in to comment.